Chapter7.Implementing the Player and Blocks


Chapter 7. Implementing the Player and Blocks

With the user interface screens implemented, you now have a way to get an actual game started from within your game. As you are probably aware, you currently have nothing to play. The implementation of the game logic hasn't happened yet, and you have no code written to maintain any of the game state, outside of the user interface screens.

You need an object that will hold the implementation for both your player and the blocks that compose the level. Obviously, the player class is pretty important because you need something to control to play the game. The blocks are equally important because they are what you use to render the actual level. During this chapter, you will design and implement these features.

In this chapter, you'll learn

  • How to design and implement the player class

  • How to design and implement the block class



Beginning 3D Game Programming
Beginning 3D Game Programming
ISBN: 0672326612
EAN: 2147483647
Year: 2003
Pages: 191
Authors: Tom Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net