Ok, I need a FULL code that shows me how to detect if one image comes in contact with another on any part! I am making a 'space invaders' type game (2D), and without your help, it WON'T HAPPEN!:)
Printable View
Ok, I need a FULL code that shows me how to detect if one image comes in contact with another on any part! I am making a 'space invaders' type game (2D), and without your help, it WON'T HAPPEN!:)
try my simple detection mod. It has helped me in the past.
I haven't looked at guppy's code, but by previous posts it looks like it will be good.
If he doesn't use it, try the IntersectRect API call, with two RECTs. If the return value is non-zero, it is intersecting. The RECT it returns tells you exactly where.
Hey man whats up.... well, I as well need this code and would be very greatful if you could include a form, I have no clue what I am supposed to type in the form so if you could please put the form up, or display what would be in the form code, and what I would need on the form, I would be forever in your debt.
-SPY:eek: :confused: :confused: :confused: :confused: :confused:
Here, try this. The mouse movement is a little off, but it still works good.