Posted: 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>
Posted: 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
Posted: 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
Posted: 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
Posted: 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..