BurstOptions
Options for renderer.burst.
Properties
Section titled “Properties”angle?
Section titled “angle?”
optionalangle?:number
Direction in radians (0 = right, -π/2 = up) and the cone around it. Default: a full circle.
count?
Section titled “count?”
optionalcount?:number
How many particles. Default 16.
frame?
Section titled “frame?”
optionalframe?:number
gravity?
Section titled “gravity?”
optionalgravity?:number
px/s², positive falls. Default 0.
optionallife?:number
Seconds; each particle lives 70–100% of it and fades out. Default 0.6.
optionalsize?:number
Sprite size in pixels. Default 8.
speed?
Section titled “speed?”
optionalspeed?:number
Top speed in px/s; each particle gets 50–100% of it. Default 200.
spread?
Section titled “spread?”
optionalspread?:number
texture
Section titled “texture”texture:
number
optionaltint?:number
0xRRGGBB; use white textures to get exactly this color.
x:
number
y:
number
optionalz?:number
Layer, like Position.z. Particles draw after the sprites of their layer.
