We are starting a new game , and I'm wondering how to implement time-based movement. Origionally the character zoomed around the screen. To give this a temporary fix I set it up so you can only move 1 time every 4 times it goes through the game loop. The problem is obvious, it goes as fast at the CPU can run through the loop (taking 99% CPU).
I was wondering if any of you know techniques to add time-based movement.
Thanks in advance