DPSF 1.5.3 to 1.5.4
|Top Previous Next|
1 - DPSF DLL files are now found in "C:\DPSF (XNA 3.1)"
The default installation directory for DPSF has been changed from "C:\DPSF" to "C:\DPSF (XNA 3.1)", so you will need to remove the DPSF references from your projects, and re-add it from the new location. For instructions on how to add the reference to your project, see here. This change was made to allow the new XNA 4.0 compatible version of DPSF (v188.8.131.52 and higher) to be installed along-side the XNA 3.1 compatible versions of DPSF.
2 - The AutoInitialize() function now requires 3 parameters
The virtual AutoInitialize() function has been update to require a 3rd parameter, so you will need to update the overridden AutoInitialize() function in all of your particle systems from:
public override void AutoInitialize(GraphicsDevice cGraphicsDevice, ContentManager cContentManager)
public override void AutoInitialize(GraphicsDevice cGraphicsDevice, ContentManager cContentManager, SpriteBatch cSpriteBatch)
The new SpriteBatch parameter allows you to pass in a custom SpriteBatch object to use to draw Sprite particle systems, rather than each Sprite particle system using their own SpriteBatch objects. By using a single SpriteBatch object to draw all of the Sprites in your game, proper Sprite depth sorting can be achieved much easier.