Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
I know that in rgba, a represents the alpha value.
But what is Ex in rgbEx?
Can I just use the same syntax as rgb(n, n, n)?
(n is 0-255)
Yes like that but the range is 1-100
Develop games in your browser. Powerful, performant & highly capable.
I wasn't familiar with English, so I simply couldn't predict the meaning of Ex.
But is the range 1-100 instead of 0-100?
So, is it not possible to use perfect black color or perfect transparency in rgbaEx?
typo I meant 0-100
Most of the time it just means "extended" or "extra". It does the same thing as an existing function but does it differently, or adds something extra. I think it originates from the days in programming before function overloading was a feature in programming languages.
I think it's simply to distinguish from the old C2 expression - rgb. rgb expression is no longer available, but it still exists in old projects. New expressions use a different color format and are called rbgEx, rgbEx255, rbga and rbga255