Summary

Asteroid Belt Assault is now completed! In this chapter we have covered:

  • Implementing a simple particle system to generate dynamic explosion effects
  • Detecting and responding to collisions between the player, shots, enemies, and asteroids
  • Playing sound effects in response to game events
  • Organizing the game state flow into a structure

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.