|
From: Ben C. <cro...@ne...> - 2000-02-18 02:19:59
|
Comrades, Being of a rather forgetful mind, I also forgot to give Mike Reynolds an assignment. So here it is, Mike: game timing. Here's the lowdown on it: you usually want the game logic to run at, say, 60 frames per second on *any* computer (386 to Cray supercomputer). That way weird things don't happen. The *graphics* logic -- drawing everything -- doesn't have to run at that speed, however (and on slower computers it simply can't). So it just draws as often as it can, which might be 15 fps on a 486 or the full 60 on a Pentium III. So the assignment is this: to find out how to do this frame rate regulation. We'll need to use Allegro timers, of course. If you have any questions, Mike, feel free to ask me. Later, Ben -- "The ultimate measure of a man is not where he stands in moments of comfort and convenience, but where he stands at times of challenge and controversy." -- Martin Luther King, Jr. |