[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
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

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
Image
B
64
S
23
G
7
Posts: 1,481
Reputation: 10,823

Post » Mon Apr 03, 2017 4:11 am

Thanks Korbaach :D
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

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
34
S
13
G
6
Posts: 1,643
Reputation: 8,761


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, dimitriosfl, InfiniteRockets, jkmalau, newday198913 and 16 guests