-
Notifications
You must be signed in to change notification settings - Fork 1
Audio
The mod can play audio when switching the state or as auditorial feedback for blocks with timed gimmicks.
Including sound files is optional and not including one will just result in no sound playing.
The possible sound files are to be placed inside the audio
folder and are called:
- autoFlip.xnb
- autoWarn.xnb
- basicFlip.xnb
- countdownFlip.xnb
- countdownWarn.xnb
- groupFlip.xnb
- jumpFlip.xnb
- sandFlip.xnb
Plays when the state of the auto blocks is flipped.
Plays before the auto block switches state to warn the player.
Plays when the state of the basic blocks is flipped.
Plays when the state of the countdown blocks is flipped.
Plays before the countdown block switches state to warn the player.
Plays when the state of a group of blocks is flipped.
Plays when the state of the jump blocks is flipped. (Please be aware that this can get very overwhelming as it will potentially play very often)
Plays when the state of the sand blocks is flipped.
The default amount the sounds is played is 2. The default duration before the sound is played is 1. Will start playing n seconds before the switch where n is the amount of times the sounds is supposed to be played. I.e. If the sound is supposed to be played is 3 times it will start 3 seconds before the actual switch, playing at 3 seconds before the switch, 2 seconds before the switch and 1 second before the switch for a total of the desired 3 plays. If the duration is set to something else the sound will instead play after that duration. Taking the above example and setting the duration to 1.5 seconds, it will instead play at 4.5, 3 and 1.5 second before switch.