Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

What I want to have for my Monotouch 2D projects: simple collision detection and collision polygons working with UIViews

Sounds simple, isn't it? I've evaluated a lot of engines available on the market, but none of them gives me this simplicity without unnecessary overrun in my projects.

Box2D, monogame/farseer or Cocos2d seems to be good enough, but I don't really want to drag all that functionality to have 2 simple algs.

The question is: is there anything like this out there, or should I go and implement all this myslef?

share|improve this question

closed as not constructive by Byte56, Josh Petrie, bummzack, Sean Middleditch, Laurent Couvidou Mar 1 '13 at 11:10

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
How about stealing just what you need from an open source engine like monogame? –  Panda Pajama Feb 5 '13 at 7:31
    
I wouldn't use term 'steal' though :) it seems like it is the only option I have to adapt some parts of open source engines to work in the way I need... –  Alex D Feb 6 '13 at 1:14
    
"Good programmers write good code. Great programmers steal great code" –  Panda Pajama Feb 6 '13 at 6:21

2 Answers 2

up vote 3 down vote accepted

You can use Chipmunk bindings I wrote to manage UIViews collisions. I document that in this post. The bindings can be compiled with or without cocos2d. The latest version of the code is here

share|improve this answer
    
Thank you! that's really great article! I've never thought that it is possible and that easy to make this kinda smart labels using physics engine! –  Alex D Feb 23 '13 at 12:17

Answering my own question: it seems to be possible to use monotouch/monogame version of Farseer Engine without monogame itself. So, couple of changes to the code and this article http://www.cocoanetics.com/2010/05/physics-101-uikit-app-with-box2d-for-gravity/ will get me to the point I have everything I need plus some extras :)

problem seems to be solved!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.