Answered
How to set boundaries??
hello every one,
I want a man_mc to walk just on the road. But i dunno how to set boudaries so that mine man_mc doesn't go outside of road. ![]()
Plz help. ![]()
hello every one,
I want a man_mc to walk just on the road. But i dunno how to set boudaries so that mine man_mc doesn't go outside of road. ![]()
Plz help. ![]()
use:
this.onEnterFrame=function(){
if(!man_mc.hitTest(road_mc)){
// do whatever. your man is completely off the road
}
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.