Game Development Reference
In-Depth Information
The next thing we need to do is set up Snap to grid . By doing so, our turrets can snap to
the grid. Click on the View tab at the top of the screen. It is shown in the following
screenshot. Once you are there, select the Snap to grid checkbox.
Doing so will snap any object to the grid of 32 by 32 pixels. You can change the grid
size, but make sure that the grid size can be divided with the numbers of our screen resol-
ution (which is 640 by 480 ). The current grid size, 32 by 32 , does divide evenly
between these two numbers.
Search WWH ::




Custom Search