Day 32: How to Build and Test your Unity Game
Objective: Build the Game and test in a Windows setting.
So you are ready to test your game in windows and out of the editor. The first thing we need to do is go to File-> Build Settings.
We will need to make sure that the scenes are in and in the correct order. Next it to make sure PC, Mac & Linux Standalone is selected. If it is not in the bottom right corner, you’ll see switch platforms. Select it and let it recompile.
Before we Build it, we need to make sure the game isn’t set to full screen. To make sure, click on Player settings.
Under player and resolution and presentation, look for Fullscreen Mode. We can put it on window. The reason for this is when we are ready to close the game we won’t have to use alt+ctrl+del to get out of it. We’ll be able to just hit the ‘X’ at the top right.
Next is to go back to Build Settings and click build. It’ll ask you where you want to save it. Select where you would want the build to be saved.
After it’s done, we can go to where it was saved and run the game.
Here is all the files for the built project. We can select the file that is named the same as the project name.
You can play your game now on the desktop without having to start up Unity!