how to generate an end screen when two images collide. I am making an app with a stickman you move with a very sensitive acceremeter. SO if it hits these spikes, (UIImages) it w
I'm sure you know the rect of the two images because you need to draw them so you can use
bool CGRectIntersectsRect ( CGRect rect1, CGRect rect2 );
It returns YES if the two rects have a shared point