How do I remove a certain color from an object?

Get help using Construct 2

Post » Mon Aug 29, 2016 5:51 pm

Hey everyone!

I recently started playing around with Construct 2 and I'm having a great time with it.
But now I'm kind of stuck :( I want to be able to remove all red colors from an object. Is that somehow possible? I've tried the various effects but nothing seems to achieve what I want.

Thanks!
B
3
Posts: 4
Reputation: 183

Post » Mon Aug 29, 2016 7:17 pm

The most straightforward way is to add an animation frame for the object with the red already removed via an image editing program and just switch to that animation frame.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,698
Reputation: 64,444

Post » Mon Aug 29, 2016 7:34 pm

Yeah I thought about that but I kinda want this effect for the whole project and with a few different colors... Any other ideas?
B
3
Posts: 4
Reputation: 183

Post » Tue Aug 30, 2016 12:45 am

one of the effects will do this. probably the rgb one. someone will probably know better than me. and then they'll say. but I'm pretty positive it's doable with an effect.

EDIT: I ended up needing to figure this out.. so I did!
The Tint effect set to
R: 0
G: 100
B: 100
will filter all red from a sprite (and can be used for other colours too, by tweaking the settings, if that wasn't obvious..).
B
88
S
43
G
71
Posts: 601
Reputation: 43,669

Post » Tue Aug 30, 2016 7:07 am

I have this background:

Image

When I apply tint to remove all the blue it looks like this:

Image

This isn't really the effect I'm after, I'd expect the image to be less yellow / greenish and more grey :(
B
3
Posts: 4
Reputation: 183

Post » Tue Aug 30, 2016 7:16 am

Greyness is the lack of all color. Try lowering red and green to 20-30 each and blue about 0-10. You can adjust brightness or saturation with another layer effect as well if you want. Otherwise, have you tried the gray scale effect?
Mistakes were made.
B
53
S
27
G
114
Posts: 1,698
Reputation: 64,444

Post » Tue Aug 30, 2016 7:31 am

Not having too great results with adjusting those values. I have tried grey scale but it will always remove ALL colors. Guess the effect I'm after would be something like "turn all red colors into grey"
B
3
Posts: 4
Reputation: 183

Post » Tue Aug 30, 2016 8:17 am

There is a 'replace color' effect. Attach it to the layer.

Tolerance must be a fair amount. Start at 20 ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 22 guests