Clears all particles in the system.



参数 描述
ind The index of the particle system.

返回: N/A(无返回值)


With this function you can clear all the particles currently created by the system from the room. It does not reset or remove the particle types themselves, just their visual representation, and if you have any object streaming particles from an emitter, these particles disappear but will begin to appear again the next step after calling this code.


if lives = 0

The above code will check the value of the variable "lives" and if it is equal to 0, it clears all particles from the system and then changes room.

上一页: Particle Systems
下一页: part_particles_count
© Copyright YoYo Games Ltd. 2018 All Rights Reserved