Class in reactor_sprites.js

Sprite_Weapon

9 public functions in 4 groups · show internal (_) functions

The main menu, drawn by Scenes and Windows.

Familiar territory. Sprite_Weapon 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.
setup() Setup.
loadBitmap() Loads the bitmap.

Checks (True / False) 1

isPlaying() Whether it is playing.

Updating & Drawing 3

update() Update.
updatePattern() Updates the pattern each frame.
updateFrame() Updates the frame each frame.

Other 1

animationWait() Animation wait.

Setup & Creation

initialize

method source
Sprite_Weapon.prototype.initialize()

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

initMembers

method source
Sprite_Weapon.prototype.initMembers()

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

setup

method source
Sprite_Weapon.prototype.setup(weaponImageId)

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

loadBitmap

method source
Sprite_Weapon.prototype.loadBitmap()

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

Checks (True / False)

isPlaying

method source
Sprite_Weapon.prototype.isPlaying()

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

Updating & Drawing

update

method source
Sprite_Weapon.prototype.update()

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

updatePattern

method source
Sprite_Weapon.prototype.updatePattern()

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

updateFrame

method source
Sprite_Weapon.prototype.updateFrame()

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

Other

animationWait

method source
Sprite_Weapon.prototype.animationWait()

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