GameMaker Touhou Engine   Home   Downloads   Documentation

_DISAPPEARING_PARTICLE


A generic object which disappears when it's animation ends. Meant to be used for various particle effects and animations.


Locals:


Name Value/Default Significance
_TARGET_SURF <surface>/noone The surface to draw the particle onto.
_SPRITE_DYNAMIC <boolean>/false true: The sprite that the particle is using is a dynamically created resource. false: The sprite that the particle is using is a pre-loaded resource.

Events:


Trigger # Actions
Create 1 Set local variables to default values.
Animation End 1 Destroy self. If own sprite is dynamic, delete it.
Draw 1 Draw self. If _TARGET_SURF is a valid surface, it will be used as a drawing target.