I use the following code to initialize an object CCSprite *gridp = [CCSprite spriteWithFile:@\"grid.png\"
i have a class called Singularity and within it, a method to create a the internals of the object called createSingularity::.
Hi I am using chipmunks on my cocos2d project.I have two objects and when they collide, I like them to join and m开发者_如何学编程ove together like one object?How can I do that?
I want to draw line connect two sprites, but i can not do that in this case: //add Map Background map = [CCTMXTiledMap tiledMapWithTMXFile:@\"orthogonal-test-zorder.tmx\"];
I have this: CGPoint vel = hudLayer.rightJoystick.velocity; CCBullet* sp = [CCBullet spriteWithFile:@\"g开发者_JAVA技巧reen.png\"];
is it possible to have particles without using cocos 2D. I know particle designer but we ha开发者_如何学JAVAve to use it with cocos 2D. How can I make particles without cocos 2D ??You can do it by spa
I\'ve spent too much time trying to figure this out and simply cannot find a workable solution. Situation:
I don\'t know how the best way is to explain what I am trying to do, but I will give it a shot. So I have a football on the screen and when I touch the screen I can drag my finger across the screen w
Hey, basically I am trying to do collision in cocos2d. I have him falling and when he touches the platform, which has an invisible tile on top of it ( used for checking if it touches player) he stops
I\'m having trouble positioning a UITextView when using the CCUIViewWrapper. Whatever I set the position to it always ends up in top left corner of the screen.