Class in reactor_objects.js

Game_Screen

44 functions in 6 groups · hide internal

Everything here is tracked by Game Objects: the party, the map, its events.

Familiar territory. Game_Screen 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 1

initialize() Sets up a new instance.

Getting Information 1

maxPictures() The maximum pictures.

Actions 20

clear() Clear.
flashColor() Flash color.
shake() Shake.
clearFade() Clears the fade.
clearTone() Clears the tone.
clearFlash() Clears the flash.
clearShake() Clears the shake.
clearZoom() Clears the zoom.
clearWeather() Clears the weather.
clearPictures() Clears the pictures.
startFadeOut() Starts the fade out.
startFadeIn() Starts the fade in.
startTint() Starts the tint.
startFlash() Starts the flash.
startShake() Starts the shake.
startZoom() Starts the zoom.
setZoom() Sets the zoom.
changeWeather() Changes the weather.
startFlashForDamage() Starts the flash for damage.
tintPicture() Tint picture.

Events, Commands & Input 1

onBattleStart() Called when battle start happens.

Updating & Drawing 9

update() Update.
updateFadeOut() Updates the fade out each frame.
updateFadeIn() Updates the fade in each frame.
updateTone() Updates the tone each frame.
updateFlash() Updates the flash each frame.
updateShake() Updates the shake each frame.
updateZoom() Updates the zoom each frame.
updateWeather() Updates the weather each frame.
updatePictures() Updates the pictures each frame.

Other 12

brightness() Brightness.
tone() Tone.
zoomX() Zoom x.
zoomY() Zoom y.
zoomScale() Zoom scale.
weatherType() Weather type.
weatherPower() Weather power.
picture() Picture.
realPictureId() Real picture id.
eraseBattlePictures() Erase battle pictures.
rotatePicture() Rotate picture.
erasePicture() Erase picture.

Setup & Creation

initialize

method source
Game_Screen.prototype.initialize()

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

Getting Information

maxPictures

method source
Game_Screen.prototype.maxPictures()

The maximum pictures. (Same as the RPG Maker MZ method of this name.)

Actions

clear

method source
Game_Screen.prototype.clear()

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

flashColor

method source
Game_Screen.prototype.flashColor()

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

shake

method source
Game_Screen.prototype.shake()

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

clearFade

method source
Game_Screen.prototype.clearFade()

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

clearTone

method source
Game_Screen.prototype.clearTone()

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

clearFlash

method source
Game_Screen.prototype.clearFlash()

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

clearShake

method source
Game_Screen.prototype.clearShake()

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

clearZoom

method source
Game_Screen.prototype.clearZoom()

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

clearWeather

method source
Game_Screen.prototype.clearWeather()

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

clearPictures

method source
Game_Screen.prototype.clearPictures()

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

startFadeOut

method source
Game_Screen.prototype.startFadeOut(duration)

Starts the fade out. (Same as the RPG Maker MZ method of this name.)

startFadeIn

method source
Game_Screen.prototype.startFadeIn(duration)

Starts the fade in. (Same as the RPG Maker MZ method of this name.)

startTint

method source
Game_Screen.prototype.startTint(tone, duration)

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

startFlash

method source
Game_Screen.prototype.startFlash(color, duration)

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

startShake

method source
Game_Screen.prototype.startShake(power, speed, duration)

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

startZoom

method source
Game_Screen.prototype.startZoom(x, y, scale, duration)

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

setZoom

method source
Game_Screen.prototype.setZoom(x, y, scale)

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

changeWeather

method source
Game_Screen.prototype.changeWeather(type, power, duration)

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

startFlashForDamage

method source
Game_Screen.prototype.startFlashForDamage()

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

tintPicture

method source
Game_Screen.prototype.tintPicture(pictureId, tone, duration)

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

Events, Commands & Input

onBattleStart

method source
Game_Screen.prototype.onBattleStart()

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

Updating & Drawing

update

method source
Game_Screen.prototype.update()

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

updateFadeOut

method source
Game_Screen.prototype.updateFadeOut()

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

updateFadeIn

method source
Game_Screen.prototype.updateFadeIn()

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

updateTone

method source
Game_Screen.prototype.updateTone()

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

updateFlash

method source
Game_Screen.prototype.updateFlash()

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

updateShake

method source
Game_Screen.prototype.updateShake()

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

updateZoom

method source
Game_Screen.prototype.updateZoom()

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

updateWeather

method source
Game_Screen.prototype.updateWeather()

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

updatePictures

method source
Game_Screen.prototype.updatePictures()

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

Other

brightness

method source
Game_Screen.prototype.brightness()

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

tone

method source
Game_Screen.prototype.tone()

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

zoomX

method source
Game_Screen.prototype.zoomX()

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

zoomY

method source
Game_Screen.prototype.zoomY()

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

zoomScale

method source
Game_Screen.prototype.zoomScale()

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

weatherType

method source
Game_Screen.prototype.weatherType()

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

weatherPower

method source
Game_Screen.prototype.weatherPower()

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

picture

method source
Game_Screen.prototype.picture(pictureId)

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

realPictureId

method source
Game_Screen.prototype.realPictureId(pictureId)

Real picture id. (Same as the RPG Maker MZ method of this name.)

eraseBattlePictures

method source
Game_Screen.prototype.eraseBattlePictures()

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

rotatePicture

method source
Game_Screen.prototype.rotatePicture(pictureId, speed)

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

erasePicture

method source
Game_Screen.prototype.erasePicture(pictureId)

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