GameMaker Touhou Engine   Home   Downloads   Documentation

_GRAZE_CONTROLLER


The object that initializes, controls and displays the player's graze.


Locals:


Name Type Significance
_GRAZE_TIMER Boolean Whether or not the player can currently accrue more graze.

Events:


Trigger # Actions
Create 1 Declare local variables, as well as global._GRAZE.
Alarm 0 1 Enable the player to gain graze again.
Step 1 If the player can gain graze, increase their graze according to the number of bullets in their vicinity. If the graze has increased, set _GRAZE_TIMER to false, otherwise set Alarm 0 to a small arbitrary value.
Draw 1 Draw the player's graze.