You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I import an indexed color mode aseprite file where the color referenced by the Transparent Color setting is not transparent, the importer ignores the Transparent Color setting and instead fills the background with the color at that index.
To Reproduce
Steps to reproduce the behavior:
Create a new aseprite file with indexed color mode (the default color has solid black as index 0, but also sets the Transparent Color sprite property to index 0).
Add a stroke of a different color to the canvas (leaving some areas of the canvas blank)
Import the ase file in Unity and look at it
Observe that the background within the x and y bounds of the stroke on the canvas is now black rather than transparent.
Expected behavior
The aseprite importer should respect the "Transparent Color" sprite property in indexed color mode, and instead of filling with the index color, fills it with transparent.
My current workarounds: Set the color of the transparent color index to transparent. Set the color of the transparent color index to a color I don't expect to use then use mask transparency mode in the importer. These kinds of workarounds feel like they should be unnecessary.
Screenshots
Indexed Color mode:
RGB Color mode:
Desktop (please complete the following information):
Describe the bug
If I import an indexed color mode aseprite file where the color referenced by the Transparent Color setting is not transparent, the importer ignores the Transparent Color setting and instead fills the background with the color at that index.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The aseprite importer should respect the "Transparent Color" sprite property in indexed color mode, and instead of filling with the index color, fills it with transparent.
My current workarounds: Set the color of the transparent color index to transparent. Set the color of the transparent color index to a color I don't expect to use then use mask transparency mode in the importer. These kinds of workarounds feel like they should be unnecessary.
Screenshots
![asefile](https://user-images.githubusercontent.com/5163157/141993597-ab3acbbb-a437-4fb2-8e47-2ff5a3a64788.png)
![settings](https://user-images.githubusercontent.com/5163157/141993635-dfa8cac2-c103-4a82-a42a-57572ec9f6c6.png)
![bad](https://user-images.githubusercontent.com/5163157/141993643-4238842f-1d39-4861-b15f-08a24e7c8895.png)
![good(rgb mode)](https://user-images.githubusercontent.com/5163157/141993651-0ccbb0d4-2d41-4536-aeb0-103b315fc73f.png)
Indexed Color mode:
RGB Color mode:
Desktop (please complete the following information):
Additional context
The file I'm testing with:
Enemy.zip
The text was updated successfully, but these errors were encountered: