|
-
May 3rd, 2013, 03:21 PM
#9
Re: How to use Getpixel
 Originally Posted by savage110
The X and Y is actually the x and y coordinates of an animated ball. I'm using it to see if it touches the walls in a maze, and i made the background in paint. You move the ball with W,A,S, and D.
If you're trying to check the collision between two objects, don't use .GetPixel. Instead use .IntersectsWith. If you take a look at my game 'bouncy ball' in my signature it resembles brick breaker. In that game I show how to deal with collision detection.
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
|