delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/18/09:00:20

From: Fabrice ILPONSE <fabrice AT trash DOT lip6 DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: drawing methods
Date: Thu, 18 Dec 1997 11:25:06 +0100
Organization: Universites Paris VI/Paris VII - France
Lines: 26
Message-ID: <3498FA02.1AEE@trash.lip6.fr>
References: <677lcj$qmv$2 AT newsfep4 DOT sprintmail DOT com>
NNTP-Posting-Host: asim.lip6.fr
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ionicis wrote:
> 
> What's the fastest, best looking (meaning no "flicker" when redrawing
> screen) animation method for use with mode 13h?  I made a beginner's
> (which I am) graphics program, which moves a box around according to
> your keystrokes.  However, everytime the box moves it flickers.  The
> "method" I'm using is to first clear the screen (totally black) and then
> draw the box.  I know this method probably sucks, but I was just
> wondering what's the best method for flicker-less animation.
> Thanks!
> 
> Ionicis

- Bank swapping. Not possible in normal 13h mode. You can try mode X but
you've got to manage some bit plans.

- Blitting. Easy but slower than swapping!!

-- 
	^ ^ ^
	| | |
	+-+-+	Fabrice ILPONSE
	  |	<fabrice AT asim DOT lip6 DOT fr>
	  |
	  |
	  -

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019