[SOLVED] How do I use replace color effect?

Get help using Construct 2

Post » Sun Apr 02, 2017 4:01 pm

im trying to change the color of a flat colored square with the "replace color" effect, but nothing seems to work!!

how can i change the color of my square, i also use the picker and i added the action:
on colorpicker change -> square "set color parameter 0 to rgb(colorpicker.r,colorpicker.g,colorpicker.b)
Last edited by imothep85 on Mon Apr 03, 2017 4:32 am, edited 1 time in total.
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614

Post » Mon Apr 03, 2017 12:59 am

imothep85 wrote:set color parameter 0 to rgb(colorpicker.r,colorpicker.g,colorpicker.b)


Image

parameter 0 = Red Source Value
parameter 1 = GreenSource Value
parameter 2 = Blue Source Value


to change the color you need to set parameter 3,4,5
parameter 3 to colorpicker.r
parameter 4 to colorpicker.g
parameter 5 to colorpicker.b

but first you have to specify a color you want to change in parameter 0,1,2

Image

Image
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

Post » Mon Apr 03, 2017 4:11 am

Thanks Korbaach :D
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614

Post » Mon Apr 03, 2017 4:20 am

i did this but its not working
Image

colors doesnt change at all :s, what i want is to change the sprite to any color i select with the color picker

ok solved this problem :D with just adding séparated values by, 3 set to ColorPicker.R, 4 set to ColorPicker.G, 5 set to ColorPicker.B.
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, MaxxMunnn, richcoz81, Soluna Software and 23 guests