Class in reactor_sprites.js
Sprite_AnimationMV
26 public functions in 7 groups · show internal (_) functions
Familiar territory. Sprite_AnimationMV 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 7
| initialize() | Sets up a new instance. |
| initMembers() | Initializes the members. |
| setupRate() | Setup rate. |
| setupDuration() | Setup duration. |
| loadBitmaps() | Loads the bitmaps. |
| createCellSprites() | Creates the cell sprites. |
| createScreenFlashSprite() | Creates the screen flash sprite. |
Getting Information 1
| currentFrameIndex() | The current frame index. |
Checks (True / False) 2
| isPlaying() | Whether it is playing. |
| isReady() | Whether it is ready. |
Actions 3
| startFlash() | Starts the flash. |
| startScreenFlash() | Starts the screen flash. |
| startHiding() | Starts the hiding. |
Events, Commands & Input 2
| processTimingData() | Handles the timing data. |
| onEnd() | Called when end happens. |
Updating & Drawing 9
| update() | Update. |
| updateFlash() | Updates the flash each frame. |
| updateScreenFlash() | Updates the screen flash each frame. |
| updateHiding() | Updates the hiding each frame. |
| updateMain() | Updates the main each frame. |
| updatePosition() | Updates the position each frame. |
| updateFrame() | Updates the frame each frame. |
| updateAllCellSprites() | Updates the all cell sprites each frame. |
| updateCellSprite() | Updates the cell sprite each frame. |
Other 2
| absoluteX() | Absolute x. |
| absoluteY() | Absolute y. |
Setup & Creation
initialize
method sourceSprite_AnimationMV.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initMembers
method sourceSprite_AnimationMV.prototype.initMembers()
Initializes the members. (Same as the RPG Maker MZ method of this name.)
setupRate
method sourceSprite_AnimationMV.prototype.setupRate()
Setup rate. (Same as the RPG Maker MZ method of this name.)
setupDuration
method sourceSprite_AnimationMV.prototype.setupDuration()
Setup duration. (Same as the RPG Maker MZ method of this name.)
loadBitmaps
method sourceSprite_AnimationMV.prototype.loadBitmaps()
Loads the bitmaps. (Same as the RPG Maker MZ method of this name.)
createCellSprites
method sourceSprite_AnimationMV.prototype.createCellSprites()
Creates the cell sprites. (Same as the RPG Maker MZ method of this name.)
createScreenFlashSprite
method sourceSprite_AnimationMV.prototype.createScreenFlashSprite()
Creates the screen flash sprite. (Same as the RPG Maker MZ method of this name.)
Getting Information
currentFrameIndex
method sourceSprite_AnimationMV.prototype.currentFrameIndex()
The current frame index. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isPlaying
method sourceSprite_AnimationMV.prototype.isPlaying()
Whether it is playing. (Same as the RPG Maker MZ method of this name.)
isReady
method sourceSprite_AnimationMV.prototype.isReady()
Whether it is ready. (Same as the RPG Maker MZ method of this name.)
Actions
startFlash
method sourceSprite_AnimationMV.prototype.startFlash(color, duration)
Starts the flash. (Same as the RPG Maker MZ method of this name.)
startScreenFlash
method sourceSprite_AnimationMV.prototype.startScreenFlash(color, duration)
Starts the screen flash. (Same as the RPG Maker MZ method of this name.)
startHiding
method sourceSprite_AnimationMV.prototype.startHiding(duration)
Starts the hiding. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
processTimingData
method sourceSprite_AnimationMV.prototype.processTimingData(timing)
Handles the timing data. (Same as the RPG Maker MZ method of this name.)
onEnd
method sourceSprite_AnimationMV.prototype.onEnd()
Called when end happens. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceSprite_AnimationMV.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateFlash
method sourceSprite_AnimationMV.prototype.updateFlash()
Updates the flash each frame. (Same as the RPG Maker MZ method of this name.)
updateScreenFlash
method sourceSprite_AnimationMV.prototype.updateScreenFlash()
Updates the screen flash each frame. (Same as the RPG Maker MZ method of this name.)
updateHiding
method sourceSprite_AnimationMV.prototype.updateHiding()
Updates the hiding each frame. (Same as the RPG Maker MZ method of this name.)
updateMain
method sourceSprite_AnimationMV.prototype.updateMain()
Updates the main each frame. (Same as the RPG Maker MZ method of this name.)
updatePosition
method sourceSprite_AnimationMV.prototype.updatePosition()
Updates the position each frame. (Same as the RPG Maker MZ method of this name.)
updateFrame
method sourceSprite_AnimationMV.prototype.updateFrame()
Updates the frame each frame. (Same as the RPG Maker MZ method of this name.)
updateAllCellSprites
method sourceSprite_AnimationMV.prototype.updateAllCellSprites(frame)
Updates the all cell sprites each frame. (Same as the RPG Maker MZ method of this name.)
updateCellSprite
method sourceSprite_AnimationMV.prototype.updateCellSprite(sprite, cell)
Updates the cell sprite each frame. (Same as the RPG Maker MZ method of this name.)
Other
absoluteX
method sourceSprite_AnimationMV.prototype.absoluteX()
Absolute x. (Same as the RPG Maker MZ method of this name.)
absoluteY
method sourceSprite_AnimationMV.prototype.absoluteY()
Absolute y. (Same as the RPG Maker MZ method of this name.)