1. Re: Unhappy BMPs (from Thomas)
On Fri, 25 Aug 2000, Thomas wrote:
>
> It seems my assorted BMPs don't like each other. What I mean by that is I
> can't have both of them looking like they're supposed to. Here's what I've
> written
>
> Only one of them appear correct. In this case 'fstand' is the one that looks
> right because it used the 'all_palette' last, How can I get 'chn' to look right?
The two BMP's use different palettes - i.e. color[12] in BMP 1 may be a
bright red, while color[12] for BMP 2 may be green. When you change to
the second BMP's palette, all bets are off as to what the first one will look
like.
There are a couple of ways around this. The easiest is to download a
copy of PaintShopPro, load all your BMP's into PSP, and convert them
all to use a single palette. Once you've saved them with the new palette,
things will look much better.
And how would I go about 'erasing' a BMP? I want to put another in its place
later. > > -Thanks for your help....
determine the coordinates where the BMP is going to be displayed.
save that area of the screen into a sequence
show the BMP.
when done, show the saved area
In my "Windoz" package on the RDS website, there's a lot of this
kind of thing going on. Take a look at the code, it should be some help.
Regards,
Irv