Make Enemies "Move Away" from Character?

Hey everyone,

I’m trying to make it so that I have my main character, and the enemies try to avoid him and move away. The game is top-down, and I want to make it so that the enemies keep moving away (even once they reach the edge of the screen)

You can see what I’m talking about in this iOS Game (Tilt to Live) - Skip to 0:47 seconds:

http://www.youtube.com/watch?v=vr03CIfjK4I

You can see how all the red dots move away from your main character. This is basically what I want to accomplish.

Any advice on how to do this?
[import]uid: 51654 topic_id: 13567 reply_id: 313567[/import]

Check out the Boids example at http://brandontreb.com/autonomous-steering-behaviors-corona-sdk/

That should start you in the right direction. [import]uid: 27215 topic_id: 13567 reply_id: 49834[/import]