PlayMaker Updates & Downloads > Share New Actions

ColorMix

(1/1)

Thore:
Humble beginnings, part three. I made another tiny action.

ColorMix
You provide two colors, and a mix value (0.5 is 50% of each), and it returns you the resulting color, which you can store and use from there.

Use Case
You can tint sprites using the color field in the inspector. This action makes it possible for example to tint "just a bit" towards a second color, which is particularily useful when sprites use different tints, or when you want to change the amount of tint based on some gameplay parameter, e.g. health bar changing color based on HP left.

Tip: Use FloatRemap (Ecosystem) to convert any range to [0-1], which you can then feed as mix value.

djaydino:
Hi.
Nice action.

I have updated the action so it can be used every frame and added some lines so it can be placed on the Ecosystem.

is it ok for me to place it on the Ecosystem?

Thore:
Hi djdino,

Thanks for the update, and adding it to ecosystem :)

Navigation

[0] Message Index

Go to full version