Class in reactor_managers.js

SoundManager

32 public functions in 3 groups · show internal (_) functions

The Database: everything Core loads at boot.

Familiar territory. SoundManager 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 1

loadSystemSound() Loads the system sound.

Actions 28

playSystemSound() Plays the system sound.
playCursor() Plays the cursor.
playOk() Plays the ok.
playCancel() Plays the cancel.
playBuzzer() Plays the buzzer.
playEquip() Plays the equip.
playSave() Plays the save.
playLoad() Plays the load.
playBattleStart() Plays the battle start.
playEscape() Plays the escape.
playEnemyAttack() Plays the enemy attack.
playEnemyDamage() Plays the enemy damage.
playEnemyCollapse() Plays the enemy collapse.
playBossCollapse1() Plays the boss collapse1.
playBossCollapse2() Plays the boss collapse2.
playActorDamage() Plays the actor damage.
playActorCollapse() Plays the actor collapse.
playRecovery() Plays the recovery.
playMiss() Plays the miss.
playEvasion() Plays the evasion.
playMagicEvasion() Plays the magic evasion.
playReflection() Plays the reflection.
playShop() Plays the shop.
playUseItem() Plays the use item.
playUseSkill() Plays the use skill.
playTypedRecovery() Slots 24-25 postdate the 24-slot MZ sound schema, so a project last saved before they existed has no entry at…
playMpRecovery() Plays the mp recovery.
playTpRecovery() Plays the tp recovery.

Other 3

preloadImportantSounds() Preload important sounds.
systemSoundSlot() System sound slot.
systemSoundVariants() Kept in its old shape and meaning; it no longer sits in the play path.

Setup & Creation

loadSystemSound

static source
SoundManager.loadSystemSound(n)

Loads the system sound. (Same as the RPG Maker MZ method of this name.)

Actions

playSystemSound

static source
SoundManager.playSystemSound(n)

Plays the system sound. (Same as the RPG Maker MZ method of this name.)

playCursor

static source
SoundManager.playCursor()

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

playOk

static source
SoundManager.playOk()

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

playCancel

static source
SoundManager.playCancel()

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

playBuzzer

static source
SoundManager.playBuzzer()

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

playEquip

static source
SoundManager.playEquip()

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

playSave

static source
SoundManager.playSave()

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

playLoad

static source
SoundManager.playLoad()

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

playBattleStart

static source
SoundManager.playBattleStart()

Plays the battle start. (Same as the RPG Maker MZ method of this name.)

playEscape

static source
SoundManager.playEscape()

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

playEnemyAttack

static source
SoundManager.playEnemyAttack()

Plays the enemy attack. (Same as the RPG Maker MZ method of this name.)

playEnemyDamage

static source
SoundManager.playEnemyDamage()

Plays the enemy damage. (Same as the RPG Maker MZ method of this name.)

playEnemyCollapse

static source
SoundManager.playEnemyCollapse()

Plays the enemy collapse. (Same as the RPG Maker MZ method of this name.)

playBossCollapse1

static source
SoundManager.playBossCollapse1()

Plays the boss collapse1. (Same as the RPG Maker MZ method of this name.)

playBossCollapse2

static source
SoundManager.playBossCollapse2()

Plays the boss collapse2. (Same as the RPG Maker MZ method of this name.)

playActorDamage

static source
SoundManager.playActorDamage()

Plays the actor damage. (Same as the RPG Maker MZ method of this name.)

playActorCollapse

static source
SoundManager.playActorCollapse()

Plays the actor collapse. (Same as the RPG Maker MZ method of this name.)

playRecovery

static source
SoundManager.playRecovery()

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

playMiss

static source
SoundManager.playMiss()

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

playEvasion

static source
SoundManager.playEvasion()

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

playMagicEvasion

static source
SoundManager.playMagicEvasion()

Plays the magic evasion. (Same as the RPG Maker MZ method of this name.)

playReflection

static source
SoundManager.playReflection()

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

playShop

static source
SoundManager.playShop()

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

playUseItem

static source
SoundManager.playUseItem()

Plays the use item. (Same as the RPG Maker MZ method of this name.)

playUseSkill

static source
SoundManager.playUseSkill()

Plays the use skill. (Same as the RPG Maker MZ method of this name.)

playTypedRecovery

static source
SoundManager.playTypedRecovery(n)

Slots 24-25 postdate the 24-slot MZ sound schema, so a project last saved before they existed has no entry at them at all.

Details

Slots 24-25 postdate the 24-slot MZ sound schema, so a project last saved before they existed has no entry at them at all. An absent slot falls back to Recovery (16) -- the sound those heals already played -- while a slot that is present with a blank name is a deliberate silence, exactly like every other sound slot.

playMpRecovery

static source
SoundManager.playMpRecovery()

Plays the mp recovery. (Same as the RPG Maker MZ method of this name.)

playTpRecovery

static source
SoundManager.playTpRecovery()

Plays the tp recovery. (Same as the RPG Maker MZ method of this name.)

Other

preloadImportantSounds

static source
SoundManager.preloadImportantSounds()

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

systemSoundSlot

static source
SoundManager.systemSoundSlot(n)

System sound slot. (Same as the RPG Maker MZ method of this name.)

systemSoundVariants

static source
SoundManager.systemSoundVariants(n)

Kept in its old shape and meaning; it no longer sits in the play path.