Changing the Sound When Pausing

Changing the Sound When Pausing

Here we create an implementation which lowers the pitch of the music when the game is paused.
We create three Cues: BGM playback, pause, and resume.
(the actual sound is not paused)

craftv2_tips_performance_pause0.png

Steps

1. Add a Cue.

craftv2_tips_performance_pause1.png

2. Add an action Cue for pausing.

craftv2_tips_performance_pause2.png

3. Add a playback parameter action.

craftv2_tips_performance_pause3.png

4. Edit the playback parameter action.

craftv2_tips_performance_pause4.png

5. Duplicate the action Cue and set the action to bring back the pitch.

craftv2_tips_performance_pause5.png

6. Play the Cues and check the behavior.

craftv2_tips_performance_pause6.png