Book Image

Source SDK Game Development Essentials

By : Brett Joseph Bernier
Book Image

Source SDK Game Development Essentials

By: Brett Joseph Bernier

Overview of this book

Table of Contents (18 chapters)
Source SDK Game Development Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Navigating in 2D


Navigating in 2D is a bit different than 3D. Each 2D window has scroll bars like any webpage or text document, but there are some tips and tricks that can streamline the process.

Moving around

You can zoom in a 2D view by scrolling up the scroll wheel. Scrolling the scroll wheel down will zoom out. If you do not have a scroll wheel on your mouse, the magnify tool will be your best friend.

The magnify tool works just how you would expect it to: left-click to zoom in and right-click to zoom out.

Tip

The + and buttons on the keypad will also zoom in and out in 2D views if your cursor is inside one of them.

The minimum zoom (all the way out) is 0.01. The maximum zoom (all the way in) is 256. The current zoom amount is indicated in the bottom-right corner of the status bar, as shown in the following screenshot:

Panning the view is as easy as holding the Space bar and dragging the screen around with the left mouse button. You can also pan the view by using the up, down, left, and right...