How do game developers make games run at a certain speed when they have to run on different hardware?

292 views

I’m guessing modern frameworks have this built-in so developers don’t really have to worry so much, but how is it achieved? For example, if I want a character to move at a certain pace no matter what hardware is running, or how much is happening on the screen at the time, how does the code control that?

In: 2

4 Answers

Anonymous 0 Comments

Back in the day game speed used to be tied to CPU speeds which would be a major problem when playing with newer hardware. That’s why the turbo button exists on older computers. It allowed the user to switch to a slower speed so old games would be playable. Modern software uses a real time clock to keep time instead of the CPU.

You are viewing 1 out of 4 answers, click here to view all answers.