FPS Limiting

Blitz3D Forums/Blitz3D Programming/FPS Limiting

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Nah that defies the whole purpose of the timing code above it Chief =]

darklordz, sorry to state the obvious but I presume PERIOD and TIME are previously initialised? ;]

Also remember that the expression 'Until ELAPSED%' will only wait so long as ELAPSED% is not 0 - is it possible that TIME%=TIME%+PERIOD% could ever give a greater number than MilliSecs()? I'd use 'Until ELAPSED%>0' to be sure.