![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
|
C# Controlling Game Frame Rate
Hey all,
In the good old Win32 ways of doing things, I could control the frame rate of the game by adding something similar to the following to the main application's message loop: dwTime = GetTickCount();
if(dwTime - dwPrevTime > 40) {
Render();
dwPrevTime = dwTime;
}How would I go about getting this sort of control using C# and the .NET framework? kirkl_uk |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|