delorie.com/archives/browse.cgi | search |
From: | Temujin <temujin AT sentex DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Allegro Dirty Rectangles question. |
Date: | Thu, 14 Aug 1997 16:11:09 -0700 |
Organization: | Sentex Communications |
Lines: | 9 |
Message-ID: | <33F3908D.16DF@sentex.net> |
NNTP-Posting-Host: | 207.245.212.84 |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I'm muddling through the demo.c that comes with Allegro to figure out how to do dirty trangles (mainly because it flys compared to the other screen updating techniques in SVGA modes). What I was wondering is this, is there a piece of code or like some sample code that uses dirty triangles to move around like 2 bmp/sprites on the screen? Just something basic like that so it would be just a matter of duplicating it many times to get more objects. To me atleast the dirty triagle stuff is a little strange mainly because I'm use to doing the old double buffer method.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |