GameMaker Touhou Engine   Home   Downloads   Documentation

_PAUSE_CONTROLLER


The object that controls the pause menu.


Locals:


Name Value/Default Significance
_SELECTED <integer>/0 The selected menu option at the time of access.

Events:


Trigger # Actions
Create 1 Set local variables to default values.
Press Escape Key 1 If a replay is currently being played back, return to the title screen. If the game is paused, unpause it. Else, deactivate everything except self and _CONTROLLER_BASE. Tell _CONTROLLER_BASE to draw the game surface as it was before pausing, pause the game.
Press Up Arrow 1 Move the selection upwards.
Press Down Arrow 1 Move the selection downwards.
Press Z-Key 1 Either resume the game, restart the game, or return to the main menu depending on the selected option.