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
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
Can I use an expression to compare variables?
Something like x > (y+50)
Maybe you could use clamp for that.
clamp(x, lower, upper)
Return lower if x is less than lower, upper if x is greater than upper, else return x.
Develop games in your browser. Powerful, performant & highly capable.
How does it work in the compare variable event?
System:Compare two values
x > (y+50)
There is also a ternary operator:
Set text to X>(Y+50) ? "yes" : "no"