Familiar territory. ImageManager 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 16
| loadAnimation() | Loads the animation. |
| loadBattleback1() | Loads the battleback1. |
| loadBattleback2() | Loads the battleback2. |
| loadEnemy() | Loads the enemy. |
| loadCharacter() | Loads the character. |
| loadFace() | Loads the face. |
| loadParallax() | Loads the parallax. |
| loadPicture() | Loads the picture. |
| loadSvActor() | Loads the sv actor. |
| loadSvEnemy() | Loads the sv enemy. |
| loadSystem() | Loads the system. |
| loadTileset() | Loads the tileset. |
| loadTitle1() | Loads the title1. |
| loadTitle2() | Loads the title2. |
| loadBitmap() | Loads the bitmap. |
| loadBitmapFromUrl() | Loads the bitmap from url. |
Checks (True / False) 7
| isSystemSheet() | Whether it is system sheet. |
| isReady() | Whether it is ready. |
| isObjectCharacter() | Whether it is object character. |
| isEightDirCharacter() | A sheet tagged [8D] is cut as eight blocks of 3 x 4 frames whatever its "$" says (reactor_sprites.js). |
| isOneDirCharacter() | A sheet tagged [1D] has one row per character, shown whichever way it faces (reactor_sprites.js). |
| isBigCharacter() | Whether it is big character. |
| isZeroParallax() | Whether it is zero parallax. |
Actions 1
| clear() | Clear. |
Other 4
| faceFrames() | A face set with frames says how many in its name: "Name[4F]" (or "Name[F4]") has each of its eight faces four… |
| _checkStalledBitmap() | An image load can silently die without firing onload OR onerror, leaving its bitmap "loading" forever and isR… |
| skipsMissingImages() | System.json rrSkipMissingImages (2000/2003 imports): a picture, charset or other image the game names but nev… |
| throwLoadError() | Throw load error. |
Setup & Creation
loadAnimation
static sourceImageManager.loadAnimation(filename)
Loads the animation. (Same as the RPG Maker MZ method of this name.)
loadBattleback1
static sourceImageManager.loadBattleback1(filename)
Loads the battleback1. (Same as the RPG Maker MZ method of this name.)
loadBattleback2
static sourceImageManager.loadBattleback2(filename)
Loads the battleback2. (Same as the RPG Maker MZ method of this name.)
loadEnemy
static sourceImageManager.loadEnemy(filename)
Loads the enemy. (Same as the RPG Maker MZ method of this name.)
loadCharacter
static sourceImageManager.loadCharacter(filename)
Loads the character. (Same as the RPG Maker MZ method of this name.)
loadFace
static sourceImageManager.loadFace(filename)
Loads the face. (Same as the RPG Maker MZ method of this name.)
loadParallax
static sourceImageManager.loadParallax(filename)
Loads the parallax. (Same as the RPG Maker MZ method of this name.)
loadPicture
static sourceImageManager.loadPicture(filename)
Loads the picture. (Same as the RPG Maker MZ method of this name.)
loadSvActor
static sourceImageManager.loadSvActor(filename)
Loads the sv actor. (Same as the RPG Maker MZ method of this name.)
loadSvEnemy
static sourceImageManager.loadSvEnemy(filename)
Loads the sv enemy. (Same as the RPG Maker MZ method of this name.)
loadSystem
static sourceImageManager.loadSystem(filename)
Loads the system. (Same as the RPG Maker MZ method of this name.)
loadTileset
static sourceImageManager.loadTileset(filename)
Loads the tileset. (Same as the RPG Maker MZ method of this name.)
loadTitle1
static sourceImageManager.loadTitle1(filename)
Loads the title1. (Same as the RPG Maker MZ method of this name.)
loadTitle2
static sourceImageManager.loadTitle2(filename)
Loads the title2. (Same as the RPG Maker MZ method of this name.)
loadBitmap
static sourceImageManager.loadBitmap(folder, filename)
Loads the bitmap. (Same as the RPG Maker MZ method of this name.)
loadBitmapFromUrl
static sourceImageManager.loadBitmapFromUrl(url, fallbackUrls)
Loads the bitmap from url. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isSystemSheet
static sourceImageManager.isSystemSheet(filename)
Whether it is system sheet. (Same as the RPG Maker MZ method of this name.)
isReady
static sourceImageManager.isReady()
Whether it is ready. (Same as the RPG Maker MZ method of this name.)
isObjectCharacter
static sourceImageManager.isObjectCharacter(filename)
Whether it is object character. (Same as the RPG Maker MZ method of this name.)
isEightDirCharacter
static sourceImageManager.isEightDirCharacter(filename)
A sheet tagged [8D] is cut as eight blocks of 3 x 4 frames whatever its "$" says (reactor_sprites.js).
isOneDirCharacter
static sourceImageManager.isOneDirCharacter(filename)
A sheet tagged [1D] has one row per character, shown whichever way it faces (reactor_sprites.js).
isBigCharacter
static sourceImageManager.isBigCharacter(filename)
Whether it is big character. (Same as the RPG Maker MZ method of this name.)
isZeroParallax
static sourceImageManager.isZeroParallax(filename)
Whether it is zero parallax. (Same as the RPG Maker MZ method of this name.)
Actions
clear
static sourceImageManager.clear()
Clear. (Same as the RPG Maker MZ method of this name.)
Other
faceFrames
static sourceImageManager.faceFrames(filename)
A face set with frames says how many in its name: "Name[4F]" (or "Name[F4]") has each of its eight faces four frames wide, so the sheet is 16 faces across and 2 down, frame k of face i at column (i % 4) * 4 + k, the way a character sheet's [NF] is laid.
Details
A face set with frames says how many in its name: "Name[4F]" (or "Name[F4]") has each of its eight faces four
frames wide, so the sheet is 16 faces across and 2 down, frame k of face i at column (i % 4) * 4 + k, the way a
character sheet's [NF] is laid. What the frames hold is the artist's (a mouth opening for speech, a sweep from
the neutral face to an expression); how they are played is the message's (FACE_PLAYS, a Show Text command's
reactorFacePlay). Every other window shows the first frame. 0 for a plain face set, and with System's
rrMultiFrames switched off.
_checkStalledBitmap
static internal sourceImageManager._checkStalledBitmap(bitmap)
An image load can silently die without firing onload OR onerror, leaving its bitmap "loading" forever and isReady() false — a hung boot or scene with zero errors.
Details
An image load can silently die without firing onload OR onerror, leaving its bitmap "loading" forever and isReady() false — a hung boot or scene with zero errors. Polled from isReady() by exactly the code that is blocked waiting. Zero progress for 10s -> retry, for as long as it takes; a file that is really missing fires onerror by itself and takes the load error path (the standard Retry screen).
skipsMissingImages
static sourceImageManager.skipsMissingImages()
System.json rrSkipMissingImages (2000/2003 imports): a picture, charset or other image the game names but never shipped draws nothing, as the old players do, instead of stopping the game on a load error.
Details
System.json rrSkipMissingImages (2000/2003 imports): a picture, charset or other image the game names but never shipped draws nothing, as the old players do, instead of stopping the game on a load error. The bitmap becomes blank once its case-corrected retry has failed.
throwLoadError
static sourceImageManager.throwLoadError(bitmap)
Throw load error. (Same as the RPG Maker MZ method of this name.)