Löve color mixer (not written with löve)

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Löve color mixer (not written with löve)

Post by veethree »

NOTE: This project wasn't made with löve so i may be posting in the wrong section, This one just seemed most appropriate.

So i made this little color mixer mainly for personal use, But decided to throw it on here. Basically it's just a regular color mixer, with some special features for löve (only one right now. Might develop this further). I made it with visual basic (vb.net)

Here's what it looks like:
Image

It works just like any other color mixer, you just move the sliders and the color in the box changes accordingly. the alpha slider doesn't have any effect on the color box in the main form, But if you click on the color box it opens an external one that is affected by the alpha value. The external color box can be closed by clicking on it.

here's what i mean by color box: (to avoid any confusion)
Image

And that special feature i spoke of is the generate setColor button, It generates a love.graphics.setColor line with the color you have set up in the mixer, and automatically places it in your clipboard.

I hope it's okay that i posted this here even though it's not made with löve. if you find some bugs or have a suggestion let me know :D

Download below. I also included the source if anyone is interested. Note that the code isn't very polished, like i said, this was mainly made for personal use, so i didn't care how nasty the code was, as long as it worked. lol
User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: Löve color mixer (not written with löve)

Post by Ensayia »

So... this just exports a bit of love.graphics.setColor() code? No disrespect but I am thoroughly confused about the usefulness of this. Anyone serious about learning LOVE should be able to grasp setColor and RGB.
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Löve color mixer (not written with löve)

Post by coffee »

Ensayia wrote:So... this just exports a bit of love.graphics.setColor() code? No disrespect but I am thoroughly confused about the usefulness of this. Anyone serious about learning LOVE should be able to grasp setColor and RGB.
And I had same feeling sorry veethree. I know that your intentions are good but I also don't see much purpose or utility of use a Visual Basic project for do that. (and since it's Win compiled I can't even easily run/test it) But you will have my sympathy if you decide rewrite someday that in LOVE. But any even as LOVE project don't really offer anything very useful than the live color preview (for that you could use some RGB online cross-plataform color generator).
User avatar
zipperipper
Prole
Posts: 45
Joined: Thu Jan 14, 2010 7:59 pm
Location: UK

Re: Löve color mixer (not written with löve)

Post by zipperipper »

I feel this kind of thing would be most useful as an add-on for Notepad++, placing the love.graphics.setColor(r,g,b) at the text cursor's location
Error 404, consciousness not found.
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Löve color mixer (not written with löve)

Post by veethree »

The whole setColor thing is indeed quite useless, I don't even use that myself too much. The main purpose of this was to have a simple way of finding the exact color i need. Besides, i was bored :P managed to kill some time writing this.
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Löve color mixer (not written with löve)

Post by MarekkPie »

If you could give this a color palette functionality, with the ability to export that palette into a .lua file, then it would have definite time-saving uses. But, right now, I'd have to agree with the others.
Post Reply

Who is online

Users browsing this forum: No registered users and 50 guests