So I'm making a game where it spawns random obstacles towards you and you have to pretty much dodge it. I'm trying to make it so that when your character gets too close to a certain obstacle (birds), then that obstacle will move towards you. Currently, it makes all the birds move towards you, but I only wanted that one. Any ideas? Here's a look at the game so far (with stand in sprites).
http://dl.dropbox.com/u/4055367/repulsion.cap
Develop games in your browser. Powerful, performant & highly capable.
It seems to work if you put the "bird_area" into container with "bird". You can also remove the event that spawns "bird_area", since it already gets created with "bird".
Yep, this works.
Containers are something that you should learn the function of.
Sweet, that worked out perfectly. Thanks! I've never used families or containers before. Time to look up some tutorials on them.