Name | Type | Description |
---|
window | Window | The window to add as a child |
Adjusts the width and height of the UI area of the game
Adjusts the width and height of the game screen
Gets the bottom of the touch UI button area in the scene
Returns:
Type | Description |
---|
number | Y Pixel for the cottom coordinate of the button area |
Gets the height of the touch UI button area
Returns:
Type | Description |
---|
number | Height in pixels of the button area |
Gets the top of the touch UI button area in the scene
Returns:
Type | Description |
---|
number | Y Pixel for the top coordinate of the button area |
Gets the Y pixel of the buttons
Returns:
Type | Description |
---|
number | Y Pixel for the top coordinate of the buttons |
calcWindowHeight(numLines, selectable)numberinherited
Calculates how many pixels tall a window is
Name | Type | Description |
---|
numLines | number | Amount of text lines in the window |
selectable | boolean | If the window is selectable (or inherits from Window_Selectable) or not |
Returns:
Type | Description |
---|
number | Amount of pixels tall the window is |
Centers a given sprite within the game window
Name | Type | Description |
---|
sprite | Sprite | The sprite to center |
Check if there is a gameover, and go to Scene_Gameover if so
Check for the player's starting location
Throws:
Error if the player has no starting location
Creates the scene
Destroys the stage
Try to autosave the game
Fades out the scene and audio
Default speed for a normal fade
Returns:
Type | Description |
---|
number | Amount of frames to fade |
Initializes the scene
Check if scene is active
Returns:
Type | Description |
---|
boolean | True if the scene is active |
Check if autosaving is enabled
Returns:
Type | Description |
---|
boolean | True if the game can autosave |
Check if touch UI buttons appear on bottom
Returns:
Type | Description |
---|
boolean | True if bottom button mode is enabled |
Check if the help window appears on bottom
Returns:
Type | Description |
---|
boolean | True if bottom help mode is enabled |
Check if scene is busy
Returns:
Type | Description |
---|
boolean | True if the scene is busy |
Check if scene is currently fading the screen
Returns:
Type | Description |
---|
boolean | True if the scene is fading |
isPlayerDataLoaded()boolean
Check if player data is loaded
Returns:
Type | Description |
---|
boolean | True if player data is done loading |
Check if scene is ready
Returns:
Type | Description |
---|
boolean | True if the scene is ready |
Check if right input mode is enabled
Returns:
Type | Description |
---|
boolean | True if right input mode is enabled |
Check if scene is started
Returns:
Type | Description |
---|
boolean | True if the scene is started |
Loads the game fonts
Loads player data
Loads some system images
Get the main command width
Returns:
Type | Description |
---|
number | Width of a main command |
Processing for when an autosave attempt failed
Processing for when an autosave attempt was successful
Processing for when the database is done loading
Pops the scene to return to the previous scene
Requests an autosave
Resize the game window to the resolution set in the database
Scales a given sprite to fit in the game window
Name | Type | Description |
---|
sprite | Sprite | The sprite to scale |
Get the screen scale parameter
- Since:
Returns:
Type | Description |
---|
number | The screen scale parameter |
Check what is encrypted (if any) and set encryption info
Default speed for a slow fade
Returns:
Type | Description |
---|
number | Amount of frames to fade |
Starts the scene
Start to fade the scene in
Name | Type | Description |
---|
duration | number | Frames to fade in the scene |
white | boolean | If the fade color is white or not |
Start to fade the scene out
Name | Type | Description |
---|
duration | number | Frames to fade out the scene |
white | boolean | If the fade color is white or not |
Processing when starting a normal game
Stops the scene
Terminates the scene
Updates the scene
Updates the scene's children
Updates the html title of the game window
Updates the scene's fade