Class in reactor_managers.js
EffectManager
13 public functions in 5 groups · show internal (_) functions
Familiar territory. EffectManager 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
Checks (True / False) 1
| isReady() | Whether it is ready. |
Actions 2
| startLoading() | Starts the loading. |
| clear() | Clear. |
Other 6
| sceneLayer() | The in-scene layer when screen animations play there (Sprite_Animation.SceneLayer), else null. |
| checkErrors() | Check errors. |
| throwLoadError() | Throw load error. |
| preloadMap() | Preload map. |
| mapAnimationIds() | The animations a map can show: see preloadMap. |
| preload() | One effect loaded ahead of its first play; false when it is loaded or loading already. |
Setup & Creation
load
static sourceEffectManager.load(filename)
Load. (Same as the RPG Maker MZ method of this name.)
makeUrl
static sourceEffectManager.makeUrl(filename)
Makes the url. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isReady
static sourceEffectManager.isReady()
Whether it is ready. (Same as the RPG Maker MZ method of this name.)
Actions
startLoading
static sourceEffectManager.startLoading(url)
Starts the loading. (Same as the RPG Maker MZ method of this name.)
clear
static sourceEffectManager.clear()
Clear. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onLoad
static sourceEffectManager.onLoad(/*url*/)
Called when load happens. (Same as the RPG Maker MZ method of this name.)
onError
static sourceEffectManager.onError(url)
Called when error happens. (Same as the RPG Maker MZ method of this name.)
Other
sceneLayer
static sourceEffectManager.sceneLayer()
The in-scene layer when screen animations play there (Sprite_Animation.SceneLayer), else null.
checkErrors
static sourceEffectManager.checkErrors()
Check errors. (Same as the RPG Maker MZ method of this name.)
throwLoadError
static sourceEffectManager.throwLoadError(url)
Throw load error. (Same as the RPG Maker MZ method of this name.)
preloadMap
static sourceEffectManager.preloadMap(mapData)
Preload map. (Same as the RPG Maker MZ method of this name.)
mapAnimationIds
static sourceEffectManager.mapAnimationIds(mapData)
The animations a map can show: see preloadMap.
preload
static sourceEffectManager.preload(filename)
One effect loaded ahead of its first play; false when it is loaded or loading already.
Details
One effect loaded ahead of its first play; false when it is loaded or loading already. One let go that loads after all is released, unless it is the cached one by then.