Trying to import character animations in 256 colors...

Started by King Teddy Wogan, Wed 17/12/2003 13:40:44

Previous topic - Next topic

King Teddy Wogan

I followed the tutorial from Karlfa's Kofee, but when I import the animation frame into the room editor to try and get the colors into the palette, the frame of my character in the room editor is all wacky looking, with odd colors. It also doesnt add any colors into the palette editor like it was supposed to. I've been trying to get this darned palette working all day, and my character only uses 17 colors for heavens sake! Is there any advice anyone might be able to give me?

Isegrim

I remember those weird palette issues being talked about before...
One thing you could try (MIGHT work, but also may not) is copy/paste (you can import sprites from the clipboard) or maybe try saving them in a different format (BMP/PCX or so...)

This post was generated automatically and therefore bears no signature.

juncmodule

Are there lots of room-dependant colors X'd out? Are you using the import background option or import background (exact palette)?

I would recommend creating a palette with your 17 colors and trying to import that into AGS first.

Just draw a square and put each color into the square. Go into the Palette editor in AGS and "uncheck" all of the slots. Choose import slots from file.

When you are done, lock down all of the unused slots. export the palette. Open your image editor and resave your images with the newly created Palette.

You shouldn't have any problems if you follow that step-by-step. It helps to have a really good understanding of how your image editor handles palettes too.

Be warned, photoshop is HORRIBLE at handling palettes internally. If you are using it and still have difficulties post and let me know, I've become rather used to it. If you are using another program I'm afraid you will have to learn on your own.

Another thing that may be handy for you is "Palette Suite 2" Google for it, it is a free download and very small. It is a palette manager, very useful.

good luck,
-junc

King Teddy Wogan

Hey there!

Thanks so much guys, I was doing the wrong background import (doh!). The trouble is, it inserts all the colors at the bottom of the palette. I have the Palette Suite 2, is this good fore reversing the pattern order?

King Teddy Wogan

I've given it a go, and it just keeps on insiting on putting the colors either all the way at the bottom, or just fill all the spaces with black, possibly because the colors are already in use by the locked colors. Shouldn't it just insert the colors in the boxes that I tell it to?

Oh and also, is 17 colors for my main characters animations too much?

Scorpiorus

QuoteI've given it a go, and it just keeps on insiting on putting the colors either all the way at the bottom
Use the exact background import, as juncmodule suggested, and.....
Quoteor just fill all the spaces with black, possibly because the colors are already in use by the locked colors.
... yes, that is it. If your palette's slot number is appeared to be the same as the one of the locked slots (on the exact importing) AGS does not import your slot - it keeps the locked one. A solution here would be to shift your original pallete slots a bit, say for 16 slots to the right, then import it. This way your palette won't fall under the locked slots. :P

QuoteShouldn't it just insert the colors in the boxes that I tell it to?
Yes AGS does so, but with the exact import it also checks whether the slot, to import to, is either locked or reserved for the background. In both cases AGS does not accept your palette slot color.

QuoteOh and also, is 17 colors for my main characters animations too much?
Well, it depends on. Anyway you always can increase/decrease the amount of sprites colour slots later. You probably noticed that when you import a new background (not exact import) AGS allocates its colors at the bottom. This method provides an effective use of palette: while all the sprite slots are being located at the top (just next to the locked colors), the background ones are always at the bottom and added from the last palette slot (number 255) up to the last sprite slot.

~Cheers

SMF spam blocked by CleanTalk