I have an UIImageview that contains a circle (The obstacle) and then another UIImageview that contains another image (my character). When my circle hits my character the game ends.
My problem occurs when the game ends on the character touching the UIImageview box that my circle is within, rather than the circle inside the UIImageview box.
The solutions I can think of are:
- Make the
UIImageviewrounded to fit my circle. - Somehow detect a collision between my characters pixels and the circles pixels rather than the
UIImageviews.
Help and ideas would be really appreciated. I am a beginner with xcode.
Thanks!