Jump to content

Hit test


Kokisho

Recommended Posts

I tried searching hittest and the search came up with a few results but none of them were any help. Im trying to make a flash game where your'e cliff diving and you have to avoid certain stuff on the way down. How do I make it so when the guy hits the rock he goes to a different frame. Please help. :)

Link to comment
Share on other sites

I tried searching hittest and the search came up with a few results but none of them were any help. Im trying to make a flash game where your'e cliff diving and you have to avoid certain stuff on the way down. How do I make it so when the guy hits the rock he goes to a different frame. Please help. :)
Make a button symbol have a shape of rock, gives it a code or use tween to move it on the screen and add a code onRelease(){ gotoAndStop(?) }
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...