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

Username:   Password: 
 RegisterRegister   
 Controlling Game Speed
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Jephir




PostPosted: Sat Oct 13, 2007 10:31 am   Post subject: Controlling Game Speed

Is there any way to control the speed at which my game runs? I know there's Time.Delay, but I need something that will run consistently on any computer.
Sponsor
Sponsor
Sponsor
sponsor
Saad




PostPosted: Sat Oct 13, 2007 10:44 am   Post subject: RE:Controlling Game Speed

Look up Time.DelaySinceLast(time)
Jephir




PostPosted: Sat Oct 13, 2007 10:48 am   Post subject: RE:Controlling Game Speed

Thanks! It seems to work perfectly.
Dabond




PostPosted: Wed Oct 17, 2007 10:18 am   Post subject: Re: Controlling Game Speed

delay(time in milliseconds)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: