Level Music


Author - Cameron Euston

The Problem:

These last few weeks my team and I have been just trying to polish up the game. This week I have mostly been adding in new sound and audio. I was working on the level music that would change for different sections of the level. I thought that this would be easy at first because I would just swap the music when a certain section is reached. However, restarting from a checkpoint threw a wrench in that plan. 

The Solution:

The solution I reached is definitely not the best one out there but it works just to get the game out on time. The solution I settled on was to swap the music whenever a specific puzzle in the level was completed. This worked if you never restarted the level. I then looked at the specific save data associated with those puzzles and did a check at begin play to see if it was completed. I would then play music based off of which puzzles had been completed. Overall, I definitely could improve the system to be more modular but we are at the end of development on the game so we won't be adding any more features anyways.

Leave a comment

Log in with itch.io to leave a comment.