Class in reactor_objects.js

Game_Picture

26 functions in 5 groups · hide internal

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

Familiar territory. Game_Picture 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 5

initialize() Sets up a new instance.
initBasic() Initializes the basic.
initTarget() Initializes the target.
initTone() Initializes the tone.
initRotation() Initializes the rotation.

Getting Information 4

name() Name.
x() X.
y() Y.
calcEasing() Calculates the easing.

Actions 2

tint() Tint.
applyEasing() Applies the easing.

Updating & Drawing 4

update() Update.
updateMove() Updates the move each frame.
updateTone() Updates the tone each frame.
updateRotation() Updates the rotation each frame.

Other 11

origin() Origin.
scaleX() Scale x.
scaleY() Scale y.
opacity() Opacity.
blendMode() Blend mode.
tone() Tone.
angle() Angle.
rotate() Rotate.
easeIn() Ease in.
easeOut() Ease out.
easeInOut() Ease in out.

Setup & Creation

initialize

method source
Game_Picture.prototype.initialize()

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

initBasic

method source
Game_Picture.prototype.initBasic()

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

initTarget

method source
Game_Picture.prototype.initTarget()

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

initTone

method source
Game_Picture.prototype.initTone()

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

initRotation

method source
Game_Picture.prototype.initRotation()

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

Getting Information

name

method source
Game_Picture.prototype.name()

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

x

method source
Game_Picture.prototype.x()

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

y

method source
Game_Picture.prototype.y()

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

calcEasing

method source
Game_Picture.prototype.calcEasing(t)

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

Actions

tint

method source
Game_Picture.prototype.tint(tone, duration)

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

applyEasing

method source
Game_Picture.prototype.applyEasing(current, target)

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

Updating & Drawing

update

method source
Game_Picture.prototype.update()

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

updateMove

method source
Game_Picture.prototype.updateMove()

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

updateTone

method source
Game_Picture.prototype.updateTone()

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

updateRotation

method source
Game_Picture.prototype.updateRotation()

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

Other

origin

method source
Game_Picture.prototype.origin()

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

scaleX

method source
Game_Picture.prototype.scaleX()

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

scaleY

method source
Game_Picture.prototype.scaleY()

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

opacity

method source
Game_Picture.prototype.opacity()

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

blendMode

method source
Game_Picture.prototype.blendMode()

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

tone

method source
Game_Picture.prototype.tone()

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

angle

method source
Game_Picture.prototype.angle()

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

rotate

method source
Game_Picture.prototype.rotate(speed)

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

easeIn

method source
Game_Picture.prototype.easeIn(t, exponent)

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

easeOut

method source
Game_Picture.prototype.easeOut(t, exponent)

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

easeInOut

method source
Game_Picture.prototype.easeInOut(t, exponent)

Ease in out. (Same as the RPG Maker MZ method of this name.)