sonic-bluestreak/sonic-bluestreak.love/assets/sprites/characters/sonic.lua

117 lines
2.4 KiB
Lua
Raw Permalink Normal View History

2019-12-28 12:15:43 +01:00
return {
metadata = {
height = 64,
width = 64,
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,
},
["hit1start"] = {
startAt = 22,
endAt = 24,
loop = 24,
speed = 25,
pauseAtEnd = true,
},
["hit1end"] = {
startAt = 24,
endAt = 26,
loop = 26,
speed = 25,
pauseAtEnd = true,
},
["hit2start"] = {
startAt = 28,
endAt = 30,
loop = 30,
speed = 25,
pauseAtEnd = true,
},
["hit2end"] = {
startAt = 30,
endAt = 32,
loop = 32,
speed = 25,
pauseAtEnd = true,
},
["hit3start"] = {
startAt = 33,
endAt = 35,
loop = 35,
speed = 25,
pauseAtEnd = true,
},
["hit3end"] = {
startAt = 36,
endAt = 36,
loop = 36,
speed = 25,
pauseAtEnd = true,
},
["spindash"] = {
startAt = 37,
endAt = 40,
loop = 37,
speed = 25,
pauseAtEnd = false,
},
["spindash_full"] = {
startAt = 41,
endAt = 44,
loop = 41,
speed = 25,
pauseAtEnd = false,
},
["spin"] = {
startAt = 45,
endAt = 48,
loop = 45,
speed = 25,
pauseAtEnd = false,
},
["spinjump"] = {
startAt = 49,
endAt = 54,
loop = 51,
speed = 25,
pauseAtEnd = false,
},
["spinjump_nucurl"] = {
startAt = 51,
endAt = 54,
loop = 51,
speed = 25,
pauseAtEnd = false,
},
}
}