examples/plateformer: add assets for the player

This commit is contained in:
Kazhnuz 2019-04-28 17:08:08 +02:00
parent f321703260
commit 977f427893
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,51 @@
return {
metadata = {
height = 24,
width = 32,
defaultAnim = "idle"
},
animations = {
["idle"] = {
startAt = 1,
endAt = 1,
loop = 1,
speed = 0,
pauseAtEnd = false,
},
["walk"] = {
startAt = 2,
endAt = 6,
loop = 1,
speed = -1,
pauseAtEnd = false,
},
["jump"] = {
startAt = 2,
endAt = 2,
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,
},
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB