Computer Science Canada Problem with code for game for XNA 3.0 (Visual C# 2008) |
Author: | deathbow2134 [ Sun May 31, 2009 8:44 am ] |
Post subject: | Problem with code for game for XNA 3.0 (Visual C# 2008) |
I am a novice programmer. I am writing a simple space game in XNA game studio for Visual C# 2008. This always happens. I have programmed a sprite class that can switch between animations and update, render, and draw the current frame; as well as moving around. But whenever I use this class, the game becomes very slow and chunky. Also, The gameTime.isRunningSlowly Property equals True. It runs smoothly when I just use the animation class (that animates a non moving image)... is it just poor coding that causes this problem? What can I do? |
Author: | Vermette [ Sun May 31, 2009 9:04 am ] |
Post subject: | Re: Problem with code for game for XNA 3.0 (Visual C# 2008) |
It'd be easier to identify a program bottleneck if we could see the code in question. |