I have an objects named "Enemy"...i have 2 of then
if i do this:
witch one of the enemies he will use to calculate...how can i choose the enemy i want
Pick enemy furthest (player.x+10),(player.Y)
I can't find pick furthest inside system
It's on the Sprite.
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.
Develop games in your browser. Powerful, performant & highly capable.
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)".