Familiar territory. Scene_Base 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 4
| initialize() | Sets up a new instance. |
| create() | Create. |
| createWindowLayer() | Creates the window layer. |
| createColorFilter() | Creates the color filter. |
Getting Information 1
| calcWindowHeight() | Calculates the window height. |
Checks (True / False) 9
| isActive() | Whether it is active. |
| isReady() | Whether it is ready. |
| isStarted() | Whether it is started. |
| isBusy() | Whether it is busy. |
| isFading() | Whether it is fading. |
| isBottomHelpMode() | Whether it is bottom help mode. |
| isBottomButtonMode() | Whether it is bottom button mode. |
| isRightInputMode() | Whether it is right input mode. |
| isAutosaveEnabled() | Whether it is autosave enabled. |
Actions 10
| start() | Start. |
| stop() | Stop. |
| addWindow() | Adds the window. |
| startFadeIn() | Starts the fade in. |
| startFadeOut() | Starts the fade out. |
| popScene() | Pop scene. |
| fadeOutAll() | Fade out all. |
| fadeSpeed() | Fade speed. |
| requestAutosave() | Requests the autosave. |
| executeAutosave() | Runs the autosave. |
Events, Commands & Input 2
| onAutosaveSuccess() | Called when autosave success happens. |
| onAutosaveFailure() | Called when autosave failure happens. |
Updating & Drawing 4
| update() | Update. |
| updateColorFilter() | Updates the color filter each frame. |
| updateFade() | Updates the fade each frame. |
| updateChildren() | Updates the children each frame. |
Other 10
| terminate() | Terminate. |
| checkGameover() | Check gameover. |
| slowFadeSpeed() | Slow fade speed. |
| scaleSprite() | Scale sprite. |
| centerSprite() | Center sprite. |
| mainCommandWidth() | Main command width. |
| buttonAreaTop() | Button area top. |
| buttonAreaBottom() | Button area bottom. |
| buttonAreaHeight() | Button area height. |
| buttonY() | Button y. |
Setup & Creation
initialize
method sourceScene_Base.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
create
method sourceScene_Base.prototype.create()
Create. (Same as the RPG Maker MZ method of this name.)
createWindowLayer
method sourceScene_Base.prototype.createWindowLayer()
Creates the window layer. (Same as the RPG Maker MZ method of this name.)
createColorFilter
method sourceScene_Base.prototype.createColorFilter()
Creates the color filter. (Same as the RPG Maker MZ method of this name.)
Getting Information
calcWindowHeight
method sourceScene_Base.prototype.calcWindowHeight(numLines, selectable)
Calculates the window height. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isActive
method sourceScene_Base.prototype.isActive()
Whether it is active. (Same as the RPG Maker MZ method of this name.)
isReady
method sourceScene_Base.prototype.isReady()
Whether it is ready. (Same as the RPG Maker MZ method of this name.)
isStarted
method sourceScene_Base.prototype.isStarted()
Whether it is started. (Same as the RPG Maker MZ method of this name.)
isBusy
method sourceScene_Base.prototype.isBusy()
Whether it is busy. (Same as the RPG Maker MZ method of this name.)
isFading
method sourceScene_Base.prototype.isFading()
Whether it is fading. (Same as the RPG Maker MZ method of this name.)
isBottomHelpMode
method sourceScene_Base.prototype.isBottomHelpMode()
Whether it is bottom help mode. (Same as the RPG Maker MZ method of this name.)
isBottomButtonMode
method sourceScene_Base.prototype.isBottomButtonMode()
Whether it is bottom button mode. (Same as the RPG Maker MZ method of this name.)
isRightInputMode
method sourceScene_Base.prototype.isRightInputMode()
Whether it is right input mode. (Same as the RPG Maker MZ method of this name.)
isAutosaveEnabled
method sourceScene_Base.prototype.isAutosaveEnabled()
Whether it is autosave enabled. (Same as the RPG Maker MZ method of this name.)
Actions
start
method sourceScene_Base.prototype.start()
Start. (Same as the RPG Maker MZ method of this name.)
stop
method sourceScene_Base.prototype.stop()
Stop. (Same as the RPG Maker MZ method of this name.)
addWindow
method sourceScene_Base.prototype.addWindow(window)
Adds the window. (Same as the RPG Maker MZ method of this name.)
startFadeIn
method sourceScene_Base.prototype.startFadeIn(duration, white)
Starts the fade in. (Same as the RPG Maker MZ method of this name.)
startFadeOut
method sourceScene_Base.prototype.startFadeOut(duration, white)
Starts the fade out. (Same as the RPG Maker MZ method of this name.)
popScene
method sourceScene_Base.prototype.popScene()
Pop scene. (Same as the RPG Maker MZ method of this name.)
fadeOutAll
method sourceScene_Base.prototype.fadeOutAll()
Fade out all. (Same as the RPG Maker MZ method of this name.)
fadeSpeed
method sourceScene_Base.prototype.fadeSpeed()
Fade speed. (Same as the RPG Maker MZ method of this name.)
requestAutosave
method sourceScene_Base.prototype.requestAutosave()
Requests the autosave. (Same as the RPG Maker MZ method of this name.)
executeAutosave
method sourceScene_Base.prototype.executeAutosave()
Runs the autosave. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onAutosaveSuccess
method sourceScene_Base.prototype.onAutosaveSuccess()
Called when autosave success happens. (Same as the RPG Maker MZ method of this name.)
onAutosaveFailure
method sourceScene_Base.prototype.onAutosaveFailure()
Called when autosave failure happens. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceScene_Base.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateColorFilter
method sourceScene_Base.prototype.updateColorFilter()
Updates the color filter each frame. (Same as the RPG Maker MZ method of this name.)
updateFade
method sourceScene_Base.prototype.updateFade()
Updates the fade each frame. (Same as the RPG Maker MZ method of this name.)
updateChildren
method sourceScene_Base.prototype.updateChildren()
Updates the children each frame. (Same as the RPG Maker MZ method of this name.)
Other
terminate
method sourceScene_Base.prototype.terminate()
Terminate. (Same as the RPG Maker MZ method of this name.)
checkGameover
method sourceScene_Base.prototype.checkGameover()
Check gameover. (Same as the RPG Maker MZ method of this name.)
slowFadeSpeed
method sourceScene_Base.prototype.slowFadeSpeed()
Slow fade speed. (Same as the RPG Maker MZ method of this name.)
scaleSprite
method sourceScene_Base.prototype.scaleSprite(sprite)
Scale sprite. (Same as the RPG Maker MZ method of this name.)
centerSprite
method sourceScene_Base.prototype.centerSprite(sprite)
Center sprite. (Same as the RPG Maker MZ method of this name.)
mainCommandWidth
method sourceScene_Base.prototype.mainCommandWidth()
Main command width. (Same as the RPG Maker MZ method of this name.)
buttonAreaTop
method sourceScene_Base.prototype.buttonAreaTop()
Button area top. (Same as the RPG Maker MZ method of this name.)
buttonAreaBottom
method sourceScene_Base.prototype.buttonAreaBottom()
Button area bottom. (Same as the RPG Maker MZ method of this name.)
buttonAreaHeight
method sourceScene_Base.prototype.buttonAreaHeight()
Button area height. (Same as the RPG Maker MZ method of this name.)
buttonY
method sourceScene_Base.prototype.buttonY()
Button y. (Same as the RPG Maker MZ method of this name.)