-
This is the code I have:
on Clipevent (load)
if (this.hitTest(_root.gameboard.paddle)) {
xspeed = -xspeed;
pHit.start();
}
What I am trying to do is make the ball speed up everytime it hits the paddle. I would think using a set variable with xspeed=xspeed+(5) would work, but all it does is speed it up once. Any ideas? thanks,
Andy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|