162. Authoring Particle Systems Using XML & the Content Pipeline

Description:

This tutorial teaches you how to extend the Particle3D sample so the particle systems are defined by XML files loaded with the XNA Content Pipeline.


Sample Overview

In the original version of the sample, each particle system was defined by using a separate class that derived from the abstractParticleSystem base class, and overloaded the InitializeSettings method to specify how the particle system should be displayed. That meant you had to create a new class any time you wanted to add a new type of particle, and had to recompile your game any time you modified one of these classes to alter the particle behavior. Using external XML files allows you to create and tweak any number of different particle systems without needing to change the main game executable.





Downloads


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.