So when I see ccTouchesBegan (or touchesBegan for that fact of the matter) I see something like this usually:
I am using a UIScrollView to forward touches to Cocos2D as outlined in http://getsetgames.com/2009/08/21/cocos2d-and-uiscrollview/
I\'m just curious as to what methods people are using to dynamically use larger or smaller images in their universal iPhone/iPad apps.
I am working on a game which would take touch gestures as inputs. Now, i would like to display the path/gesture as the user draws it. Can someone please tell me how to do this in cocos2d?
I have integrated box2d in my engine, ( Debug Draw, etc. ) and with a world I can throw in some 2d squares/rectangles etc.
I have a UITextView *textView in cocos2d\'s CCLayer. The text is scrolling in both the horizontal and vertical directions. But, I need it to scroll and bounce only in vertically.
It's difficult to tell what is b开发者_高级运维eing asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
(learning Cocos2D) After creating a CCLabel and adding it to a CCLayer like this: //From HelloWorldScene.m
I\'m working on a cocos2d game on iPhone. The game work perfectly. Now I want to add an admob ad in the menu of my game. I can see the ad, but after few seconds (or minutes) of playing, the game crash
I am doing a game like chess. As soon my player move is completed(if he starts move from one place to another),my AI move is started (before my player reaching his desti开发者_StackOverflownation ). S