Familiar territory. Spriteset_Battle 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 8
| initialize() | Sets up a new instance. |
| loadSystemImages() | Loads the system images. |
| createLowerLayer() | Creates the lower layer. |
| createBackground() | Creates the background. |
| createBattleback() | Creates the battleback. |
| createBattleField() | Creates the battle field. |
| createEnemies() | Creates the enemies. |
| createActors() | Creates the actors. |
Getting Information 1
| findTargetSprite() | Finds the target sprite. |
Checks (True / False) 3
| isEffecting() | Whether it is effecting. |
| isAnyoneMoving() | Whether it is anyone moving. |
| isBusy() | Whether it is busy. |
Updating & Drawing 3
| update() | Update. |
| updateBattleback() | Updates the battleback each frame. |
| updateActors() | Updates the actors each frame. |
Other 3
| battleFieldOffsetY() | Battle field offset y. |
| compareEnemySprite() | Compare enemy sprite. |
| battlerSprites() | Battler sprites. |
Setup & Creation
initialize
method sourceSpriteset_Battle.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
loadSystemImages
method sourceSpriteset_Battle.prototype.loadSystemImages()
Loads the system images. (Same as the RPG Maker MZ method of this name.)
createLowerLayer
method sourceSpriteset_Battle.prototype.createLowerLayer()
Creates the lower layer. (Same as the RPG Maker MZ method of this name.)
createBackground
method sourceSpriteset_Battle.prototype.createBackground()
Creates the background. (Same as the RPG Maker MZ method of this name.)
createBattleback
method sourceSpriteset_Battle.prototype.createBattleback()
Creates the battleback. (Same as the RPG Maker MZ method of this name.)
createBattleField
method sourceSpriteset_Battle.prototype.createBattleField()
Creates the battle field. (Same as the RPG Maker MZ method of this name.)
createEnemies
method sourceSpriteset_Battle.prototype.createEnemies()
Creates the enemies. (Same as the RPG Maker MZ method of this name.)
createActors
method sourceSpriteset_Battle.prototype.createActors()
Creates the actors. (Same as the RPG Maker MZ method of this name.)
Getting Information
findTargetSprite
method sourceSpriteset_Battle.prototype.findTargetSprite(target)
Finds the target sprite. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isEffecting
method sourceSpriteset_Battle.prototype.isEffecting()
Whether it is effecting. (Same as the RPG Maker MZ method of this name.)
isAnyoneMoving
method sourceSpriteset_Battle.prototype.isAnyoneMoving()
Whether it is anyone moving. (Same as the RPG Maker MZ method of this name.)
isBusy
method sourceSpriteset_Battle.prototype.isBusy()
Whether it is busy. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceSpriteset_Battle.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateBattleback
method sourceSpriteset_Battle.prototype.updateBattleback()
Updates the battleback each frame. (Same as the RPG Maker MZ method of this name.)
updateActors
method sourceSpriteset_Battle.prototype.updateActors()
Updates the actors each frame. (Same as the RPG Maker MZ method of this name.)
Other
battleFieldOffsetY
method sourceSpriteset_Battle.prototype.battleFieldOffsetY()
Battle field offset y. (Same as the RPG Maker MZ method of this name.)
compareEnemySprite
method sourceSpriteset_Battle.prototype.compareEnemySprite(a, b)
Compare enemy sprite. (Same as the RPG Maker MZ method of this name.)
battlerSprites
method sourceSpriteset_Battle.prototype.battlerSprites()
Battler sprites. (Same as the RPG Maker MZ method of this name.)