Color Picker Feature + Fix


Color Picker has been updated once again with a new feature, a mouseup callback. This is a callback or list of callbacks which will be called with one argument, the picker itself, when the player lifts the mouse button after dragging it around the colour picker. This can be useful for performing various updates when the colour has changed. In particular, I use it in Colorize Tool for Ren'Py, which you can find here:

The tool uses this callback to save the state of the colours for an undo/redo system. I highly encourage checking this tool out - it allows you to colorize images with much improved control and detail compared to Ren'Py's existing ColorizeMatrix method. And the base tool is free!

This update also includes a small fix for the occasional rounding error when the picker loaded up a pre-set starting colour, which could cause it to be 1/255th of a colour off at times when hovering it for the first time. It only affects the colour first set for the picker under certain circumstances, so if you haven't had any issues, then you will not need to update. Otherwise, you can simply overwrite the original color_picker.rpy with the new one.

You can find the exact changes here on the GitHub history.

Files

color_picker.zip 7 kB
Nov 13, 2023

Get Color Picker for Ren'Py

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.