|
-
Jan 16th, 2002, 07:15 PM
#1
Thread Starter
Lively Member
game loop without creating an endless loop?
im trying to setup a loop for my game to draw the scene as many times as it can each second, however, i end up simply creating a loop that stops basically everything. timers do not function, command buttion clicks are ignored, not what i wanted.
so, then i tried a timer, but even at a setting of 1 it was too slow for my purpose. (unless you want to play the game limited to 10 FPS ) so, is there any faster timer system, or a differnt loop system i didnt think of?
thanks
-
Jan 16th, 2002, 07:29 PM
#2
Fanatic Member
Try adding a
DoEvents right after your Do
Code:
Do
DoEvents
'Stuff Happens here
Loop Until Something Happens
If you want you can post some of your code, so we can see how you've set it up.
ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet? 
-
Jan 16th, 2002, 07:37 PM
#3
Thread Starter
Lively Member
well that will prolly work better than the while 0 i was trying to use
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|