deleted user 111213 Grandmaster Cheater Reputation: 0
Joined: 09 Nov 2007 Posts: 714
Posted: Tue Apr 29, 2008 2:53 pm Post subject: [flash] need help making a game
sorry if this is the wrong section but i'm making a game in flash and i was wondering how to make my char stop when it hits the menu. this is all i got so far
Code:
onClipEVent(enterFrame({
if(this.hitTest(_root.menu)){
---this is the bit i need help with---
}
If(U.Y is above the bottom of the menu)
U.Y = (bottom of the menu)
If(U.X is to the left of the right edge of the menu)
U.X = (right edge of the menu) _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum