[pascal]procedure TfrmMain.GameLoop(Sender: TObject; var Done: Boolean);
begin
blah;
Sleep(0);
Done := False;
end;
[/pascal]
If you want to maintain concrete FPS when you should play with Sleep(positive number).
[pascal]procedure TfrmMain.GameLoop(Sender: TObject; var Done: Boolean);
begin
blah;
Sleep(0);
Done := False;
end;
[/pascal]
If you want to maintain concrete FPS when you should play with Sleep(positive number).
There are only 10 types of people in this world; those who understand binary and those who don't.
Bookmarks