How do I replace object color and not impact performance?

Get help using Construct 2

Post » Mon Sep 25, 2017 11:13 am

dop2000 wrote:@MPPlantOfficial
I can't load your example, it requires "Flood Fill" behavior by rexrainbow, which I can't find anywhere.


Updated. Try this one: https://www.dropbox.com/s/at4bg7tjp2w12 ... .capx?dl=0
Image Image Image
B
32
S
12
G
27
Posts: 761
Reputation: 17,246

Post » Mon Sep 25, 2017 11:27 am

Nice example, thanks!
But do I understand correctly that it only works on white background?
Additive blend affects everything underneath this sprite, right? I have a dark blue night sky as a background in my game, so this won't work for me :(
Last edited by dop2000 on Mon Sep 25, 2017 11:30 am, edited 1 time in total.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :)
B
17
S
9
G
71
Posts: 1,085
Reputation: 38,733

Post » Mon Sep 25, 2017 11:27 am

dop2000 wrote:@MPPlantOfficial
I can't load your example, it requires "Flood Fill" behavior by rexrainbow, which I can't find anywhere.


Here's one using sprite boxes only: https://www.dropbox.com/s/olzoy0p4wfzwg ... .capx?dl=0
Image Image Image
B
32
S
12
G
27
Posts: 761
Reputation: 17,246

Post » Wed Sep 27, 2017 7:18 am

Hey @MPPlantOfficial
Not sure if you've seen my previous question.
Is it possible to recolor text with additive blend if I have a background in my game which is not white?
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :)
B
17
S
9
G
71
Posts: 1,085
Reputation: 38,733

Post » Wed Sep 27, 2017 8:16 am

dop2000 wrote:Hey @MPPlantOfficial
Not sure if you've seen my previous question.
Is it possible to recolor text with additive blend if I have a background in my game which is not white?


I've not tried it myself. Why don't you experiment for a bit?
Maybe there's a way of applying blend so that only 1 or 2 layers are affected
Image Image Image
B
32
S
12
G
27
Posts: 761
Reputation: 17,246

Post » Wed Sep 27, 2017 8:22 am

I did experiment and couldn't make it to work.
I thought maybe there is some trick that you know :)
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :)
B
17
S
9
G
71
Posts: 1,085
Reputation: 38,733

Previous

Return to How do I....?

Who is online

Users browsing this forum: max2612, Yahoo [Bot], Zzarkz and 22 guests