Class in reactor_sprites.js
Sprite_Destination
6 public functions in 3 groups · show internal (_) functions
Familiar territory. Sprite_Destination 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. |
| createBitmap() | Creates the bitmap. |
Actions 1
| destroy() | Destroy. |
Updating & Drawing 3
| update() | Update. |
| updatePosition() | Updates the position each frame. |
| updateAnimation() | Updates the animation each frame. |
Setup & Creation
initialize
method sourceSprite_Destination.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
createBitmap
method sourceSprite_Destination.prototype.createBitmap()
Creates the bitmap. (Same as the RPG Maker MZ method of this name.)
Actions
destroy
method sourceSprite_Destination.prototype.destroy(options)
Destroy. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceSprite_Destination.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updatePosition
method sourceSprite_Destination.prototype.updatePosition()
Updates the position each frame. (Same as the RPG Maker MZ method of this name.)
updateAnimation
method sourceSprite_Destination.prototype.updateAnimation()
Updates the animation each frame. (Same as the RPG Maker MZ method of this name.)