In the game I’m currently working on there is a menu where you need to hold spacebar to load a character portrait box to completion which triggers a little ‘snap’ sound and a tick on screen to show you have fully powered up - and you keep this held while you wait for all players to fully power up or load up to proceed.
However, if you let go of spacebar, your character portrait ‘powers down’ and you’ll need to hold spacebar again to ‘power it up’.
I have 2 sounds:
- Spacebar ‘power up’ sound with a snap at the end (when spacebar is held)
- Spacebar ‘power down’ sound (when spacebar is let go)
I need the ‘power down’ sound to interrupt the ‘power up’ sound in case the player lets go of spacebar in the middle of a ‘power up’ phase. How best can i do that in FMOD?
So here’s all the things I need to cover:
-
Player holds spacebar - ‘power up’ sound loads and we have a little ‘snap’ to completion (this is all on the one audio sample)
-
Player lets go of spacebar (which they can do after a full power up) - this triggers ‘power down’ sound.
-
Player is holding space bar but lets go before the full ‘power up’ sequence is done therefore interrupting it with a ‘power down’ sound.
I hope this isn’t too confusing but how best can I achieve all this in FMOD?
Thanks!