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 bhanu on March 5th 2009, 18:50.
Hi All, i am trying to move sprite (car) left and right as it's center initially ,i wrote the code it's moving left and right but i need to move only in next line (assume i am using three lanes and car is middle lane when i use tuch move left it should move only exatelly the next lane) could any one help me how to do this. thanks for advance
bhanu
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: