delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/31/08:07:18

From: "William J. Urban II" <wjurban AT tca DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: 8 bit palette paint program?
Date: Mon, 31 Jan 2000 03:15:48 -0600
Organization: Posted via Supernews, http://www.supernews.com
Lines: 20
Message-ID: <s9akpv5u5io185@corp.supernews.com>
X-Complaints-To: newsabuse AT supernews DOT com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello again.
    I posted earlier on a problem I was having with the different palettes
but my news reader cant find it for me to respond so I had to start a new
thread.  Well I wrote a quick test code that basically read in two files and
had two separate palette information codes.  So I would blit a big "map" bmp
to the buffer using the map palette, then I switched palette's using
set_palette(sprite_palette); the name of my sprite and when I draw_sprite it
displays it perfectly.  I was pretty happy so I ran a little program to move
the sprite around.  That's when It became ugly.  everytime it redrew and
changed palettes the screen would flicker between palettes and it was just
terrible.  Hmmm.  So I guess now I need to find a paint type program that I
can adjust the palette and use the same palette for all my sprites.  If I am
understanding this right, I can make a palette of 256 colors and keep using
those same 256 colors on all my sprites and maps and it should work fine.
The paint with windows is ok except I need to have a larger selection from
my 256 colors available for me to use to shade and highlight with.  Any
suggestions?  And thanks in advance.
-Will


- Raw text -


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