Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xylr117z4

Pages: 1 2 [3]
31
Feature requests / Re: HSL Color Standard
« on: October 21, 2012, 12:25:25 am »
It most likely won't be integrated since it's something entirely external that doesn't require any change in the library whatsoever (paraphrasing Laurent), but Thor will add HSL/HSV and there's my implementation of it as well so feel free to use it at will.

well it doesn't really change anything but I think it would be nice to be like sf::Color(H,S,L); as well as sf::Color(R,G,B and some times A);

...but I guess that would just be in the declaration actually using HSL for colorizing would probably be better done in it's own class.

32
Feature requests / Re: Rewrite the entire library in C
« on: October 20, 2012, 09:28:40 pm »
I think this is what ever reading this thread is asking "Why would you want to use a C++ or even C library for haskell?"
I just don't see a point in doing something like that.  sure sfml is awesome but you can either adapt to it or find something else.

33
Feature requests / Re: HSL Color Standard
« on: October 20, 2012, 09:08:38 pm »
Exactly, but that's not just it, you can by removing all saturation from every pixel you can make it grayscale, make a dark image into a bright one or make gradients like it was nothing. It grants you a whole lot more of control that RGB doesn't. You just convert, do whatever you want and reconvert.

I actually did find your HSL class on Git hub it's just the link posted had since been broken...

It's something that would be really useful and it's something that I think would fit sfml's purpose if it were integrated.  Once I get off I'll have to try making a quick test program with the class because it would be useful for a project my buddy has been working on (which happens to be a verticle shooter much like the one you're attempting to create, other than it being less of a bullet hell.)


34
Feature requests / Re: HSL Color Standard
« on: October 20, 2012, 06:35:31 pm »
Git hub doesn't load correctly for my current work station so I'll have to look over the orginial authors implementation above but I do see how HSL control would be useful. 
For example using a grayscale default character sprite you could color it "in-game," or rather during run time for multiple players without the need to load 4 seperate images.

Pages: 1 2 [3]