Class in reactor_managers.js

EffectManager

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

The Database: everything Core loads at boot.

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

Setup & Creation 2

load() Load.
makeUrl() Makes the url.

Checks (True / False) 1

isReady() Whether it is ready.

Actions 2

startLoading() Starts the loading.
clear() Clear.

Events, Commands & Input 2

onLoad() Called when load happens.
onError() Called when error happens.

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 source
EffectManager.load(filename)

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

makeUrl

static source
EffectManager.makeUrl(filename)

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

Checks (True / False)

isReady

static source
EffectManager.isReady()

Whether it is ready. (Same as the RPG Maker MZ method of this name.)

Actions

startLoading

static source
EffectManager.startLoading(url)

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

clear

static source
EffectManager.clear()

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

Events, Commands & Input

onLoad

static source
EffectManager.onLoad(/*url*/)

Called when load happens. (Same as the RPG Maker MZ method of this name.)

onError

static source
EffectManager.onError(url)

Called when error happens. (Same as the RPG Maker MZ method of this name.)

Other

sceneLayer

static source
EffectManager.sceneLayer()

The in-scene layer when screen animations play there (Sprite_Animation.SceneLayer), else null.

checkErrors

static source
EffectManager.checkErrors()

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

throwLoadError

static source
EffectManager.throwLoadError(url)

Throw load error. (Same as the RPG Maker MZ method of this name.)

preloadMap

static source
EffectManager.preloadMap(mapData)

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

mapAnimationIds

static source
EffectManager.mapAnimationIds(mapData)

The animations a map can show: see preloadMap.

preload

static source
EffectManager.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.