Ken Sullivan

Now that the core of the game is nearing completion, it is time to start looking at additional frameworks to help build up the gameplay.

First on my to-do list was adding the ability to enable thrusters while a key was pressed. This was done by adding a few if()…

Although it seems like something you see in every game, there is no way to quit a Unity program running in full screen by default. To fix this, I have added a function that allows a user to exit the application when pressing the Escape key.

This is done by…

If you want your game to be playable inside of a browser, first you need to export it from Unity in a compatible format. You can do this by going to your Build Settings and change the platform to WebGL. You may also need to address some compatibility issues before…

Sound effects are a huge part of bringing a game together. They give an audio cue that tells the player something has happened. Everything from collecting coins in Super Mario, to firing a gun in Call of Duty has a sound effect.

Unity makes implementing sound effects quite easy! First…

Sound is essential in bringing your game to life. The right sounds can tie everything together to set a specific scene or mood. I still listen to soundtracks from games I haven’t played in years, because they evoke such strong emotions.

Once you have the music for your game, implementing it into a scene is pretty easy. First, create a GameObject to hold your sound, apply the Audio Source component to hold it, and apply the sound you want to play from your Project pane. Now, as long as this component is enabled and in the scene, the audio will continue to play. Currently, my project has BGM enabled for the main gameplay scene, but when I go back to the main menu, the music stops playing because it is not set up for that scene.