07-09-2003, 07:01 AM
Well, I have to say it again: You have to use the couple of WAITs (not just one), or you won't avoid flicker:
General explanation on WHY both lines (and not only the first) have to be used is here: http://faq.qbasicnews.com/?blast=VerticalRetrace (almighty, almighty FAQ )
This will give ya a pseudoprecise 60 to 70 fps (a number in between) depending on several factors such as program effectivenes, computer speed, and some neat and scary stuff
Never use a FOR/NEXT to make your prog going slower, 'cause in a slower computer it will run slower, and in a faster computer it will run faster. Imagine that you tune your speed for a 200 Mhz computer... How could a 3 Ghz computer owner be able to play it?
Code:
WAIT &H3DA,8
WAIT &H3DA,8,8
General explanation on WHY both lines (and not only the first) have to be used is here: http://faq.qbasicnews.com/?blast=VerticalRetrace (almighty, almighty FAQ )
This will give ya a pseudoprecise 60 to 70 fps (a number in between) depending on several factors such as program effectivenes, computer speed, and some neat and scary stuff
Never use a FOR/NEXT to make your prog going slower, 'cause in a slower computer it will run slower, and in a faster computer it will run faster. Imagine that you tune your speed for a 200 Mhz computer... How could a 3 Ghz computer owner be able to play it?
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i