On Thu, 30 May 2002, Robert Purcell wrote:
> Ah-ha! I see... Okay, well, if I create my own data format,
> then I can't use WinDrawBitmap. So, I will have to write directly
> to video memory? But, I've heard that this is not recommended!
let me tell you about a little secret...
a) writing direct to screen = no no
b) writing direct to an offscreen window = a-ok :)
> What do you think about this? Do you write directly to video memory
> in your games (Lemmings)?
well, we cheat :)
if we know the hardware, we write directly to video memory :)
if not, we use an API to copy from our offscreen buffer to the
main display window :)
> Thanks for your insight, Aaron...you've been very helpful! :)
if you use your own format, you need to decode it yourself :)
it is nice to have custom formats - to protect your graphics,
but, its not 100% necessary; as, anyone with enough patience and
willpower will get it from POSE.
we used an lz77 similar compression algorithm in lemmings,
got large 640x128 images down to 6-7k a pop *WAY BETTER* than
what the compression you get from pilrc in Tbmp is :P
only problem is, we had to write these compression algorithms *g*
// az
[EMAIL PROTECTED]
http://www.ardiri.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/