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 sourceScene_Map.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
create
method sourceScene_Map.prototype.create()
Create. (Same as the RPG Maker MZ method of this name.)
createDisplayObjects
method sourceScene_Map.prototype.createDisplayObjects()
Creates the display objects. (Same as the RPG Maker MZ method of this name.)
createSpriteset
method sourceScene_Map.prototype.createSpriteset()
Creates the spriteset. (Same as the RPG Maker MZ method of this name.)
createAllWindows
method sourceScene_Map.prototype.createAllWindows()
Creates the all windows. (Same as the RPG Maker MZ method of this name.)
createMapNameWindow
method sourceScene_Map.prototype.createMapNameWindow()
Creates the map name window. (Same as the RPG Maker MZ method of this name.)
createButtons
method sourceScene_Map.prototype.createButtons()
Creates the buttons. (Same as the RPG Maker MZ method of this name.)
createMenuButton
method sourceScene_Map.prototype.createMenuButton()
Creates the menu button. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isReady
method sourceScene_Map.prototype.isReady()
Whether it is ready. (Same as the RPG Maker MZ method of this name.)
isBorderCrossing
method sourceScene_Map.prototype.isBorderCrossing()
Whether this map was entered over a border without a break (Reactor3D.Neighbors).
shouldAutosave
method sourceScene_Map.prototype.shouldAutosave()
Whether it should autosave. (Same as the RPG Maker MZ method of this name.)
isPlayerActive
method sourceScene_Map.prototype.isPlayerActive()
Whether it is player active. (Same as the RPG Maker MZ method of this name.)
isFastForward
method sourceScene_Map.prototype.isFastForward()
Whether it is fast forward. (Same as the RPG Maker MZ method of this name.)
isBusy
method sourceScene_Map.prototype.isBusy()
Whether it is busy. (Same as the RPG Maker MZ method of this name.)
needsFadeIn
method sourceScene_Map.prototype.needsFadeIn()
Whether it needs fade in. (Same as the RPG Maker MZ method of this name.)
needsSlowFadeOut
method sourceScene_Map.prototype.needsSlowFadeOut()
Whether it needs slow fade out. (Same as the RPG Maker MZ method of this name.)
isMenuEnabled
method sourceScene_Map.prototype.isMenuEnabled()
Whether it is menu enabled. (Same as the RPG Maker MZ method of this name.)
isMapTouchOk
method sourceScene_Map.prototype.isMapTouchOk()
Whether it is map touch ok. (Same as the RPG Maker MZ method of this name.)
isAnyButtonPressed
method sourceScene_Map.prototype.isAnyButtonPressed()
Whether it is any button pressed. (Same as the RPG Maker MZ method of this name.)
isSceneChangeOk
method sourceScene_Map.prototype.isSceneChangeOk()
Whether it is scene change ok. (Same as the RPG Maker MZ method of this name.)
isMenuCalled
method sourceScene_Map.prototype.isMenuCalled()
Whether it is menu called. (Same as the RPG Maker MZ method of this name.)
isDebugCalled
method sourceScene_Map.prototype.isDebugCalled()
Whether it is debug called. (Same as the RPG Maker MZ method of this name.)
Actions
start
method sourceScene_Map.prototype.start()
Start. (Same as the RPG Maker MZ method of this name.)
stop
method sourceScene_Map.prototype.stop()
Stop. (Same as the RPG Maker MZ method of this name.)
hideMenuButton
method sourceScene_Map.prototype.hideMenuButton()
Hides the menu button. (Same as the RPG Maker MZ method of this name.)
callMenu
method sourceScene_Map.prototype.callMenu()
Call menu. (Same as the RPG Maker MZ method of this name.)
fadeInForTransfer
method sourceScene_Map.prototype.fadeInForTransfer()
Fade in for transfer. (Same as the RPG Maker MZ method of this name.)
fadeOutForTransfer
method sourceScene_Map.prototype.fadeOutForTransfer()
Fade out for transfer. (Same as the RPG Maker MZ method of this name.)
stopAudioOnBattleStart
method sourceScene_Map.prototype.stopAudioOnBattleStart()
Stops the audio on battle start. (Same as the RPG Maker MZ method of this name.)
startEncounterEffect
method sourceScene_Map.prototype.startEncounterEffect()
Starts the encounter effect. (Same as the RPG Maker MZ method of this name.)
startFlashForEncounter
method sourceScene_Map.prototype.startFlashForEncounter(duration)
Starts the flash for encounter. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onMapLoaded
method sourceScene_Map.prototype.onMapLoaded()
Called when map loaded happens. (Same as the RPG Maker MZ method of this name.)
onTransfer
method sourceScene_Map.prototype.onTransfer()
Called when transfer happens. (Same as the RPG Maker MZ method of this name.)
onTransferEnd
method sourceScene_Map.prototype.onTransferEnd()
Called when transfer end happens. (Same as the RPG Maker MZ method of this name.)
processMapTouch
method sourceScene_Map.prototype.processMapTouch()
Handles the map touch. (Same as the RPG Maker MZ method of this name.)
onMapTouch
method sourceScene_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 sourceScene_Map.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateMainMultiply
method sourceScene_Map.prototype.updateMainMultiply()
Updates the main multiply each frame. (Same as the RPG Maker MZ method of this name.)
updateMain
method sourceScene_Map.prototype.updateMain()
Updates the main each frame. (Same as the RPG Maker MZ method of this name.)
updateWaitCount
method sourceScene_Map.prototype.updateWaitCount()
Updates the wait count each frame. (Same as the RPG Maker MZ method of this name.)
updateDestination
method sourceScene_Map.prototype.updateDestination()
Updates the destination each frame. (Same as the RPG Maker MZ method of this name.)
updateMenuButton
method sourceScene_Map.prototype.updateMenuButton()
Updates the menu button each frame. (Same as the RPG Maker MZ method of this name.)
updateMapNameWindow
method sourceScene_Map.prototype.updateMapNameWindow()
Updates the map name window each frame. (Same as the RPG Maker MZ method of this name.)
updateScene
method sourceScene_Map.prototype.updateScene()
Updates the scene each frame. (Same as the RPG Maker MZ method of this name.)
updateTransferPlayer
method sourceScene_Map.prototype.updateTransferPlayer()
Updates the transfer player each frame. (Same as the RPG Maker MZ method of this name.)
updateEncounter
method sourceScene_Map.prototype.updateEncounter()
Updates the encounter each frame. (Same as the RPG Maker MZ method of this name.)
updateCallMenu
method sourceScene_Map.prototype.updateCallMenu()
Updates the call menu each frame. (Same as the RPG Maker MZ method of this name.)
updateCallDebug
method sourceScene_Map.prototype.updateCallDebug()
Updates the call debug each frame. (Same as the RPG Maker MZ method of this name.)
updateEncounterEffect
method sourceScene_Map.prototype.updateEncounterEffect()
Updates the encounter effect each frame. (Same as the RPG Maker MZ method of this name.)
Other
terminate
method sourceScene_Map.prototype.terminate()
Terminate. (Same as the RPG Maker MZ method of this name.)
mapNameWindowRect
method sourceScene_Map.prototype.mapNameWindowRect()
Map name window rect. (Same as the RPG Maker MZ method of this name.)
launchBattle
method sourceScene_Map.prototype.launchBattle()
Launch battle. (Same as the RPG Maker MZ method of this name.)
snapForBattleBackground
method sourceScene_Map.prototype.snapForBattleBackground()
Snap for battle background. (Same as the RPG Maker MZ method of this name.)
encounterEffectSpeed
method sourceScene_Map.prototype.encounterEffectSpeed()
Encounter effect speed. (Same as the RPG Maker MZ method of this name.)