I have a CCLayer which I need to add a camera to, on top of that I need a custom button to close the camera overlayed onto of the camera. I eventually need to display CCSprites on top of it all, but f
I have a CCSprite called sprite that is a child of a CCLayer called movingLayer that is itself a child of the current CCLayer running my game logic, so it is self in this case.movingLayer is moving ba
I\'m using Cocos2d to render a sprite, and UIGestureRecognizers to allow the user to Pan, Rotate and Scale the sprite.
I want to use in my game effect of perspective view by using few layers, scrolling with different speed. I have three layers. My background is bottom layer, it scrolls very slowly, so it can be in a f
Please excuse the stupid question, but 开发者_运维问答I\'m working on a game because I\'m crazy like that and I really need some help.When you fall below the screen in doodle jump the game is over and
why if i am trying to call animation function in cocos2d like this : -(id) init { if( (self=[super init] ) )
when i animate a sprite sheet in a loop , i dont know how many sprites are there, so i have to count them before, because when animation is done , i have to run something else.
Ok, my math is a bit rusty and I feel like this should be an easy problem, but yet I am her开发者_运维知识库e.
first of all i am new to Cocos2D and Obj-C so i do encounter maybe simple problems like this. my problem looks like this:
I currently have a dial that rotates on touch.I would like to include a \"click\" sound effect when the dial is moving.I have the click sound working, but it is a bit chaotic.