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
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: