Familiar territory. Sprite_StateOverlay 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. |
| initMembers() | Initializes the members. |
| loadBitmap() | Loads the bitmap. |
| setup() | Setup. |
Updating & Drawing 3
| update() | Update. |
| updatePattern() | Updates the pattern each frame. |
| updateFrame() | Updates the frame each frame. |
Other 1
| animationWait() | Animation wait. |
Setup & Creation
initialize
method sourceSprite_StateOverlay.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initMembers
method sourceSprite_StateOverlay.prototype.initMembers()
Initializes the members. (Same as the RPG Maker MZ method of this name.)
loadBitmap
method sourceSprite_StateOverlay.prototype.loadBitmap()
Loads the bitmap. (Same as the RPG Maker MZ method of this name.)
setup
method sourceSprite_StateOverlay.prototype.setup(battler)
Setup. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceSprite_StateOverlay.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updatePattern
method sourceSprite_StateOverlay.prototype.updatePattern()
Updates the pattern each frame. (Same as the RPG Maker MZ method of this name.)
updateFrame
method sourceSprite_StateOverlay.prototype.updateFrame()
Updates the frame each frame. (Same as the RPG Maker MZ method of this name.)
Other
animationWait
method sourceSprite_StateOverlay.prototype.animationWait()
Animation wait. (Same as the RPG Maker MZ method of this name.)