example/plateform: add coin assets
This commit is contained in:
parent
f71c3b3548
commit
b41680fc8d
3 changed files with 18 additions and 1 deletions
16
examples/gameplay/plateform/assets/coin5.lua
Normal file
16
examples/gameplay/plateform/assets/coin5.lua
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
return {
|
||||||
|
metadata = {
|
||||||
|
height = 16,
|
||||||
|
width = 16,
|
||||||
|
defaultAnim = "anim"
|
||||||
|
},
|
||||||
|
animations = {
|
||||||
|
["anim"] = {
|
||||||
|
startAt = 1,
|
||||||
|
endAt = 4,
|
||||||
|
loop = 1,
|
||||||
|
speed = 6,
|
||||||
|
pauseAtEnd = false,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
examples/gameplay/plateform/assets/coin5.png
Normal file
BIN
examples/gameplay/plateform/assets/coin5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
|
@ -1,5 +1,6 @@
|
||||||
return {
|
return {
|
||||||
["sprites"] = {
|
["sprites"] = {
|
||||||
{"player", "examples/gameplay/plateform/assets/monkey_lad"}
|
{"player", "examples/gameplay/plateform/assets/monkey_lad"},
|
||||||
|
{"coin", "examples/gameplay/plateform/assets/coin5"}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue