Is there a way to get the value of a sprite object's effect param (Tint RGB values, for example) to compare it for what ever needs?
I want to check if R of the RGB is less than a global R i want to add 1 per tick or some such functionallity.
Thanks
Develop games in your browser. Powerful, performant & highly capable.
You can set the effect param 0 to your instance variable.
Then you can compare that instance variable for what you need.