Game Development Reference
In-Depth Information
The Skiing project
For this chapter the Skiing game waves goodbye to its old bitmapped graphics and
instead says hello to some new 3D models instead. A screenshot of the game with its
new 3D skin can be seen in the following figure:
The following sections describe some of the other more interesting changes to the
game code for this chapter.
Migration to 3D
The first step was to change all position and velocity information from being 2D
vectors to 3D vectors, which meant changing CIwVec2 instances to CIwFVec3 and
making sure that the extra component in the vector was initialized.
 
Search WWH ::




Custom Search