Example(better)/help needed

Get help using Construct 2

Post » Mon Sep 24, 2012 8:37 pm

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 (?)delgado2012-09-24 21:38:10
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Wed Sep 26, 2012 10:11 pm

Can anyone help me a bit with this?
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Wed Sep 26, 2012 10:29 pm

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?
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Wed Sep 26, 2012 11:40 pm

@R0J0hound shaders dont work on android ;/ i already have sliders and canvas object. I dont know how implement values to change colorsdelgado2012-09-26 23:56:53
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Thu Sep 27, 2012 12:47 am

I made this example for myself a while back, maybe it will help:

SlidersRGB.capx (r104) (Uses canvas plugin)
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu Sep 27, 2012 7:42 am

@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
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Fri Sep 28, 2012 1:20 pm

Hmm, can't really say what's wrong without looking at the .capx.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests