[PLUGIN] HSBtoRGB

This forum is currently in read-only mode.
  • Hi all. Thanks to Yann I'm finally also doing plugins and have managed to realise something that I have felt the need for for a long time...

    <img src="http://i244.photobucket.com/albums/gg36/some9000/b4ae9a02.png" border="0">

    It's super-basic. What it does is take the human-friendly values of Hue, Saturation and Brightness and turn them into computer-friendly values or Red, Green and Blue.

    And then you do things like this:

    <img src="http://i244.photobucket.com/albums/gg36/some9000/9f6bbd25.png" border="0">

    Easy as pie:

    <img src="http://i244.photobucket.com/albums/gg36/some9000/6d705197.png" border="0">

    It has no actions, no parameters for edit time - all it does is convert your HSB values into the RGB type that Construct Classic likes. So you can use it wherever that is welcome, like, say, right clicking on sprite filter colour dialogue and picking "Use Expression".

    Here is the plugin. And here is a quick example.

  • All kinds of neat stuff you can do with lighting, o0 even gradients.

    Grats again.

  • Thanks, newt. I have made a slightly more complex example, which adjusts the values over time and does some little tricks as well. I tried to comment most things so it should be pretty straight forward.

    <img src="http://i244.photobucket.com/albums/gg36/some9000/48234365.png" border="0">

    Grab it here.

  • Awesome plugin thanks :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • i never saw this thread! cool plugin!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)