Files
Super-Mario-Bros.-Remastere…/Assets/Sprites/Items/Coin.json
KirbyKidJ 6d23f9dcd4 Added Coin Sparkle Effects (#350)
* Just the Coin Sparkle stuff

FYI, if a property in the json is formatted like `exa.exb` then it reads `exa` as another object and `exb` as a property in `exa` assuming the root `property_node` contains this object.
Also primarily for Resource Packs to change how the particles work and should explain how I got there with my personal SMAS skin.

* Added Coin Sparkle Texture to Scene

Of course I broke it in some form.
2025-09-28 11:30:45 +01:00

102 lines
1.4 KiB
JSON

{
"animations": {
"default": {
"frames": [
[
0.0,
0.0,
16.0,
16.0
],
[
0.0,
0.0,
16.0,
16.0
],
[
0.0,
0.0,
16.0,
16.0
],
[
0.0,
0.0,
16.0,
16.0
],
[
0.0,
0.0,
16.0,
16.0
],
[
0.0,
0.0,
16.0,
16.0
],
[
0.0,
0.0,
16.0,
16.0
],
[
0.0,
0.0,
16.0,
16.0
],
[
0.0,
0.0,
16.0,
16.0
],
[
0.0,
0.0,
16.0,
16.0
],
[
16.0,
0.0,
16.0,
16.0
],
[
32.0,
0.0,
16.0,
16.0
],
[
48.0,
0.0,
16.0,
16.0
]
],
"speed": 10.0,
"loop": true
}
},
"properties": {
"can_spawn_particles": true
},
"variations": {
"default": {"source": "StaticCoin.png", "rect": [0, 0, 64, 16]},
"Underground": {"source": "StaticCoin.png", "rect": [0, 16, 64, 16]},
"GhostHouse": {"link": "Underground"},
"Castle": {"source": "StaticCoin.png", "rect": [0, 32, 64, 16]},
"Snow": {"source": "StaticCoin.png", "rect": [0, 48, 64, 16]},
"Space": {"source": "StaticCoin.png", "rect": [0, 64, 64, 16]},
"Volcano": {"source": "StaticCoin.png", "rect": [0, 80, 64, 16]},
"Bonus": {"source": "StaticCoin.png", "rect": [0, 96, 64, 16]}
}
}