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
This tutorial hasn't been translated.
You can also use this like an ordinary system condition, using "Compare two conditions".
I think its more usefull, becase sometimes you cant use AND and OR conditions in a single condition block. Here is what I'm talking about:
Couple examples:
((Sprite.Angle > 0) & (Sprite.var1 <> 0)) | (Sprite.Var2 <>0) ? 1 : 0
There is two cases:
1. Sprite.Angle > 0 and Sprite.var1 <> 0
2. Sprite.Var2 <> 0
If any on this cases are true, it will return 1.
((Sprite.Var1 > 0) | (Sprite.Var2 > 0) | (Sprite.Var3 > 0)) & Sprite.Var4 = 0 ? "true" : "false"
If you got this one, then you got the idea, if not, then you should re-read this tutorial again! :)
I hope this text helped you to learn something new.
Thanks!