Hey there!
Here is your first question:
Originally Posted by
you
Note : This is a Dual-Core CPU. So it's possible that when you use time-based movement it'll have problems on dual cores and cause choppy or wrong movement. So please try to use hi-speed timers like QueryPerformanceCounter as they work. If you're unsure about this please ask, and I'll tell how to use that one for proper timing
and Im not sure what you mean.
I usually write games in this type of set up in the main loop:
Code:
...
gettime(...);
timenow := s100 + sec*100 + min*100*60 + hr*100*60*60;
if timenow-timebefore >= timedelay then
begin
Move_Guy;
timebefore:=timenow;
end;
...
Is this what I'm NOT supposed to do, or is it something completely different?
Cheers
Bookmarks