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.
Often talked of, never seen,
Ever coming, never been,
Daily looked for, never here,
Still approaching, coming near,
Thousands for its visit wait,
But alas for their fate,
Tho' they expect me to appear,
They will never find me here.
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.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
(Just a heads-up)
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.
Here, try this. The mouse movement is a little off, but it still works good.
Often talked of, never seen,
Ever coming, never been,
Daily looked for, never here,
Still approaching, coming near,
Thousands for its visit wait,
But alas for their fate,
Tho' they expect me to appear,
They will never find me here.