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

Username:   Password: 
 RegisterRegister   
 Lag in a game and other things
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
SAValkyrie




PostPosted: Thu Dec 13, 2012 9:56 am   Post subject: Lag in a game and other things

What is it you are trying to achieve?
Our group is making a bomberman turing game. It is working well but it is already really laggy. It would be awesome if anyone would be able to solve that problem. Also, I need some advice how to do character rotation, bomb collison etc. Thanks for help.





Please specify what version of Turing you are using
<Answer Here>



Bomberman Game.zip
 Description:

Download
 Filename:  Bomberman Game.zip
 Filesize:  1.69 MB
 Downloaded:  101 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Dec 13, 2012 3:51 pm   Post subject: RE:Lag in a game and other things

code:
delay (10)
View.Update
cls


What is this code doing?
SAValkyrie




PostPosted: Thu Dec 13, 2012 9:01 pm   Post subject: Re: Lag in a game and other things

It updates the movement of the character... and it gives 0.01 sec of delay to it. Also, it clears the previous movement of the character. Isn't that right?
DemonWasp




PostPosted: Thu Dec 13, 2012 10:12 pm   Post subject: RE:Lag in a game and other things

In what exact order does it accomplish those things?
SAValkyrie




PostPosted: Thu Dec 13, 2012 11:04 pm   Post subject: Re: Lag in a game and other things

ummm... it delays the movement of the character for 0.01seconds and then shows me the updated coordinates of a picture and then it clears everything..
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  [ 5 Posts ]
Jump to:   


Style:  
Search: