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 do I test a one dimensional array (to see if all values are set to 1)?
I used if array is not zero using the "Array Contains value 0" (inverted), but I can see in the debugger that my array is all ones, but the condition is not happening.
Develop games in your browser. Powerful, performant & highly capable.
http://www.blackhornettechnologies.com/ ... lOnes.capx
It's easier to look for the exception, and stop.
Disable line 3 to see the all-ones case.