Class in reactor_sprites.js

Sprite_Timer

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

The main menu, drawn by Scenes and Windows.

Familiar territory. Sprite_Timer 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 2

initialize() Sets up a new instance.
createBitmap() Creates the bitmap.

Actions 1

destroy() Destroy.

Updating & Drawing 5

update() Update.
updateBitmap() Updates the bitmap each frame.
redraw() Redraw.
updatePosition() Updates the position each frame.
updateVisibility() Updates the visibility each frame.

Other 3

fontFace() Font face.
fontSize() Font size.
timerText() Timer text.

Setup & Creation

initialize

method source
Sprite_Timer.prototype.initialize(timerId = 0)

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

createBitmap

method source
Sprite_Timer.prototype.createBitmap()

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

Actions

destroy

method source
Sprite_Timer.prototype.destroy(options)

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

Updating & Drawing

update

method source
Sprite_Timer.prototype.update()

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

updateBitmap

method source
Sprite_Timer.prototype.updateBitmap()

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

redraw

method source
Sprite_Timer.prototype.redraw()

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

updatePosition

method source
Sprite_Timer.prototype.updatePosition()

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

updateVisibility

method source
Sprite_Timer.prototype.updateVisibility()

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

Other

fontFace

method source
Sprite_Timer.prototype.fontFace()

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

fontSize

method source
Sprite_Timer.prototype.fontSize()

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

timerText

method source
Sprite_Timer.prototype.timerText()

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