Game Timing
Blitz3D Forums/Blitz3D Programming/Game Timing
| ||
I want to run my game so that it runs six (or maybe ten) frames at a time. I only want it to readcommands,etc every somany frames. Yet still renderworld/animate at a consistant time, any thoughts/code? Thanks |
| ||
You could use a combination of a timer and a counter. Set your loop up with a timer at 10fps or whatever, then use a counter to process the other stuff every 2nd or 3rd iteration of the loop. Something like that should do the trick. |