Familiar territory. Sprite_Balloon 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. |
Checks (True / False) 1
| isPlaying() | Whether it is playing. |
Updating & Drawing 3
| update() | Update. |
| updatePosition() | Updates the position each frame. |
| updateFrame() | Updates the frame each frame. |
Other 3
| speed() | Speed. |
| waitTime() | Wait time. |
| frameIndex() | Frame index. |
Setup & Creation
initialize
method sourceSprite_Balloon.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initMembers
method sourceSprite_Balloon.prototype.initMembers()
Initializes the members. (Same as the RPG Maker MZ method of this name.)
loadBitmap
method sourceSprite_Balloon.prototype.loadBitmap()
Loads the bitmap. (Same as the RPG Maker MZ method of this name.)
setup
method sourceSprite_Balloon.prototype.setup(targetSprite, balloonId)
Setup. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isPlaying
method sourceSprite_Balloon.prototype.isPlaying()
Whether it is playing. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceSprite_Balloon.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updatePosition
method sourceSprite_Balloon.prototype.updatePosition()
Updates the position each frame. (Same as the RPG Maker MZ method of this name.)
updateFrame
method sourceSprite_Balloon.prototype.updateFrame()
Updates the frame each frame. (Same as the RPG Maker MZ method of this name.)
Other
speed
method sourceSprite_Balloon.prototype.speed()
Speed. (Same as the RPG Maker MZ method of this name.)
waitTime
method sourceSprite_Balloon.prototype.waitTime()
Wait time. (Same as the RPG Maker MZ method of this name.)
frameIndex
method sourceSprite_Balloon.prototype.frameIndex()
Frame index. (Same as the RPG Maker MZ method of this name.)