I've been looking around at various ways to lock-down framerate to to a solid 60Hz for a *simple arcade game* using a variety of methods:
a) FLIP
b) VWAIT: FLIP FALSE
c) DELTA-TIME & FRAME-LIMITING CODE
I still haven't come across any example when sprites are moving smoothly ALL THE TIME. There always seems to be a moment when the sprites jerk at some point regardless of the methods used. My system is a 1.8GHz CPU with 1GB Ram and a Radeon 9800 Pro on XP SP2 with no other apps running.
Can somewhere tell me this IS avoidable, or is Blitz3D always effected in this way ?
For example, looking at this delta-timing example (below). Initially it looks fine when user switches to Delta Time but I still get the inevitable "glitch" in the movement:
http://home.cmit.net/rwolbeck/programmingtutorial/
Is there better code to avoid these movement "glitches" ?
a) FLIP
b) VWAIT: FLIP FALSE
c) DELTA-TIME & FRAME-LIMITING CODE
I still haven't come across any example when sprites are moving smoothly ALL THE TIME. There always seems to be a moment when the sprites jerk at some point regardless of the methods used. My system is a 1.8GHz CPU with 1GB Ram and a Radeon 9800 Pro on XP SP2 with no other apps running.
Can somewhere tell me this IS avoidable, or is Blitz3D always effected in this way ?
For example, looking at this delta-timing example (below). Initially it looks fine when user switches to Delta Time but I still get the inevitable "glitch" in the movement:
http://home.cmit.net/rwolbeck/programmingtutorial/
Is there better code to avoid these movement "glitches" ?