Inspired by Palette-Maker. This is a tool to create dithered 32-colour gradients. Mainly for my own use with my 3D lighting system, but I figured maybe someone else will find this useful.
The interface currently technically allows you to use more than 16 different colors, but of course, PICO-8 can't actually render that. I could fix that, but the simplest fix is that you just don't do that :)
Exports the gradient steps (on a scale of 0-127) and colors into the clipboard as Lua tables, without braces, like this:
gradsteps=0,32,64,96 gradpal=0,5,6,7 |
Of course, this doesn't work on the browser, so run locally. You can use my code to render the gradient, or write your own. dw817 has written an excellent tutorial on how to implement dithering.
How to use:
up and down: select gradient step
left and right: select color for current gradient step
x: copy gradient steps and colors to clipboard (does not work in browser version)
z: lock gradient step for further functions
when locked:
up and down: move gradient step
z: unlock gradient step
x: go into add/delete mode
when in add/delete mode:
z: add step after current step
x: delete current step
I got a lovely pattern using this for a background.
I got a bunch of numbers I don't know what to do with.
Would someone please point me to a simple tutorial to add my pattern to a background...
Many thanks,
[Please log in to post a comment]