@particles
Make rain, snow, cherry blossoms, sparkles or dust fall (images can fall too). Stop it with @particles-off
- Standard plugin
- Can be written without the name
preset
preset
layer
Parameters
presetRequiredrain / snow / sakura / sparkle / dust
Kind (rain, snow, sakura for cherry blossoms, sparkle, dust)
nameText
Name (the same name replaces it; used by @particles-off to stop it on its own). The kind's name if omitted
imageAsset (image)
Image to make fall (the kind's own shape if omitted)
countInteger
Number of particles (the kind's default if omitted)
speedNumber
Default: 1Speed factor
windNumber
Crosswind (px per second; positive values blow to the right; the kind's default if omitted)
sizeNumber
Default: 1Size factor
colorColor (#rrggbb)
Color (the kind's default if omitted)
opacityInteger
Default: 100Opacity (0 to 100)
layerback / front / fx
Default: fxWhere to place it (back between the background and the sprites, front in front of the sprites, fx over the whole screen)
timeTime (300ms, 1.5s)
Default: 500msFade-in time