- [NEW] Es pot pasar quan es vullga del joc al editor i viceversa - [NEW] Els shaders s'activen en el joc i se desactiven en l'editor
17 lines
386 B
Lua
17 lines
386 B
Lua
|
|
animations = {
|
|
["hero_stand"] = {
|
|
cycle = {1},
|
|
frames = {
|
|
{ frame={x=0,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 }
|
|
}
|
|
}
|
|
} |