Class in reactor_sprites.js

Spriteset_Battle

18 functions in 5 groups · hide internal

The main menu, drawn by Scenes and Windows.

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 source
Spriteset_Battle.prototype.initialize()

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

loadSystemImages

method source
Spriteset_Battle.prototype.loadSystemImages()

Loads the system images. (Same as the RPG Maker MZ method of this name.)

createLowerLayer

method source
Spriteset_Battle.prototype.createLowerLayer()

Creates the lower layer. (Same as the RPG Maker MZ method of this name.)

createBackground

method source
Spriteset_Battle.prototype.createBackground()

Creates the background. (Same as the RPG Maker MZ method of this name.)

createBattleback

method source
Spriteset_Battle.prototype.createBattleback()

Creates the battleback. (Same as the RPG Maker MZ method of this name.)

createBattleField

method source
Spriteset_Battle.prototype.createBattleField()

Creates the battle field. (Same as the RPG Maker MZ method of this name.)

createEnemies

method source
Spriteset_Battle.prototype.createEnemies()

Creates the enemies. (Same as the RPG Maker MZ method of this name.)

createActors

method source
Spriteset_Battle.prototype.createActors()

Creates the actors. (Same as the RPG Maker MZ method of this name.)

Getting Information

findTargetSprite

method source
Spriteset_Battle.prototype.findTargetSprite(target)

Finds the target sprite. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isEffecting

method source
Spriteset_Battle.prototype.isEffecting()

Whether it is effecting. (Same as the RPG Maker MZ method of this name.)

isAnyoneMoving

method source
Spriteset_Battle.prototype.isAnyoneMoving()

Whether it is anyone moving. (Same as the RPG Maker MZ method of this name.)

isBusy

method source
Spriteset_Battle.prototype.isBusy()

Whether it is busy. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

update

method source
Spriteset_Battle.prototype.update()

Update. (Same as the RPG Maker MZ method of this name.)

updateBattleback

method source
Spriteset_Battle.prototype.updateBattleback()

Updates the battleback each frame. (Same as the RPG Maker MZ method of this name.)

updateActors

method source
Spriteset_Battle.prototype.updateActors()

Updates the actors each frame. (Same as the RPG Maker MZ method of this name.)

Other

battleFieldOffsetY

method source
Spriteset_Battle.prototype.battleFieldOffsetY()

Battle field offset y. (Same as the RPG Maker MZ method of this name.)

compareEnemySprite

method source
Spriteset_Battle.prototype.compareEnemySprite(a, b)

Compare enemy sprite. (Same as the RPG Maker MZ method of this name.)

battlerSprites

method source
Spriteset_Battle.prototype.battlerSprites()

Battler sprites. (Same as the RPG Maker MZ method of this name.)