Files
Super-Mario-Bros.-Remastere…/Assets/Sprites/Items/SpinningCoin.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

105 lines
1.2 KiB
JSON

{
"animations": {
"default": {
"frames": [
[
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": 20.0,
"loop": true
}
},
"properties": {
"can_spawn_particles": true
},
"variations": {
"default": {
"source": "SpinningCoin.png",
"rect": [
0.0,
0.0,
64.0,
16.0
]
},
"Underground": {
"source": "SpinningCoin.png",
"rect": [
0.0,
16.0,
64.0,
16.0
]
},
"GhostHouse": {
"link": "Underground"
},
"Castle": {
"source": "SpinningCoin.png",
"rect": [
0.0,
32.0,
64.0,
16.0
]
},
"Snow": {
"source": "SpinningCoin.png",
"rect": [
0.0,
48.0,
64.0,
16.0
]
},
"Space": {
"source": "SpinningCoin.png",
"rect": [
0.0,
64.0,
64.0,
16.0
]
},
"Volcano": {
"source": "SpinningCoin.png",
"rect": [
0.0,
80.0,
64.0,
16.0
]
},
"Bonus": {
"source": "SpinningCoin.png",
"rect": [
0.0,
96.0,
64.0,
16.0
]
}
}
}