Private System Functions

From Danmakufu Wiki
Jump to: navigation, search

SetPauseScriptPath

Arguments:
 1) path to the pause script (string)

Defines a script to be executed when the game is paused.

SetEndSceneScriptPath

Arguments:
 1) path to the end scene script (string)

Defines the script that should be executed when the full game finishes.

SetReplaySaveSceneScriptPath

Arguments:
 1) path to the end scene script (string)

Defines the script that should be executed when the player chooses to save a replay of the game.

GetTransitionRenderTargetName

Specifically to be used by menu scripts such as the pause script. This can be used to create a texture of the previous frame just before the game is paused. This allows for effects to be applied such as fading to a blur.


See also

Basic functions to be used in a menu script