Class in reactor_scenes.js

Scene_Map

54 functions in 6 groups · hide internal

The Reactor One title screen.

Familiar territory. Scene_Map keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.

Quick Reference

Setup & Creation 8

initialize() Sets up a new instance.
create() Create.
createDisplayObjects() Creates the display objects.
createSpriteset() Creates the spriteset.
createAllWindows() Creates the all windows.
createMapNameWindow() Creates the map name window.
createButtons() Creates the buttons.
createMenuButton() Creates the menu button.

Checks (True / False) 14

isReady() Whether it is ready.
isBorderCrossing() Whether this map was entered over a border without a break (Reactor3D.Neighbors).
shouldAutosave() Whether it should autosave.
isPlayerActive() Whether it is player active.
isFastForward() Whether it is fast forward.
isBusy() Whether it is busy.
needsFadeIn() Whether it needs fade in.
needsSlowFadeOut() Whether it needs slow fade out.
isMenuEnabled() Whether it is menu enabled.
isMapTouchOk() Whether it is map touch ok.
isAnyButtonPressed() Whether it is any button pressed.
isSceneChangeOk() Whether it is scene change ok.
isMenuCalled() Whether it is menu called.
isDebugCalled() Whether it is debug called.

Actions 9

start() Start.
stop() Stop.
hideMenuButton() Hides the menu button.
callMenu() Call menu.
fadeInForTransfer() Fade in for transfer.
fadeOutForTransfer() Fade out for transfer.
stopAudioOnBattleStart() Stops the audio on battle start.
startEncounterEffect() Starts the encounter effect.
startFlashForEncounter() Starts the flash for encounter.

Events, Commands & Input 5

onMapLoaded() Called when map loaded happens.
onTransfer() Called when transfer happens.
onTransferEnd() Called when transfer end happens.
processMapTouch() Handles the map touch.
onMapTouch() Called when map touch happens.

Updating & Drawing 13

update() Update.
updateMainMultiply() Updates the main multiply each frame.
updateMain() Updates the main each frame.
updateWaitCount() Updates the wait count each frame.
updateDestination() Updates the destination each frame.
updateMenuButton() Updates the menu button each frame.
updateMapNameWindow() Updates the map name window each frame.
updateScene() Updates the scene each frame.
updateTransferPlayer() Updates the transfer player each frame.
updateEncounter() Updates the encounter each frame.
updateCallMenu() Updates the call menu each frame.
updateCallDebug() Updates the call debug each frame.
updateEncounterEffect() Updates the encounter effect each frame.

Other 5

terminate() Terminate.
mapNameWindowRect() Map name window rect.
launchBattle() Launch battle.
snapForBattleBackground() Snap for battle background.
encounterEffectSpeed() Encounter effect speed.

Setup & Creation

initialize

method source
Scene_Map.prototype.initialize()

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

create

method source
Scene_Map.prototype.create()

Create. (Same as the RPG Maker MZ method of this name.)

createDisplayObjects

method source
Scene_Map.prototype.createDisplayObjects()

Creates the display objects. (Same as the RPG Maker MZ method of this name.)

createSpriteset

method source
Scene_Map.prototype.createSpriteset()

Creates the spriteset. (Same as the RPG Maker MZ method of this name.)

createAllWindows

method source
Scene_Map.prototype.createAllWindows()

Creates the all windows. (Same as the RPG Maker MZ method of this name.)

createMapNameWindow

method source
Scene_Map.prototype.createMapNameWindow()

Creates the map name window. (Same as the RPG Maker MZ method of this name.)

createButtons

method source
Scene_Map.prototype.createButtons()

Creates the buttons. (Same as the RPG Maker MZ method of this name.)

createMenuButton

method source
Scene_Map.prototype.createMenuButton()

Creates the menu button. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isReady

method source
Scene_Map.prototype.isReady()

Whether it is ready. (Same as the RPG Maker MZ method of this name.)

isBorderCrossing

method source
Scene_Map.prototype.isBorderCrossing()

Whether this map was entered over a border without a break (Reactor3D.Neighbors).

shouldAutosave

method source
Scene_Map.prototype.shouldAutosave()

Whether it should autosave. (Same as the RPG Maker MZ method of this name.)

isPlayerActive

method source
Scene_Map.prototype.isPlayerActive()

Whether it is player active. (Same as the RPG Maker MZ method of this name.)

isFastForward

method source
Scene_Map.prototype.isFastForward()

Whether it is fast forward. (Same as the RPG Maker MZ method of this name.)

isBusy

method source
Scene_Map.prototype.isBusy()

Whether it is busy. (Same as the RPG Maker MZ method of this name.)

needsFadeIn

method source
Scene_Map.prototype.needsFadeIn()

Whether it needs fade in. (Same as the RPG Maker MZ method of this name.)

needsSlowFadeOut

method source
Scene_Map.prototype.needsSlowFadeOut()

Whether it needs slow fade out. (Same as the RPG Maker MZ method of this name.)

isMenuEnabled

method source
Scene_Map.prototype.isMenuEnabled()

Whether it is menu enabled. (Same as the RPG Maker MZ method of this name.)

isMapTouchOk

method source
Scene_Map.prototype.isMapTouchOk()

Whether it is map touch ok. (Same as the RPG Maker MZ method of this name.)

isAnyButtonPressed

method source
Scene_Map.prototype.isAnyButtonPressed()

