I am about to pull all my hair off my head!. I really hate working with gifs!make sure you have a palette file for the character,
make sure the images are indexed color 255 or 256 and make sure that they either have a transparent color or that they are saved with an alpha channel on gimp or photoshop
Because your background color isn't the first one in the color table.but in the game some gifs are shown with color background instead of transparency.
I don't think this is the issue as I have tried to move it to the first slot of the color table.Because your background color isn't the first one in the color table.
no, its not - its the last one:I don't think this is the issue as I have tried to move it to the first slot of the color table.



The transparent color was black, and I moved it to the first slot, but for some reasons the black color in the first slot is no longer a transparent color, then color in the last slot becomes a transparent. It is very weird.no, its not - its the last one:
View attachment 3967
As @danno suggested, use a different color rather than the transparency itself (or white), as its a terrible idea to use grey
View attachment 3968
Paint the background using a strong color, like 0 255 0 and set force it as the background color like this:
View attachment 3969
Using colors as Black, White, Grey is a terrible idea, trust me. You have to pick a color that isn't present or closer to any other color on the image.The transparent color was black, and I moved it to the first slot
Because moving colors on the spot isn't sufficient to make it transparent, if you have any color with values close to the indexed color values.As I mentioned earlier, for some reasons, the transparent color is no longer a transparent color after I moved it to the first slot
I am at work right now.Using colors as Black, White, Grey is a terrible idea, trust me. You have to pick a color that isn't present or closer to any other color on the image.
If you have the original image in png 24bits, I sugges you to first paint the background with a stronger color and them convert the image.
Because moving colors on the spot isn't sufficient to make it transparent, if you have any color with values close to the indexed color values.
For example, if your BG color is 0 0 0 but you have a 1 1 1 anywhere on the image, depending of your settings, you will get both as either 1 1 1 or 0 0 0, screwing up the transparency.
Converting images from 24bit with alpha transparency to 8 bit could be very tricky if you do not know what you are doing. The problem isn't the full transparency, but the mutiple levels of transparency allowed on 24bit images.
If this is as stage, you use it as a 24bit colour image. But it will be heavier to load/display.
Can you post here the original image?
Your guideline really works to reduce headaches!Using colors as Black, White, Grey is a terrible idea, trust me. You have to pick a color that isn't present or closer to any other color on the image.
If you have the original image in png 24bits, I sugges you to first paint the background with a stronger color and them convert the image.
Because moving colors on the spot isn't sufficient to make it transparent, if you have any color with values close to the indexed color values.
For example, if your BG color is 0 0 0 but you have a 1 1 1 anywhere on the image, depending of your settings, you will get both as either 1 1 1 or 0 0 0, screwing up the transparency.
Converting images from 24bit with alpha transparency to 8 bit could be very tricky if you do not know what you are doing. The problem isn't the full transparency, but the mutiple levels of transparency allowed on 24bit images.
If this is as stage, you use it as a 24bit colour image. But it will be heavier to load/display.
Can you post here the original image?
Thank youAlso it's best to use an actual colour for transparency instead of using transparency as transparency because if not done correctly the program will automatically pick a colour and it might be a colour you are already using on the sprite and assign it to transparency.
![]()
As O'ilu suggested