|
-
Apr 28th, 2007, 06:44 PM
#2
Lively Member
Re: colliding graphics
Instead of checking if the bottom clip bound is EQUAL to the top of the bar, check if its GREATER THAN OR EQUAL to the top of the bar (or less than, I keep forgetting where VB starts the 0 y value). The chances that the ball is exactly equal to the top of the bar is very very small, you have to check if its greater than or equal.
Try that and if it doesn't work, please post more of the code.
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
|