Whether it is any button pressed. (Same as the RPG Maker MZ method of this name.)

isSceneChangeOk

method source
Scene_Map.prototype.isSceneChangeOk()

Whether it is scene change ok. (Same as the RPG Maker MZ method of this name.)

isMenuCalled

method source
Scene_Map.prototype.isMenuCalled()

Whether it is menu called. (Same as the RPG Maker MZ method of this name.)

isDebugCalled

method source
Scene_Map.prototype.isDebugCalled()

Whether it is debug called. (Same as the RPG Maker MZ method of this name.)

Actions

start

method source
Scene_Map.prototype.start()

Start. (Same as the RPG Maker MZ method of this name.)

stop

method source
Scene_Map.prototype.stop()

Stop. (Same as the RPG Maker MZ method of this name.)

hideMenuButton

method source
Scene_Map.prototype.hideMenuButton()

Hides the menu button. (Same as the RPG Maker MZ method of this name.)

callMenu

method source
Scene_Map.prototype.callMenu()

Call menu. (Same as the RPG Maker MZ method of this name.)

fadeInForTransfer

method source
Scene_Map.prototype.fadeInForTransfer()

Fade in for transfer. (Same as the RPG Maker MZ method of this name.)

fadeOutForTransfer

method source
Scene_Map.prototype.fadeOutForTransfer()

Fade out for transfer. (Same as the RPG Maker MZ method of this name.)

stopAudioOnBattleStart

method source
Scene_Map.prototype.stopAudioOnBattleStart()

Stops the audio on battle start. (Same as the RPG Maker MZ method of this name.)

startEncounterEffect

method source
Scene_Map.prototype.startEncounterEffect()

Starts the encounter effect. (Same as the RPG Maker MZ method of this name.)

startFlashForEncounter

method source
Scene_Map.prototype.startFlashForEncounter(duration)

Starts the flash for encounter. (Same as the RPG Maker MZ method of this name.)

Events, Commands & Input

onMapLoaded

method source
Scene_Map.prototype.onMapLoaded()

Called when map loaded happens. (Same as the RPG Maker MZ method of this name.)

onTransfer

method source
Scene_Map.prototype.onTransfer()

Called when transfer happens. (Same as the RPG Maker MZ method of this name.)

onTransferEnd

method source
Scene_Map.prototype.onTransferEnd()

Called when transfer end happens. (Same as the RPG Maker MZ method of this name.)

processMapTouch

method source
Scene_Map.prototype.processMapTouch()

Handles the map touch. (Same as the RPG Maker MZ method of this name.)

onMapTouch

method source
Scene_Map.prototype.onMapTouch(screenX = TouchInput.x, screenY = TouchInput.y)

Called when map touch happens. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

update

method source
Scene_Map.prototype.update()

Update. (Same as the RPG Maker MZ method of this name.)

updateMainMultiply

method source
Scene_Map.prototype.updateMainMultiply()

Updates the main multiply each frame. (Same as the RPG Maker MZ method of this name.)

updateMain

method source
Scene_Map.prototype.updateMain()

Updates the main each frame. (Same as the RPG Maker MZ method of this name.)

updateWaitCount

method source
Scene_Map.prototype.updateWaitCount()

Updates the wait count each frame. (Same as the RPG Maker MZ method of this name.)

updateDestination

method source
Scene_Map.prototype.updateDestination()

Updates the destination each frame. (Same as the RPG Maker MZ method of this name.)

updateMenuButton

method source
Scene_Map.prototype.updateMenuButton()

Updates the menu button each frame. (Same as the RPG Maker MZ method of this name.)

updateMapNameWindow

method source
Scene_Map.prototype.updateMapNameWindow()

Updates the map name window each frame. (Same as the RPG Maker MZ method of this name.)

updateScene

method source
Scene_Map.prototype.updateScene()

Updates the scene each frame. (Same as the RPG Maker MZ method of this name.)

updateTransferPlayer

method source
Scene_Map.prototype.updateTransferPlayer()

Updates the transfer player each frame. (Same as the RPG Maker MZ method of this name.)

updateEncounter

method source
Scene_Map.prototype.updateEncounter()

Updates the encounter each frame. (Same as the RPG Maker MZ method of this name.)

updateCallMenu

method source
Scene_Map.prototype.updateCallMenu()

Updates the call menu each frame. (Same as the RPG Maker MZ method of this name.)

updateCallDebug

method source
Scene_Map.prototype.updateCallDebug()

Updates the call debug each frame. (Same as the RPG Maker MZ method of this name.)

updateEncounterEffect

method source
Scene_Map.prototype.updateEncounterEffect()

Updates the encounter effect each frame. (Same as the RPG Maker MZ method of this name.)

Other

terminate

method source
Scene_Map.prototype.terminate()

Terminate. (Same as the RPG Maker MZ method of this name.)

mapNameWindowRect

method source
Scene_Map.prototype.mapNameWindowRect()

Map name window rect. (Same as the RPG Maker MZ method of this name.)

launchBattle

method source
Scene_Map.prototype.launchBattle()

Launch battle. (Same as the RPG Maker MZ method of this name.)

snapForBattleBackground

method source
Scene_Map.prototype.snapForBattleBackground()

Snap for battle background. (Same as the RPG Maker MZ method of this name.)

encounterEffectSpeed

method source
Scene_Map.prototype.encounterEffectSpeed()

Encounter effect speed. (Same as the RPG Maker MZ method of this name.)