Have pixels in text "change" color depending on background color?

What Wick Editor Version are you using?
1.19.3

Describe the Problem
i want to have this effect in the health bar:
image
and also work in cases where one half of the letter would need to black and the other half would need to be white.

What have you tried so far?
i thought of clipping, not to be confused with clip objects. so there would be the text with pixels that would be clipped if it was outside the green area, and there would be the same text in the same position that doesn’t get clipped, but it is under the green area.

clipping is kinda like the intersect function except i can do it at runtime?

like i want to clip any part of the face that isn’t in the red box
image
to get this outcome:
image

and i want to do the same to this text (except the intersect button doesn’t work on text):
image
it wouldn’t actually change the text data or the face vertices, it just doesn’t render what’s outside the red box.

but i realized as far as i know, wick editor has no clipping ability. unless they do then please tell me.

2 Likes

I wanted to made something similar in this game and I had to cheat alot

basically you would need a mask but wick does not have one at present
I ended up superimposing the partial coloured writing on top of the original one.
In your case I imagine it could be difficult to know what letters are under the progress bar.
Could you prepare a clip with the progress bar already done and use code only to determine wich frame are you in?

i fear that would be almost impossible with bare coding at present