Class in reactor_sprites.js

Sprite_Name

17 public functions in 5 groups · show internal (_) functions

The main menu, drawn by Scenes and Windows.

Familiar territory. Sprite_Name 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 5

initialize() Sets up a new instance.
initMembers() Initializes the members.
createBitmap() Creates the bitmap.
setup() Setup.
setupFont() Setup font.

Getting Information 2

name() Name.
textColor() Text color.

Actions 1

destroy() Destroy.

Updating & Drawing 3

update() Update.
updateBitmap() Updates the bitmap each frame.
redraw() Redraw.

Other 6

bitmapWidth() Bitmap width.
bitmapHeight() Bitmap height.
fontFace() Font face.
fontSize() Font size.
outlineColor() Outline color.
outlineWidth() Outline width.

Setup & Creation

initialize

method source
Sprite_Name.prototype.initialize()

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

initMembers

method source
Sprite_Name.prototype.initMembers()

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

createBitmap

method source
Sprite_Name.prototype.createBitmap()

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

setup

method source
Sprite_Name.prototype.setup(battler)

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

setupFont

method source
Sprite_Name.prototype.setupFont()

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

Getting Information

name

method source
Sprite_Name.prototype.name()

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

textColor

method source
Sprite_Name.prototype.textColor()

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

Actions

destroy

method source
Sprite_Name.prototype.destroy(options)

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

Updating & Drawing

update

method source
Sprite_Name.prototype.update()

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

updateBitmap

method source
Sprite_Name.prototype.updateBitmap()

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

redraw

method source
Sprite_Name.prototype.redraw()

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

Other

bitmapWidth

method source
Sprite_Name.prototype.bitmapWidth()

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

bitmapHeight

method source
Sprite_Name.prototype.bitmapHeight()

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

fontFace

method source
Sprite_Name.prototype.fontFace()

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

fontSize

method source
Sprite_Name.prototype.fontSize()

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

outlineColor

method source
Sprite_Name.prototype.outlineColor()

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

outlineWidth

method source
Sprite_Name.prototype.outlineWidth()

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