paulofmandown / rotLove

Roguelike Toolkit in Love. A Love2D/lua port of rot.js
http://paulofmandown.github.io/rotLove/
Other
258 stars 25 forks source link

Fixing color from 0-255 to 0.0-1.0 for newer versions of LÖVE #62

Closed finchco closed 2 years ago

finchco commented 2 years ago

I finally got back to wrapping this up. It's not 100%, some of the algorithms for color conversions are a little jacked still (rgb to hsv and the like) but this will get people unblocked.

I made changes to the core src and to the examples to everything should look correct.

Let me know if you see anything I missed and kick it back for tweaks!

finchco commented 2 years ago

I'm thinking of doing some other simplification and cleanup on the code. I've got a VERY hacked up version of rotLove inside my own personal project, but I've cut out a bunch of the functionality I don't use... so pushing that is a bad idea. :)

paulofmandown commented 2 years ago

I'm looking through this now

I'm also seeing that I had already started on some of this in a develop branch here. So, I'm going to try my best to merge those two sets of changes together and see what I end up with

paulofmandown commented 2 years ago

Merged in 4e0d9bfcb