Summary

Chapter 3 has looked at ways to add some polish to the basic Flood Control game that was presented in Chapter 2. We have looked at:

  • Creating classes that inherit from existing classes to extend their functionality
  • Using the advanced form of the SpriteBatch.Draw() method to add basic animations to the Flood Control game
  • Adding SpriteFonts to the project and using them to draw text to the screen
  • Expanding the basic Game State system used in Chapter 2 to allow for a complete Title | Playing | Game Over cycle
  • Adding increasing levels of difficulty as the player progresses through the game

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.