[EFFECT] Color Replace

Completed plugins, behaviors and effects.

Post » Wed Aug 04, 2010 7:31 pm

What it does:
Replaces one color with another.

How to use it:
The "old" parameters define the color to be replaced, and the "new" parameters define the new color. Values are in the range from 0 to 255.

Installation:
Download "Color Replace.fx" and place it inside the effects folder.

Download:
Color Replace.fx
[color=#BBBBBB:twayea1j]old:http://dl.dropbox.com/u/5426011/Color%20Replace.fx[/color:twayea1j]

EDIT:
New version that works with transparency, thanks to tulamide :D
B
79
S
24
G
54
Posts: 4,743
Reputation: 40,749

Post » Sat Sep 25, 2010 1:00 pm

Awesome. Say, would it be possible to have it float4_int instead of 1?

Like
Original Color | R,G,B
Replacement Color | R,G,B

In the event editor, you would have

Set Original Color
Set Replacement Color
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Wed May 02, 2012 8:32 am

I only found this effect now and wanted to thank R0J0hound for it. I really needed a way to replace specific colors of sprites for my project instead of having multiple clones with different colors.

This will come in very handy.
B
5
S
1
G
1
Posts: 9
Reputation: 469


Return to Completed addons

Who is online

Users browsing this forum: No registered users and 0 guests