Music that reacts to gameplay? We will do that every jam from now on!

๐ŸŽถ Did your team compose a song or even a soundtrack to your game?

Our team was lucky to have a dedicated composer/sound designer. He composed a song for our game. Even if it is only 1 song, it is 3 songs in one! We use evolving music track that fades layering tracks in and out depending on the game state.

The implementation in Unity is very simple. Each of our track layers is 1:30 mins long. When the game starts, they will be all started together each as their AudioSource component. Then we use a very simple coroutine to fade tracks in and out during the game. audiosource-fade-2.png

It is very simple and nothing fancy but it does the trick we wanted to achieve. There are more efficient solutions out there but this way we never had to worry about track layers getting out of sync.


collage.png


๐Ÿ‘‰ PLAY THE GAME IN YOUR BROWSER AND LISTEN TO THE MUSIC ๐ŸŽถ

Leave a link to your game with a banger soundtrack to the comments and we will happily check them out!