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
I need this for an explosion. Once the explosion is spawned, I should do some operation (like change the HP) on all objects within 100 pixels of it.
Develop games in your browser. Powerful, performant & highly capable.
for each objectThatyouwantTopick
-distance(pointofexplosion.x,pointofexplosion.y, objectThatyouwantTopick.x, objectThatyouwantTopick.y) < radius, do stuff
You could use the distance() expression to affect how much hp is damaged too.
jus' sayin :)