cindy - [0-255] color range in LÖVE 11

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
grump
Party member
Posts: 450
Joined: Sat Jul 22, 2017 7:43 pm

cindy - [0-255] color range in LÖVE 11

Post by grump » Mon Apr 23, 2018 7:34 am

cindy is a small library that adds several functions to LÖVE 11 that allow you to work with a [0-255] color value range instead of the newly introduced [0.0-1.0] range in love.graphics, ImageData, ParticleSystem, SpriteBatch, and Shader.

Besides adding new functions, it also provides a mechanism to patch all relevant functions and restore the 0.10 behavior. This makes it easy to port your existing projects without having to change a lot of code.

GitHub repo with code and documentation.
License: WTFPL

Thanks to ivan and pgimeno for doing code reviews and providing valuable input!

User avatar
ivan
Party member
Posts: 1363
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: cindy - [0-255] color range in LÖVE 11

Post by ivan » Mon Apr 23, 2018 2:53 pm

Great job with this lib, looks much cleaner!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests