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. |
Setup & Creation
initialize
method sourceGame_Picture.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initBasic
method sourceGame_Picture.prototype.initBasic()
Initializes the basic. (Same as the RPG Maker MZ method of this name.)
initTarget
method sourceGame_Picture.prototype.initTarget()
Initializes the target. (Same as the RPG Maker MZ method of this name.)
initTone
method sourceGame_Picture.prototype.initTone()
Initializes the tone. (Same as the RPG Maker MZ method of this name.)
initRotation
method sourceGame_Picture.prototype.initRotation()
Initializes the rotation. (Same as the RPG Maker MZ method of this name.)
Getting Information
name
method sourceGame_Picture.prototype.name()
Name. (Same as the RPG Maker MZ method of this name.)
x
method sourceGame_Picture.prototype.x()
X. (Same as the RPG Maker MZ method of this name.)
y
method sourceGame_Picture.prototype.y()
Y. (Same as the RPG Maker MZ method of this name.)
calcEasing
method sourceGame_Picture.prototype.calcEasing(t)
Calculates the easing. (Same as the RPG Maker MZ method of this name.)
Actions
tint
method sourceGame_Picture.prototype.tint(tone, duration)
Tint. (Same as the RPG Maker MZ method of this name.)
applyEasing
method sourceGame_Picture.prototype.applyEasing(current, target)
Applies the easing. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceGame_Picture.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateMove
method sourceGame_Picture.prototype.updateMove()
Updates the move each frame. (Same as the RPG Maker MZ method of this name.)
updateTone
method sourceGame_Picture.prototype.updateTone()
Updates the tone each frame. (Same as the RPG Maker MZ method of this name.)
updateRotation
method sourceGame_Picture.prototype.updateRotation()
Updates the rotation each frame. (Same as the RPG Maker MZ method of this name.)
Other
origin
method sourceGame_Picture.prototype.origin()
Origin. (Same as the RPG Maker MZ method of this name.)
scaleX
method sourceGame_Picture.prototype.scaleX()
Scale x. (Same as the RPG Maker MZ method of this name.)
scaleY
method sourceGame_Picture.prototype.scaleY()
Scale y. (Same as the RPG Maker MZ method of this name.)
opacity
method sourceGame_Picture.prototype.opacity()
Opacity. (Same as the RPG Maker MZ method of this name.)
blendMode
method sourceGame_Picture.prototype.blendMode()
Blend mode. (Same as the RPG Maker MZ method of this name.)
tone
method sourceGame_Picture.prototype.tone()
Tone. (Same as the RPG Maker MZ method of this name.)
angle
method sourceGame_Picture.prototype.angle()
Angle. (Same as the RPG Maker MZ method of this name.)
rotate
method sourceGame_Picture.prototype.rotate(speed)
Rotate. (Same as the RPG Maker MZ method of this name.)
easeIn
method sourceGame_Picture.prototype.easeIn(t, exponent)
Ease in. (Same as the RPG Maker MZ method of this name.)
easeOut
method sourceGame_Picture.prototype.easeOut(t, exponent)
Ease out. (Same as the RPG Maker MZ method of this name.)
easeInOut
method sourceGame_Picture.prototype.easeInOut(t, exponent)
Ease in out. (Same as the RPG Maker MZ method of this name.)