What You Just Did

Before we get into all of that, let's review what you did this chapter:

  • You learned about particles and particle systems.

  • You created a custom vertex.

  • You created a particle engine that moves, adds, and removes particles to create a sphere-shaped explosion.

  • You created an HLSL effect file that sets the size of the vertices and sets the colors based on texture coordinates.

  • You created a starfield background using a modified particle engine that draws particles but doesn't remove them or move them around.

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.