Audio
Sound Types
There are 4 different channels for sounds.
Background music (BGM) - Exclusively used for music.
Sound effects (SFX) - Used to play object and environment sounds.
Voice - Used for dialog (Note: Sonic's in-game grunts count as dialog as well).
Break - Used for audio that should be muted during break skills.
Group Sounds
For spatial sounds that play at the same time (i.e. spike panels, enemy spawning, etc.), attach the "GroupAudioStreamPlayer3D.cs" script. This script makes the sound effect's volume "duck" depending on how many other sounds in that group are already being played. Without it, sound effects often end up becoming too loud.
Guidelines for creating the group names:
Groups should be written in snake_case.
Each object should have its own group.
Specific actions should be formatted as object_action.
Examples of group names: spike_panel, majin_spawn, majin_flame.