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 to make a double different condition like
IF ((a=1) and (b=2)) or ((a=2) and (b=1) THEN bla bla bla. how to make it? thanks before
sahesadega
You can use something like this:
https://www.dropbox.com/s/k6h7iu16nls7z ... .capx?dl=0
The important bit is in function "AB":
If (A=0 & B=1) show "TRUE", else if (A=1 & B=0) show "TRUE", else show "FALSE"
At runtime click on the A and B values to toggle between 0 and 1
Develop games in your browser. Powerful, performant & highly capable.
An easier way in just one line:
System-> Compare two values-> ((a=1 & b=2) | (a=2 & b=1)) Equals 1 : bla-bla-bla
& means "and"
| means "or"
1 means "true"
0 means "false"