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
Game development stories & opinions
the pick nearest condition works for one point but i want just y position. how do i just do y?
X: 0-740 (how do i do a range here?)
You can iterate the object with the "for each" and then use the distance() function to find out which one is closest on the Y axis.
Scratch that... distance() is also x,y....
So... iterate over the objects and just compare the Y values.
Develop games in your browser. Powerful, performant & highly capable.
keepee solved this very elegantly here
i dont get it. could you elaborate for me? i looked at the code and dont see the simularities of what im goimg for,