Easiest Way To Implement "Slow Motion" and variable game speed in XNA?
- by TerryB
I have an XNA 4.0 game that I want to be able to switch into slow motion and back again to full speed every now and then.
So if you kill an enemy the game switches into slow motion as they explode and then goes back to normal.
What is the easiest way to do this in XNA 4.0 without having to alter all my existing code that relies on GameTime?
I have some code that relies on the TotalGameTime, which will be wrong unless I get XNA to slow down. Is there anyway to avoid refactoring that code?
Thanks!