kitao / pyxel

A retro game engine for Python
MIT License
15.31k stars 847 forks source link

Support for 32 colors #495

Closed musjj closed 11 months ago

musjj commented 1 year ago

pico-8 allows up to 32 colors through an undocumented hack that ended up being officially approved by the developer.

It'd be nice if pyxel can also support 32 colors, maybe optionally through the .pyxpal palette file.

kitao commented 1 year ago

Pyxel2 which should be released this year supports 16+ colors.

kitao commented 11 months ago

Now you can extend the number of colors.

colors = pyxel.colors.to_list()
colors *= 2 # Just doubled num of colors
pyxel.colors.from_list(colors)