From: "Christian Werle" Newsgroups: comp.os.msdos.djgpp Subject: Re: Using timers to speed up a program Date: Sun, 2 Jul 2000 00:39:09 +0200 Organization: callisto germany.net GmbH Lines: 27 Message-ID: <8jls7k$bv1$1@onlinenews.germany.net> References: <395e61e0_2 AT spamkiller DOT newsfeeds DOT com> NNTP-Posting-Host: stachel22.kaktus.fh-mannheim.de X-Trace: onlinenews.germany.net 141.19.29.22 962491444 12257 9a7e06 X-Complaints-To: news AT germany DOT net NNTP-Posting-Date: 1 Jul 2000 22:44:04 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com [.....] > If anyone can > find a way of increasing the tick rates of the following program, I would > greatly appreciate it. Thank you. [.....] > do > { > game_time = 0; > > clear(dbl_buffer); I never tried it but here is an idea: Instead of clearing the main video buffer every frame, backup the part of the dbl_buffer where your ship will be the next frame, then just update that part of dbl_buffer where the ship was. I don't know for sure if this was what you wanted to know. --- Shadax