
-----------------------------------
SAValkyrie
Thu Dec 13, 2012 9:56 am

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


-----------------------------------
Insectoid
Thu Dec 13, 2012 3:51 pm

RE:Lag in a game and other things
-----------------------------------
[code]delay (10) 
View.Update 
cls [/code]

What is this code doing?

-----------------------------------
SAValkyrie
Thu Dec 13, 2012 9:01 pm

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
Thu Dec 13, 2012 10:12 pm

RE:Lag in a game and other things
-----------------------------------
In what exact order does it accomplish those things?

-----------------------------------
SAValkyrie
Thu Dec 13, 2012 11:04 pm

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..
