Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 bit sprite import - palette issues when importing > 1 sprite #77

Open
ljg701 opened this issue Sep 24, 2024 · 0 comments
Open

4 bit sprite import - palette issues when importing > 1 sprite #77

ljg701 opened this issue Sep 24, 2024 · 0 comments

Comments

@ljg701
Copy link

ljg701 commented Sep 24, 2024

Hi,

I'm trying to import a range of 4 bit sprites, only 16 colours are in use.

The import routine doesn't seem to identify that the sprites are using the same 16 colours between them, and wants to create a new palette of 16 colours for each sprite.

E.g.
Sprite 1 uses colours 1,2,3,4,5 <- system tries to create a new palette
Sprite 2 uses colours 6,7,8,9,10 <- system tries to create a new palette
Sprite 3 uses colours 11,12,13,14 <- new palette etc

I think the import needs to scan the entire range of sprites being imported, and could then conclude that all the sprites could fit in the same palette.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant