Namespace in reactor_mv_compat.js
Sprite_Base
8 public functions in 4 groups · show internal (_) functions
Familiar territory. Sprite_Base 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. |
Checks (True / False) 1
| isAnimationPlaying() | Whether it is animation playing. |
Actions 3
| hide() | Hide. |
| show() | Show. |
| startAnimation() | Starts the animation. |
Updating & Drawing 3
| update() | Update. |
| updateVisibility() | Updates the visibility each frame. |
| updateAnimationSprites() | Updates the animation sprites each frame. |
Setup & Creation
initialize
method sourceSprite_Base.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isAnimationPlaying
method sourceSprite_Base.prototype.isAnimationPlaying()
Whether it is animation playing. (Same as the RPG Maker MZ method of this name.)
Actions
hide
method sourceSprite_Base.prototype.hide()
Hide. (Same as the RPG Maker MZ method of this name.)
show
method sourceSprite_Base.prototype.show()
Show. (Same as the RPG Maker MZ method of this name.)
startAnimation
method sourceSprite_Base.prototype.startAnimation(animation, mirror, delay)
Starts the animation. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceSprite_Base.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateVisibility
method sourceSprite_Base.prototype.updateVisibility()
Updates the visibility each frame. (Same as the RPG Maker MZ method of this name.)
updateAnimationSprites
method sourceSprite_Base.prototype.updateAnimationSprites()
Updates the animation sprites each frame. (Same as the RPG Maker MZ method of this name.)