2019-04-28 17:08:08 +02:00
|
|
|
return {
|
|
|
|
metadata = {
|
|
|
|
height = 24,
|
|
|
|
width = 32,
|
2019-05-01 11:24:41 +02:00
|
|
|
ox = 16,
|
|
|
|
oy = 12,
|
2019-04-28 17:08:08 +02:00
|
|
|
defaultAnim = "idle"
|
|
|
|
},
|
|
|
|
animations = {
|
|
|
|
["idle"] = {
|
|
|
|
startAt = 1,
|
|
|
|
endAt = 1,
|
|
|
|
loop = 1,
|
|
|
|
speed = 0,
|
|
|
|
pauseAtEnd = false,
|
|
|
|
},
|
|
|
|
["walk"] = {
|
2019-05-05 15:22:21 +02:00
|
|
|
startAt = 3,
|
2019-04-28 17:08:08 +02:00
|
|
|
endAt = 6,
|
2019-05-05 15:22:21 +02:00
|
|
|
loop = 3,
|
2019-04-28 17:08:08 +02:00
|
|
|
speed = -1,
|
|
|
|
pauseAtEnd = false,
|
|
|
|
},
|
|
|
|
["jump"] = {
|
2019-05-05 15:22:21 +02:00
|
|
|
startAt = 7,
|
|
|
|
endAt = 7,
|
2019-04-28 17:08:08 +02:00
|
|
|
loop = 1,
|
|
|
|
speed = 0,
|
|
|
|
pauseAtEnd = false,
|
|
|
|
},
|
|
|
|
["brake"] = {
|
|
|
|
startAt = 7,
|
|
|
|
endAt = 7,
|
|
|
|
loop = 1,
|
|
|
|
speed = 0,
|
|
|
|
pauseAtEnd = false,
|
|
|
|
},
|
|
|
|
["climb"] = {
|
|
|
|
startAt = 8,
|
|
|
|
endAt = 9,
|
|
|
|
loop = 1,
|
|
|
|
speed = -1,
|
|
|
|
pauseAtEnd = false,
|
|
|
|
},
|
|
|
|
["punch"] = {
|
|
|
|
startAt = 10,
|
|
|
|
endAt = 10,
|
|
|
|
loop = 1,
|
|
|
|
speed = 0,
|
|
|
|
pauseAtEnd = false,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|