From: arg AT whangomatic DOT freeserve DOT co DOT uk (Andrew R. Gillett) Newsgroups: comp.os.msdos.djgpp Subject: Re: Vsync! Date: Thu, 29 Jul 1999 01:10:37 +0100 Organization: www.release-dates.co.uk Message-ID: References: <6uAn3.7443$ip4 DOT 11733 AT nntpserver DOT swip DOT net> <379f2171 DOT 0 AT news DOT uni-bielefeld DOT de> NNTP-Posting-Host: modem-20.indium.dialup.pol.co.uk X-Trace: news4.svr.pol.co.uk 933207068 32477 62.136.24.20 (29 Jul 1999 00:11:08 GMT) NNTP-Posting-Date: 29 Jul 1999 00:11:08 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: MicroPlanet Gravity v2.11 Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In comp.os.msdos.djgpp, Knutte wrote: > Its suppose to make the game slow down to refreshrate of the screen. Maybe > not the best way of making things smooth but the program seem to ignore the > vsync(). If I remove it the result is the same... You should make a routine which uses a timer to work out when to draw the screen. This has the advantage that your game won't run in slow motion on a slow PC, it will just drop some frames. If you can't work out the technique yourself, I can send you some examples. -- Andrew Gillett http://argnet.fatal-design.com/ ICQ: See homepage "Well, as you know Stew, I love my God, my Queen, AND my fellow countrymen. And I can tell you, it's a bugger trying to juggle it so they don't find out about each other." - Richard Herring