GameMaker Touhou Engine   Home   Downloads   Documentation

_PLAYER_BULLET_PARENT


The parent object for player bullets.


Locals:


Name Type Significance
_DEAD Boolean Whether or not the bullet should be cleared on the current frame.
_DAMAGE_VALUE Integer How much damage the bullet will deal upon contact with an enemy.
_DEATH_EFF Reference to Sprite The sprite to create a particle out of when the bullet is destroyed.

Events:


Trigger # Actions
Create 1 Declare local variables.
Step 1 Destroy self and create a disappearing particle with the sprite designated by _DEATH_EFF, aligning it's direction with own and giving it an arbitrary movement speed if _DEAD.
End Step 1 Call _DESTROY_IF_OUTSIDE_BOUNDS().