fx_generate
Add Spine FX presets like explosion, shockwave, coin burst, ripple, glow and sparkle from procedural primitives; merge them into an animation or fire an event for engine particles.
Instructions
Add an FX preset built from Spine primitives with procedural textures (tinted per slot, so the atlas stays tiny).
presets: explosion (flash + shockwave + sparks + smoke), shockwave, coin_burst (spinning flipbook coins on true parabolas), coin_shower, ripple (seamless water rings), glow_pulse, sparkle, shine_sweep (needs slot=; light band clipped to that part's outline). into: merge into an existing animation (e.g. "win") instead of a new one. Each preset fires an event fx_ so the engine can add heavy particles (pixi emitters) at the same moment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| into | No | ||
| size | No | ||
| slot | No | ||
| color | No | ||
| count | No | ||
| start | No | ||
| behind | No | ||
| parent | No | root | |
| preset | Yes | ||
| project | Yes | ||
| duration | No | ||
| front_of | No | ||
| intensity | No |