Hey.
I have a game, sort of like asteroids that I am making. There are white enemies and black enemies in the game, and if you fly too close to these, I want to be able to make it so that the black enemies draw you close, like a black hole effect, and the white enemies repel you (push you away).
However, I'm a bit of a newbie at the moment, and have no idea how I would go about doing this. Are there any guides available, or tutorials, or tips you can offer to help me with this?
Many thanks.
p.s. Thank you to everyone who helped in my last thread, that was much appreciated.