Aseprite

Aseprite

DarkChorus Dec 2, 2024 @ 6:58pm
Confused on indexed palette adjustments
I am confused when I import some png's that are spritesheets.
While using a png with a small palette (16-color), Asesprite picks one of the main colors as a transparent color.

Could someone please walk me through how to adjust which indexed colors are transparent or non-transparent?

I am also confused about using the Edit / Replace Color command. I am trying to replace the transparent index with an opaque color for ALL frames. I can't seem to do it correctly. Could someone please explain the steps I need to do?
< >
Showing 1-1 of 1 comments
behreajj Dec 3, 2024 @ 11:37am 
In the Replace Color pop up window, look for the Selected/All button above the Preview check box and below the Cancel button. That should give you some control over which frames to target using a timeline range.

In indexed color mode, there is only one palette index that serves as the sprite transparent color. When you look at the palette swatches in the color bar, the transparent color will have a pip in its middle -- white or black depending on the color's brightness. To change the transparent color, go to Sprite > Properties in the top menu bar. A pop up window will open. You will be able to pick the transparent color under the Advanced section.

This is complicated by the fact that Aseprite color palettes are 32-bit RGBA. You can have palette colors with zero alpha that will appear transparent to you, but are not the sprite transparent color.

If there is a Background layer in your sprite, the sprite transparency will be ignored and the color will be appear at its normal alpha transparency. On other layer types, it will be transparent. Layers can be converted to or from the background through the Layer menu in the top menu bar or the timeline right click menu.
Last edited by behreajj; Dec 3, 2024 @ 12:17pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50