You are writing a comment about Touch Detection in Cocos2d iPhone, here is a quick summary:
A quick look at three different approaches for implementing touch detection using the Cocos2d iPhone library. There are a number of snippets here, and I imagine it would be rather confusing to approach without a basic understanding of ObjC and Cocos2d iPhone.
You are responding to this comment written by Steve on January 3rd 2009, 20:08.
Solved my own problem! Seems a UIKit point and an OpenGL point aren't quite the same spot.. Found this method in the Director class..
aRect.origin = [[Director sharedDirector] convertCoordinate:aRect.origin];
That seems to have cleared up the top left, bottom left problem.. Hope it helps anyone else..
Please be aware that comment forms go stale after one hour.
Comments may make use of LifeFlow MarkDown. Raw html will be escaped.
Quick Introduction to LifeFlow MarkDown Syntax
A highlighted code block:
Other common languages work as well: scheme, python, java, html, etc.
Other markdown syntax: