Mail Archives: djgpp/1997/11/25/01:01:44
From: | "J.E." <cellis AT voyageur DOT ca>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Please Help: Allegro 3.0 beta
|
Date: | Mon, 24 Nov 1997 16:47:23 -0600
|
Organization: | Bell Network Solutions
|
Lines: | 26
|
Message-ID: | <347A03FB.4A0B@voyageur.ca>
|
Reply-To: | cellis AT voyageur DOT ca
|
NNTP-Posting-Host: | 207.236.8.28
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I just dl'd the Allegro 3.0 beta, and I have been very impressed so far.
However, I have some questions that can probably be answered fairly
easily:
1. AFAIK, the docs say that true color images don't use palettes, but
the RGB values are stored directly in the pixels (video mem, I guess).
So how many R, G, or B values are there (63? 255?)? Also, how to I
specify a color to use during drawing primitives (like putpixel) if
there is no palette?
2. Now for my next question: How do I create a reasonably fast double
buffering system in true color (24-bit)? I tried using the usual method
(scan under sprites, draw to buffer, blit buffer to screen, erase
sprites), but it's *extremely* slow on my Cyrix 5x86 75mhz (well, I
guess anything's going to be slow on my computer...).
3. Also, does high color (16-bit) use the same "no-palette" methods as
true color? And now my final question: How do I use a transparent
color to draw 24-bit sprites?
Thanks alot for your time and help:-) Especially, thanks to Shawn for
creating such a cool library!! Bye.
-=Hookflash=-
cellis AT voyageur DOT ca
- Raw text -