lets say your controlling a circle with the mouse and then you collide with a wall how would i make it so you start at the begging again.
by the way i’m new to flash
http://www.newgrounds.com/bbs/topic/469309
Nice little tutorial for circle hitTests. They’re a bit complex so you might want to use a square instead.
As for restarting, it would depend on how this game is supposed to work. Do you lose a life and have to go back to the beginning? Or is it something else?