Chapter 9. Gemstone Hunter – Standing on Your Own Two Pixels

With our level editor completed, we can now move on to the building of the Gemstone Hunter game itself. As with the other games in this book, we will build on what we have learned in previous projects and introduce some new concepts.

In this chapter, we will cover the following topics:

  • A new approach to animating game objects using named animation strips
  • A more object-oriented approach to game objects
  • Platform game physics, allowing the player to run, jump, and squash enemies
  • Processing map codes when a map is loaded to spawn objects in the game world
  • Using map codes at runtime to generate in-game effects

Animation strips

In all of the other game projects in this book, our graphical resources ...

Get XNA 4.0 Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.