|
-
Apr 27th, 2013, 06:44 AM
#1
Thread Starter
PowerPoster
i need some advices that i can't find easly:(
about frames count:
1 - i capture the actual time with GetTickCount() api function to TempStart.
2 - inside of game loop i count the frames;
3 - i capture the next time with GetTickCount() api function to TempEnd.
4 - i do TempEnd - TempStart and if is more and igual than 1000, i put the frames count to another variable and i reset the frame count.
is these pesudo-code correct?
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
|