Re: How can I work with different bitmaps ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thu, 5 Sep 1996, Ricardo Niederberger Cabral wrote:
>
>               How can I display more than one bitmap (each bitmap has it's
> own pallete) in Euphoria ?
>
All bitmaps displayed on the same screen at the same time need to have the
same palette.  You must create a palette suitable for all images, then
remap all the images to that palette.  Autodesk Animator Pro has a nifty
feature for doing that. I'm sure other programs do as well.

Euphoria can only display up to 256 colors on any screen.

If you want to display the images sequentially, one at a time, just do an
all_palette(pal) where pal is the palette sequence for the image you are
displaying next.   If you are using read_bitmap() to load bmp files, you
need to divide the palette by 4 before doing all_palette().

Michael Packard
Lord Generic Productions
lgp at exo.com http://exo.com/~lgp
A Crash Course in Game Design and Production
http://exo.com/~lgp/euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu