loopier / animatron

Animatron for Godot 4.x <
15 stars 1 forks source link

Support Actor colour modulation (as well as the current addition behaviour) #55

Closed totalgee closed 1 month ago

totalgee commented 1 month ago

It would be very useful to be able to use the built-in modulation colour for Sprites. This is more useful than addition (which we currently support) when you have mostly black & white images, or greyscales, because modulation (multiplication) by a colour gives you a shade of that colour.

The current additive behaviour is useful when you have very dark things, or sprites that have pure black in some components (like a pure green or blue sprite...you can multiply it by red all you want by it won't turn red). So both addition and multiplication of colours are useful in different cases, but likely modulation would be more what people would expect.

totalgee commented 1 month ago

Resolved by 8bfc873. The /color behaviour is now to modulate, and there is a new command /color/add to...add.

loopier commented 1 month ago

Cool!

Would you mind posting some examples? I'm a bit lost with the multiplying vs. adding you are saying...