diff --git a/examples/gameplay/plateform/assets/coin5.lua b/examples/gameplay/plateform/assets/coin5.lua new file mode 100644 index 0000000..1d3fac7 --- /dev/null +++ b/examples/gameplay/plateform/assets/coin5.lua @@ -0,0 +1,16 @@ +return { + metadata = { + height = 16, + width = 16, + defaultAnim = "anim" + }, + animations = { + ["anim"] = { + startAt = 1, + endAt = 4, + loop = 1, + speed = 6, + pauseAtEnd = false, + } + } +} diff --git a/examples/gameplay/plateform/assets/coin5.png b/examples/gameplay/plateform/assets/coin5.png new file mode 100644 index 0000000..51e2641 Binary files /dev/null and b/examples/gameplay/plateform/assets/coin5.png differ diff --git a/examples/gameplay/plateform/assets/init.lua b/examples/gameplay/plateform/assets/init.lua index b47c8be..a697694 100644 --- a/examples/gameplay/plateform/assets/init.lua +++ b/examples/gameplay/plateform/assets/init.lua @@ -1,5 +1,6 @@ return { ["sprites"] = { - {"player", "examples/gameplay/plateform/assets/monkey_lad"} + {"player", "examples/gameplay/plateform/assets/monkey_lad"}, + {"coin", "examples/gameplay/plateform/assets/coin5"} } }