Project updates
To start, we'll update our project by adding the new sounds to the game. Then, we'll add a new section to our project settings XML file.
Adding new assets
In the assets
folder, make a new folder named audio
. Copy all of the new files provided for this chapter into the newly created assets/audio
folder. These files are a collection of MP3 and OGG files. Each sound has an MP3 and OGG version; we'll get into why that is shortly, but here's a rundown of what each sound is:
music_fanfare
: This is music that will play on the title screen and level-end screen. It's got an upbeat, triumphant sound to it. This will get players excited to start playing and will keep them engaged after they eventually lose the game.music_ingame
: This is the music that will play during gameplay. It's fast paced and has a sci-fi style sound to it. This will keep the gameplay feeling energetic.sound_whoosh
: This is a whoosh sound effect that will play when the star on the title screen slides in and when...