You can never = Millisecs()+1000
because Millisecs is always the current counter.
Have a quick look at this code:
http://www.blitzbasic.com/logs/userlog.php?user=2370&log=435
For the movement, I wanted to do step-by-step walking and turning, but not "jump", but show the turning etc gradually (I did this on the poo pc at work, so might be very quick on most newish PCs.)
Although I haven't specifically linked it to time, it could be simply modified to be time-based instead.
(replacing the ForNext loops with incrementing Timers and checks against Millisecs()
The important note is the calls to the rendering function DURING the movement.
because Millisecs is always the current counter.
Have a quick look at this code:
http://www.blitzbasic.com/logs/userlog.php?user=2370&log=435
For the movement, I wanted to do step-by-step walking and turning, but not "jump", but show the turning etc gradually (I did this on the poo pc at work, so might be very quick on most newish PCs.)
Although I haven't specifically linked it to time, it could be simply modified to be time-based instead.
(replacing the ForNext loops with incrementing Timers and checks against Millisecs()
The important note is the calls to the rendering function DURING the movement.