Delay 10 causes stutter on my game running on delta time
Delay 1 runs OK maybe a stutter here and there.
No Delay runs smooth
on all it runs
Delay 10 drops fps to 76fps
Delay 1 drops it to 259fps
No Delay is a whopping 480fps
On RareEarth
http://www.blitzbasic.com/gallery/view_pic.php?id=196&gallery=&page=3
If your progam is a tool then a delay may stop crashes
If it's a full 3D game then I would say let it hog the
processor.
It seems using Delay at all, even to limit frame rate kills the processor time for your game. I might suggest
writing your own delay routine since it seems Delay is
doing some other things than just waiting in a loop.
Delay 1 runs OK maybe a stutter here and there.
No Delay runs smooth
on all it runs
Delay 10 drops fps to 76fps
Delay 1 drops it to 259fps
No Delay is a whopping 480fps
On RareEarth
http://www.blitzbasic.com/gallery/view_pic.php?id=196&gallery=&page=3
If your progam is a tool then a delay may stop crashes
If it's a full 3D game then I would say let it hog the
processor.
It seems using Delay at all, even to limit frame rate kills the processor time for your game. I might suggest
writing your own delay routine since it seems Delay is
doing some other things than just waiting in a loop.