Stop! Hammer time
Now that you've seen some of what Unity can do, it's time to download the program and kick the tires! The free version of Unity is available for a low price of... well, free (at the time of this writing) from the Unity 3D website.
Go to http://unity3D.com.
Click on the Download button.
Download the latest version of the Unity 3D authoring tool for your platform—Mac or PC. If you are given the option, make sure to download the sample project along with the program.
Follow all the onscreen prompts until the Unity authoring tool has finished installing.
Launch Unity!
Fight Some Angry Bots
After a quick registration process, Unity is ready to go. With any luck, the AngryBots Demo will automatically open. If it doesn't, and you're faced with a dialogue asking you to open a project, you can find the AngryBots Demo in the following location by default:
Max OS:
/Users/Shared/Unity/4-0_AngryBots
Windows XP:
C:\Documents and Settings\All Users\Documents\Unity Projects\4-0_AngryBots
or
C:\Documents and Settings\All Users\Shared Documents\Unity Projects\4-0_AngryBots
Windows 7/ 8/ Vista:
C:\Users\Public\Public Documents\Unity Projects\4-0_AngryBots
If you thought you'd be a rebel and you unchecked the sample projects box when you downloaded Unity, you may find yourself re-downloading Unity to get the AngryBots Demo. You can pull down other sample learning projects, such as the AngryBots Demo from the Unity website:
http://unity3d.com/support/resources/example-projects/
Note
These paths may change depending on which version of Unity you've downloaded. As the Unity Technologies team improves the software, they launch new and more impressive demos to show off what Unity can do. If you're reading this book, and your copy of Unity 3D launches a different demo project, or if the Angry Bots Demo is no longer available by the time you begin reading this book, don't freak out! Everything we're about to discuss can be generally applied to most demos.
When the Angry Bots Demo first opens, you may see a splash screen referring you to different tutorial resources and language guides. How helpful! Now close it (don't worry, it'll be there next time, unless you uncheck the Show at Startup box). If you checked the box but you'd really like to see that welcome screen again, look in the menus under Help | Welcome Screen. In the menus, click on Window | Layouts | 2 by 3 to see the different panels that we're about to tour.
After the panels have repositioned themselves, look for the Project panel. It should be one of the three vertically oriented panels on the right half of your screen. At the top right of the Project panel is a very small button that looks like a downward-facing triangle next to three horizontal lines. Click there, and choose One Column Layout from the resulting context menu. This will get an annoying split view out of your way:
If you don't see all the fancy highfalutin' 3D jazz going on in the Scene and Game windows, you may just need to load the main game scene. To do this, find the Scene called AngryBots at the top of the Project panel (it has a black-and-white Unity icon next to it), and double-click it.
To try out the demo, click on the Play button at the top center of the screen:
You can walk around the Angry Bots Demo using the WASD keys on your keyboard. Hold down the left-mouse button to fire your boomstick at the aggravated automatons. When you're finished exploring, press the Esc key to pause the game and regain mouse control. Then click on the Play button again to end the demo: