Game Development Reference
In-Depth Information
Getting Started with AngryBots
You probably wouldn't be interested in game development if you didn't like games, so you can guess
the best part—playing! Meet AngryBots, the demo that comes with Unity. Top and center of the
Unity editor you will see the play button (Figure 1-19 ).
Figure 1-19. Unity editor Playmode controls
Hit the play button to start the AngryBots game.
Use the arrow keys or ASDW keys to move, shoot with the left mouse button, and use the mouse to
look around. Go ahead and have a little fun, then click on the play button again to quit the game.
The pause button is to the right of the play button, and the button to its right is used in testing to
step forward through the game.
AngryBots is also great for demonstrating the views that make up the Unity editor interface. The
interface is the window where you interact with the Unity editor. It is made up of a number of views
that can be configured by using the Layout drop-down menu in the upper right of the toolbar. You
can also resize and drag the various views around by their tabs to customize the layout, or have a
view become its own window by dragging it out of the editor window area. You can always return
to the basic layout by choosing Revert Factory Settings in the Layout drop-down menu. The Layers
drop-down menu is useful for hiding and showing different content when your games get more
complex (Figure 1-20 ).
Figure 1-20. Layers and Layout drop-down menu controls
In the upper left corner, you'll see the buttons for four tools: Pan, Move, Rotate and Scale (Figure 1-21 ).
These can also be selected with the Q, W, E and R keys as listed in the Tools table on the Unity Hotkeys
cheat sheet.
Figure 1-21. Pan, Move, Rotate, and Scale tool selectors
To the immediate right of these tools are a couple of toggles that also have corresponding hotkeys
you'll find on the hotkey list you downloaded earlier: Z for the Pivot Mode toggle that switches
between local space and world space, and X for the Pivot Rotation toggle that switches between
center or pivot-point rotation (Figure 1-22 ). You'll learn more about these technical details later; this
is just an introduction to what you see on the editor.
 
Search WWH ::




Custom Search