Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Problem with code for game for XNA 3.0 (Visual C# 2008)
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
deathbow2134




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
Vermette




PostPosted: 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.
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: