No Revisions Have Been Made To This Page
Can you suggest an edit for this page? Click Here
GML Code Example
|ind||The index of the particle system to destroy.|
With this function you can destroy a given particles system and
remove it from memory. This should always be called when the system
is no longer needed, like at the end of a room, or in the destroy
event of an instance, otherwise you could end up with particles
appearing in later rooms and no way to remove them as well as a
memory leak which will eventually crash your game.
NOTE: This function will also destroy and remove any emitters that may have been created and associated with the system being destroyed.