Computer Science Canada Different Computers Different Speeds |
Author: | [Flame][Boy] [ Wed Dec 14, 2005 6:59 pm ] |
Post subject: | Different Computers Different Speeds |
Hey guys im making a ball game right now and the ball speed is so ranged from computer to computer is it possible to put sumthin in the code to make it run the same on all pc's. ![]() |
Author: | Paul [ Wed Dec 14, 2005 7:01 pm ] |
Post subject: | |
I've had that problem in grade 10 too ![]() Try looking at the framerate tutorial |
Author: | [Flame][Boy] [ Wed Dec 14, 2005 7:12 pm ] |
Post subject: | |
Wow that tutorial is confusing as hell.. is there a simpler way i heard "Time.DelaySinceLast()" was an easier way but i just don't know where to put it. |
Author: | md [ Wed Dec 14, 2005 8:04 pm ] |
Post subject: | |
First: we can't really help without code. Second, if you do post code make sure it's properly commented and indented ![]() |
Author: | iker [ Wed Dec 14, 2005 8:27 pm ] |
Post subject: | |
use the Time.DelaySinceLast () at the end of a loop for example [code] %variables %procedures proc a.. proc b.. proc c.. %ect.. loop a b c %ect.. View.Update Time.DelaySinceLast ()%see, right at the end of a loop end loop anyways, if i could see some code, even just an example of what your doing, I could tell you exactly where to put it, but make sure you only have one delay or time.delaysincelast in the code,or else it will still vary |
Author: | md [ Wed Dec 14, 2005 8:32 pm ] | ||
Post subject: | |||
iker wrote: use the Time.DelaySinceLast () at the end of a loop
for example
anyways, if i could see some code, even just an example of what your doing, I could tell you exactly where to put it, but make sure you only have one delay or time.delaysincelast in the code,or else it will still vary How hard is it to pres "Preview" before posting?! |
Author: | iker [ Wed Dec 14, 2005 8:43 pm ] |
Post subject: | |
extremely hard ![]() ![]() |
Author: | md [ Wed Dec 14, 2005 8:52 pm ] |
Post subject: | |
iker wrote: extremely hard
![]() ![]() Sorry... me + stress == yelling at people. Yeah not previewing isn't a big deal; but since edits are turned off in the help forums it's a good idea ![]() |