Familiar territory. Sprite_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 2
| initialize() | Sets up a new instance. |
| loadBitmap() | Loads the bitmap. |
Updating & Drawing 7
| update() | Update. |
| updateBitmap() | Updates the bitmap each frame. |
| updateOrigin() | Updates the origin each frame. |
| updatePosition() | Updates the position each frame. |
| updateScale() | Updates the scale each frame. |
| updateTone() | Updates the tone each frame. |
| updateOther() | Updates the other each frame. |
Other 1
| picture() | Picture. |
Setup & Creation
initialize
method sourceSprite_Picture.prototype.initialize(pictureId)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
loadBitmap
method sourceSprite_Picture.prototype.loadBitmap()
Loads the bitmap. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceSprite_Picture.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateBitmap
method sourceSprite_Picture.prototype.updateBitmap()
Updates the bitmap each frame. (Same as the RPG Maker MZ method of this name.)
updateOrigin
method sourceSprite_Picture.prototype.updateOrigin()
Updates the origin each frame. (Same as the RPG Maker MZ method of this name.)
updatePosition
method sourceSprite_Picture.prototype.updatePosition()
Updates the position each frame. (Same as the RPG Maker MZ method of this name.)
updateScale
method sourceSprite_Picture.prototype.updateScale()
Updates the scale each frame. (Same as the RPG Maker MZ method of this name.)
updateTone
method sourceSprite_Picture.prototype.updateTone()
Updates the tone each frame. (Same as the RPG Maker MZ method of this name.)
updateOther
method sourceSprite_Picture.prototype.updateOther()
Updates the other each frame. (Same as the RPG Maker MZ method of this name.)
Other
picture
method sourceSprite_Picture.prototype.picture()
Picture. (Same as the RPG Maker MZ method of this name.)