Skip to content

Set sprite palette to SGB color area - #82

Merged
binji merged 1 commit into
binji:mainfrom
pau-tomas:fix/sgb_sprites
Sep 25, 2026
Merged

binji merged 1 commit into
binji:mainfrom
pau-tomas:fix/sgb_sprites

Conversation

@pau-tomas

@pau-tomas pau-tomas commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

When setting color background areas for SGB sprites are keeping the same palette, which is not expected for Super GB: Sprites should use the same palette as the background.

image

Before (Incorrect) | Sameboy (Correct) | After (Correct apologies for the weird aspect ratio)

This was originally reported chrismaltby/gb-studio#2241

(Not going to lie, this was a bit of trial an error by looking at how the background tiles are handled. There might be a better way to do it)

@binji

binji commented Sep 25, 2026

Copy link
Copy Markdown
Owner

lgtm, thanks

@binji
binji merged commit 1662111 into binji:main Sep 25, 2026
4 of 6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants