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