- [NEW] 'animations' module
- [NEW] 'game' module - [NEW] 'sprites' module - [NEW] more tiles - [NEW] Can choose which tile layer to edit from the editor menu
This commit is contained in:
11
data/animations.lua
Normal file
11
data/animations.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
animations = {
|
||||
["hero_walk"] = {
|
||||
cycle = {1,2,1,3},
|
||||
frames = {
|
||||
{ frame={x=0,y=0,w=16,h=17}, wait=4 },
|
||||
{ frame={x=16,y=0,w=16,h=17}, wait=4 },
|
||||
{ frame={x=32,y=0,w=16,h=17}, wait=4 }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user