VFX | Particle System
Particles are used for visual effects such as smoke, flames and block build/break effects.
Parameters
position
[x,y,z] position of the particle effect.
rotation
[x,y,z] rotation of the particle effect.
positionRange
[x,y,z] spread of the particles
parent
Parent entity such as planet.player
name
Name of particle instance. This can be used to later retrieve the particle instance.
timeRange
numParticles
Number of particles being displayed in the effect.
type
Type of particle effects: 'star', 'round', 'field', 'circle', 'donut', 'cube', 'basic', 'pixel'
lifeTime
lifeTimeRange
startTime
Time at which particle effect starts
endTime
Time at which particle effect ends
startSize
Starting size of the particle
startSizeRange
endSize
Ending size of the particle
endSizeRange
sizeRange
spinSpeedRange
radius
velocity
[x,y,z] speed of particles
velocityRange
[x,y,z] speed of particles. Will alternate +/- each velocity range
acceleration
accelerationRange
gravity
tween
Tween effect to use
blending
'normal', 'additive', 'multiply', 'subtractive'
alphaTest
colors
array of colors to loop through
Adding Particles
Add
Add flames parented to player

Remove
Remove flames from player
Examples
Rain
Rain Ripples
Flame
Gas
Last updated