sonic-radiance/sonic-radiance.love/datas/gamedata/characters/sonic/sprites.lua

61 lines
1.2 KiB
Lua
Raw Normal View History

return {
metadata = {
height = 64,
width = 64,
2019-07-26 19:39:32 +02:00
ox = 32,
oy = 32,
defaultAnim = "idle"
},
animations = {
["idle"] = {
startAt = 1,
endAt = 6,
loop = 1,
speed = 12,
pauseAtEnd = false,
},
["walk"] = {
startAt = 7,
endAt = 14,
loop = 7,
speed = -1,
pauseAtEnd = false,
},
["jump"] = {
startAt = 15,
endAt = 18,
loop = 18,
speed = 10,
pauseAtEnd = true,
},
["fall"] = {
startAt = 19,
endAt = 21,
loop = 21,
speed = 10,
pauseAtEnd = true,
},
["hit1"] = {
startAt = 22,
endAt = 26,
loop = 26,
speed = 15,
pauseAtEnd = true,
},
["hit2"] = {
startAt = 28,
endAt = 31,
loop = 31,
speed = 15,
pauseAtEnd = true,
},
["hit3"] = {
startAt = 32,
endAt = 36,
loop = 36,
speed = 15,
pauseAtEnd = true,
},
}
}