impact sparks
Problem it solves
A sword clashes against armor and you want bright sparks bursting out at the point of impact.
What this block does
Generates custom multi-particle impact spark spreads with configurable lifetime and diameter.
The block
Block ID: retro_impact_sparks
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| x | number | 80 | X coordinate for spark burst. |
| y | number | 60 | Y coordinate for spark burst. |
| count | number | 6 | Number of particle wave iterations. |
| t | number | 500 | Duration of the spark effect in milliseconds. |
| particlesPerSecond | number | 8 | Optional particle emission rate. |
| d | number | 50 | Optional effect diameter in pixels. |
Example
Retro.impactSparks(80, 60, 4, 400, 10, 40)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.