Connor Bradley
Connor Bradley

Reputation: 11

XNA Game gets more laggy each time it is run

I'm currently having a problem with an 3D XNA game/simulator I am developing with the Kinect SDK. When I open the solution and run it, each time it is run it will get more and more laggy until its almost at a standstill. If I close and reopen the solution it will still be as laggy until I restart the computer.

Any ideas why this might be happening, and what I can do about it? I assumed that when the game is closed, all the resources it's been using would be freed up, therefore giving the same performance each time it's ran.

Thanks in advance

Upvotes: 1

Views: 121

Answers (1)

namespace
namespace

Reputation: 434

Could it be that the game should overwrite some files, as example a list of tiles which gets loaded on the start but the game doesn't overwrite them - the game append the whole list to the existing file - so every time there is more to load.

Would be my theory.

Upvotes: 2

Related Questions