how do i replace color to transparent?

Get help using Construct 2

Post » Mon Dec 03, 2012 4:56 am

something like this:

set effect "ReplaceColor" parameter rgb(248,0,247) to rgb(transparent)
B
2
Posts: 2
Reputation: 254

Post » Mon Dec 03, 2012 6:34 am

Use Opacity as workaround
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236

Post » Mon Dec 03, 2012 7:06 am

Well opacity works well for the entire sprite as a whole. If a specific colour needs to be targeted C2 doesn't have native support for such an action. Though I think it would be helpful. However we are fortunate to have such a large number of talented js coders :)

You can check out these to see if they are helpful.
http://www.scirra.com/forum/behavior-sprite-effects-inject-text-on-sprite_topic51516_page1.html

http://www.scirra.com/forum/plugin-canvas_topic46006.html
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,013

Post » Mon Dec 03, 2012 12:42 pm

There is software available to do this for you, then you can download the sprites into C2. I'm OK with C2 not supporting this as it's a largely obsolete technique.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,669

Post » Tue Dec 04, 2012 4:12 pm

thank you very much for the help, I'm remaking an old game but has more than 6,000 sprites with a pink background, looking for that function, I thank you again.
B
2
Posts: 2
Reputation: 254


Return to How do I....?

Who is online

Users browsing this forum: ColombageEnPLS and 2 guests