Trying to understand game speed regulation
I'm working on a space shooter to learn Allegro, but working with regulating game speed is still a bit hazy.
I understand volatiles and locking just fine. I was able to program the game to display fps and all.
When it comes to regulating game speed, I'm still a little confused. The tutorials I've read haven't really helped me to understand why things go where. I get close, but I'm not grasping the whole concept.
Can someone try to explain how the concept works?