Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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 have an objects named "Enemy"...i have 2 of then
if i do this:
System>Enemy.X-Player.X >=10
witch one of the enemies he will use to calculate...how can i choose the enemy i want
Try
Pick enemy furthest (player.x+10),(player.Y)
I can't find pick furthest inside system
It's on the Sprite.
Develop games in your browser. Powerful, performant & highly capable.
Thanks, but that is not i'm looking for .
I have a problem with colission, when one enemy collide with the player all others think they are colliding to.
I wanted to know if there is a way to solve that.
The condition "on collision with another object" should only pick the instances of Enemy that collided with your player.
Don't use the Player's "is overlapping with object" condition, it doesn't pick enemies that collide with Player. If you really want to use it, combine it with "System.For each(Enemy)".