December 2011
Beginner
693 pages
19h 56m
English
One of the joys of working in 3D is that you are free from the shackle of pixels. You can define your world in whatever units you want. The game mechanics that were outlined dictate a limited playing field, so start by defining that field. Figure 12–5 shows you the area of the playing field in the game's world.
Figure 12–5. The playing field
Everything in the world will happen inside this boundary in the x/z plane. Coordinates will be limited on the x-axis from −14 to 14 and on the z-axis from 0 to −15. The ship will be able to move along the bottom edge of the playing field, from (−14,0,0) to (14,0,0).
Next, define ...
Read now
Unlock full access