|
-
Nov 29th, 2002, 02:16 PM
#1
Thread Starter
Junior Member
Control program speed
This is the code I use to control the speed of my games and visual demos:
While DoEvents
If Speed < GetTickCount Then
Speed = GetTickCount + SP (var)
'my program'
End If
Wend
This is often too slow for what I need. What is a better way of doing this so it will run faster?
Spraky84
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
|