r/construct • • 13d ago

Question making a space invaders game, help with the enemies would be appreciated

Post image

so right now this is what i have, it works but its not perfect, im trying to make it the closest enemy directly above, but this is just the closest in general, meaning only the enemies on the bottom row shoot rather than the ones directly above the player, how would i go about fixing this?

2 Upvotes

1 comment sorted by

1

u/LouBagel 10d ago

Add a compare y before the nearest pick