Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
How is one supposed to set the color filter of an object through a plugin? I know that I'm supposed to set:
But how do I set the value for this? Using the RGB() function throws an error at me, so I'm at a loss for what to do.
EDIT: Also, it doesn't look like I can set the filter through a parameter from an action. That throws a fit as well.
Set it to a cr::color(a, r, g, b). Notice that the variable you mentioned is of type cr::color.
Thanks. I noticed that it was cr::color, I just didn't know how it worked, or where the values went in.
Develop games in your browser. Powerful, performant & highly capable.
That's where Intellisense and 'Go to definition' are your friend