Burst Particles Icon Burst Particles

This action permits you to burst particles at any time without relying on an emitter. You supply the unique ID value for the system to create the particles within (as returned when you created the system with the action Create Particle System) and the unique ID of the particle type to create (as returned when you created the particle type with the action Create Particle Type), as well as the x/y position to create them at and the number to create. The position can be an absolute position within the room, or you can flag it as being a relative position to the instance that is calling the action.

You can call this action every game frame to replicate the stream effect of an emitter, or you can call it once in an event (like the Destroy Event) to simply burst the particles.

 

Action Syntax:

Burst Particles Action

Arguments:

ArgumentDescription
SystemThe ID value of the particle system to use
TypeThe ID value of the particle type to burst
XThe x position to burst the particles at
YThey position to burst the particles at
CountThe number of particles to be burst

 

Example:

Burst Particles ExampleThe above action block code will check to see if the instance has changed position since the last game frame was updated and if it has it will burst some particles at the new position.