36 lines
856 B
Lua
36 lines
856 B
Lua
|
|
animations = {
|
|
["hero_stand"] = {
|
|
cycle = {1},
|
|
frames = {
|
|
{ frame={x=0,y=0,w=16,h=17}, wait=2 },
|
|
}
|
|
},
|
|
["hero_jump"] = {
|
|
cycle = {1},
|
|
frames = {
|
|
{ frame={x=32,y=0,w=16,h=17}, wait=2 },
|
|
}
|
|
},
|
|
["hero_walk"] = {
|
|
cycle = {1,2,1,3},
|
|
frames = {
|
|
{ frame={x=0,y=0,w=16,h=17}, wait=2 },
|
|
{ frame={x=16,y=0,w=16,h=17}, wait=2 },
|
|
{ frame={x=32,y=0,w=16,h=17}, wait=2 }
|
|
}
|
|
},
|
|
["hero_stairs_idle"] = {
|
|
cycle = {1},
|
|
frames = {
|
|
{ frame={x=48,y=0,w=16,h=17}, wait=2 }
|
|
}
|
|
},
|
|
["hero_stairs"] = {
|
|
cycle = {1,2},
|
|
frames = {
|
|
{ frame={x=48,y=0,w=16,h=17}, wait=2 },
|
|
{ frame={x=48,y=0,w=16,h=17}, wait=2, reversed=true }
|
|
}
|
|
},
|
|
} |