Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

PICO-8: Color Reference

A simple reference cart showing the PICO-8 color palette. · By MBoffin (Dylan Bennett)

Hex numbers for use with palt

A topic by merwok created Oct 15, 2020 Views: 141
Viewing posts 1 to 1

Hi! I recently got the insight about an easy way to build a hex number to pass to palt to control transparency for multiple colors at once. Starting from the bottom-right corner and going left, the colors can be identified by the numbers 1, 2, 4, 8, then the next row is 10, 20, 40, 80, and so on. So if I want brown and light green to be transparent and black to be solid, I need 0x400 + 0x10 which is easy to add.

Is this technique interesting for a third picture in this page?