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

swap the palettes in image #18

Open
sverx opened this issue Aug 10, 2020 · 2 comments
Open

swap the palettes in image #18

sverx opened this issue Aug 10, 2020 · 2 comments

Comments

@sverx
Copy link
Contributor

sverx commented Aug 10, 2020

as the 'use sprite palette' checkbox is useless with images that use both palettes, why don't make it work as a 'palette swap' option so that it will map first palette to sprites on hardware (instead of standard second palette)?
Probably it's just a change from ORing the use sprite palette bit to XORing it...

@maxim-zhao
Copy link
Owner

Hardware can't use the first palette for sprites... am I misunderstanding?

@sverx
Copy link
Contributor Author

sverx commented Sep 1, 2020

I really have to learn how to explain things correctly...
What I meant is: the dual-paletted image we want to convert might be mainly using the sprite palette, and that would be the first 16 colors of the image, and just some colors from the background palette, and those would be the few colors after the first 16 in the image's palette. The checkbox would make it possible to mark the first palette as the sprite's one in the tilemap - of course one has to load the palette data properly but that's trivial.

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

2 participants