What You Just Did

You're now very close to having something worthy of your newly developed XNA prowess. In the next chapter, you'll fine-tune the game and wrap up your 2D development. In the meantime, let's reflect on what you just accomplished:

  • You learned some background to artificial intelligence.

  • You created a factory for sprites that creates sprites at random intervals.

  • You learned about irrelevant objects and what to do with them to improve game performance.

  • You created a chasing sprite that follows a player across the screen.

  • You created an evading sprite that runs from a player.

  • You drank from the fount of XNA goodness.

Get Learning XNA 3.0 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.