I have some CCSprites that are children of a CCParallaxNode that scroll horizontally.They are all the same size, i.e, 2048X640 (for the -hd versions, 1024X320 for the non-hd), but they cont开发者_如何
I have total 20 images in NSMutableArray of ccspirit objects, and I want to show them on screen moving moving upward, I add them to as [self addChild:p] as below
so i need a function or something that can make my 2 sprites move up and down, all the time! from the app starts with out anything have been touched on the screen..
I am trying to overlay color on a sprite image and have questions about how to blend the color with the sprite. I\'ve used the following updateImageTint routine to overlay color on a UIImage and the o
The problem that I have is that when ever I change the anchor point sprite automatically rotates with respect to the current anchor point. And I don\'t want that to happen.
Okay, I am going to post some code so you can see what I am doing and then at the end I will ask my question.
I am trying to draw one sprite from atlas.. I created with Zwoptex the atlas and the plist file. put the two files in the assest folder..
i have started with helloworld template. added some menu and started performance tool->allocation. result: 1.9MB
I want to be able to move certain sprite images with the users touch. Something along these lines: - (void)ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
Can you help. Want to draw a polygon (beams at different angles) and apply box 2d body 开发者_如何学Goto it. Can you please let me know how to create a CCSprite with a polygon shape