Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

TIC-80

Fantasy computer for making, playing and sharing tiny games. · By Nesbox

Can I use different color palette for sprites and different for gui?

A topic by Sleepless Creator created Mar 03, 2018 Views: 418 Replies: 1
Viewing posts 1 to 2

Asking this because I assumed this how this worked. I used function load palette from snippets: https://github.com/nesbox/TIC-80/wiki/code-examples-and-snippets#load-string-pal...

And I thought that if I call it with one palette at the start of the loop (before rendering anything) and then call this function again with diff. palette before rendering any gui I could use 32 colors. But, this changes colors of everything, even already rendered stuff. While I see other functions in snippets, quick look at them show they do the same thing actually, poke`ing memory at color palette memory position.

So, is it possible to use two diff. palettes at all?

Developer

here someone uses 32 colors per frame https://tic.computer/play?cart=417 with OVR() function