collisions in flash mx help???

Subscribe to collisions in flash mx help??? 6 posts

avatar for phore_eyes phore_eyes 427 posts
Flag Post

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

 
avatar for Captain_P Captain_P 12 posts
Flag Post

What do you have trouble with? Detecting the collision, or resetting the level?

 
avatar for phore_eyes phore_eyes 427 posts
Flag Post

both

 
avatar for OMGPotato OMGPotato 66 posts
Flag Post

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?

 
avatar for phore_eyes phore_eyes 427 posts
Flag Post

yes thats exactly it

 
avatar for phore_eyes phore_eyes 427 posts
Flag Post

any more help…