Limiting Frames?

Blitz3D Forums/Blitz3D Beginners Area/Limiting Frames?

Jaydubeww(Posted 2008) [#1]
I'm kinda confused on how to limit frames in my game, I was looking at some code when I came accross this:

Timer = MilliSecs()
...
...
.Main
If MilliSecs() > Timer + 1 Then Goto Render Else Goto Main

Can someone explain to me how this limits the frames produced? I can use it but I prefer to know how it works first.


Gabriel(Posted 2008) [#2]
http://www.blitzbasic.com/Community/posts.php?topic=77410


Jaydubeww(Posted 2008) [#3]
Thanks Gabriel, I have alot of fun reading to do now.