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
Hello, I have worms and would evaluate and select the one with the lowest value of Y.
https://dl.dropboxusercontent.com/u/366 ... rision.jpg
here the capx file:
https://www.dropbox.com/s/qep6dk102kk1v ... swers.capx
Develop games in your browser. Powerful, performant & highly capable.
The easiest method is to pick the lowest Y is by using the first iteration of a For Each loop, ordered by the Y coordinate.
Does anyone else want to provide a different solution?
zatyka 's solution is exactly what I would propose. Any other solutions would be just doing what the ordered for each does in a more roundabout way