I have an arrow and a ball. The anchorPoint for the arrow is on the bottom. All I need to do is have the sprite be able to rotate with touch, then a linear impulse is applied to the ball and shot in t
Is there any possibility to show o开发者_JS百科nly a part of an CCSprite? It seams that contentSize property doesn\'t have a good result.I think you might have to create a new sprite for this. The ge
I tried it: CCSprite *background = [CCSprite spriteWithSpriteFrame:frame]; background.textureRect = CGR开发者_Python百科ectMake(0, 0, calcadaWidth, winSize.height);
I think the title i开发者_如何学运维s pretty clear. The way I see it is there are two things :
How will I show 2 sprites on same layer. Presently sprites with h开发者_开发技巧orizontal image is coming behind the other sprites. Horizontal image sprites drawing in CCRibbon class. Well, you could
Trying to get Cocos2D and openFrameworks to play nicely together on iOS. Both want to use GL / EAGLview, and of course they can\'t just both do glView = [[EAGLView alloc] init] because you can\'t have
I have a CCSprite and a CCParticleSystemQuad that are both children of the CCLayer.In my update method, I set the emitter\'s position to that of the sprite, so it tracks the sprite around.The smoke pu
I am using Cocos2d game development framework for开发者_运维问答 iPhone. Let\'s focus on the battle scene:
I have a cocos2 project I\'m working on and I\'m wondering if there is a way to adjust a variable in my particle system .plist file in real time. i.e. adjust the x gravity to correlate with the speed
In my app, I need to draw a path where every coupe of frames, an additional point is added to the end of it.