Hi guys. Example needed: change the color using the sliders red green blue.
Once these three values ??should change the color of a sprite
three sliders R,G,B (0-255)each
PS its called floodfill (?)
Can anyone help me a bit with this?
Yann made an example of how to make sliders here:
http://www.scirra.com/forum/example-how-to-make-a-configurable-slider_topic49212.html
And isn't there a shader that allows you to color sprites?
Develop games in your browser. Powerful, performant & highly capable.
R0J0hound shaders dont work on android ;/ i already have sliders and canvas object. I dont know how implement values to change colors
I made this example for myself a while back, maybe it will help:
SlidersRGB.capx (r104) (Uses canvas plugin)
Nimtrix your example is very helpful for me. i look at code and i think its will be too difficult for me. I made a few tests and i have somethiln like this:example1
and this: example2
sliders behave strangely
Hmm, can't really say what's wrong without looking at the .capx.