@machxgames back to the issue I had before, where it checks if my rectangles overlap, how can I stop it from updating constantly?
-
-
Replying to @DaveVoyles
@DaveVoyles the normal easy solution is to use a flag1 reply 0 retweets 0 likes -
Replying to @MachXGames
@MachXGames So just "hasHit = true;" ? Until it goes to the other side, of course1 reply 0 retweets 0 likes -
-
Replying to @MachXGames
@MachXGames How do I stop it from checking for a left bat collision after it has occurred once, until it happens on the right bat?1 reply 0 retweets 0 likes -
Replying to @DaveVoyles
@DaveVoyles you can check the position of the ball until it's away from the ball and reset the flag1 reply 0 retweets 0 likes
Replying to @MachXGames
@MachXGames Doh. Why didn't I think of that
1:13 PM - 30 Jul 2012
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.