Class in reactor_sprites.js
Sprite_Name
17 public functions in 5 groups · show internal (_) functions
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 sourceSprite_Name.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initMembers
method sourceSprite_Name.prototype.initMembers()
Initializes the members. (Same as the RPG Maker MZ method of this name.)
createBitmap
method sourceSprite_Name.prototype.createBitmap()
Creates the bitmap. (Same as the RPG Maker MZ method of this name.)
setup
method sourceSprite_Name.prototype.setup(battler)
Setup. (Same as the RPG Maker MZ method of this name.)
setupFont
method sourceSprite_Name.prototype.setupFont()
Setup font. (Same as the RPG Maker MZ method of this name.)
Getting Information
name
method sourceSprite_Name.prototype.name()
Name. (Same as the RPG Maker MZ method of this name.)
textColor
method sourceSprite_Name.prototype.textColor()
Text color. (Same as the RPG Maker MZ method of this name.)
Actions
destroy
method sourceSprite_Name.prototype.destroy(options)
Destroy. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceSprite_Name.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateBitmap
method sourceSprite_Name.prototype.updateBitmap()
Updates the bitmap each frame. (Same as the RPG Maker MZ method of this name.)
redraw
method sourceSprite_Name.prototype.redraw()
Redraw. (Same as the RPG Maker MZ method of this name.)
Other
bitmapWidth
method sourceSprite_Name.prototype.bitmapWidth()
Bitmap width. (Same as the RPG Maker MZ method of this name.)
bitmapHeight
method sourceSprite_Name.prototype.bitmapHeight()
Bitmap height. (Same as the RPG Maker MZ method of this name.)
fontFace
method sourceSprite_Name.prototype.fontFace()
Font face. (Same as the RPG Maker MZ method of this name.)
fontSize
method sourceSprite_Name.prototype.fontSize()
Font size. (Same as the RPG Maker MZ method of this name.)
outlineColor
method sourceSprite_Name.prototype.outlineColor()
Outline color. (Same as the RPG Maker MZ method of this name.)
outlineWidth
method sourceSprite_Name.prototype.outlineWidth()
Outline width. (Same as the RPG Maker MZ method of this name.)