What I want is for the user to draw a polygon and for a sprite to be made in the shape of the polygon.I already have all the programming done for the user to create the polygon, so I can read the vert
I\'m anew cocos2d developer and I have a tiny problem and i need your help.. Actually i need to rotate a Sprite around the screen center,开发者_C百科 i put the position to the screen center and the a
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 am trying to bend my sprite upto a certain angle but cant figure out the right way to do it.. i tried to study process to skew a Sprite which existed in Cocos2d 1.00 version but i cant find it in th
Is it possible to change a CCSprite\'s position during a move action, like CCMoveBy?I have a subclass of CCSprite that cycles through a bunch of actions, some of which are moves.I check to see if it h
Here is what I\'ve tried. In m开发者_运维百科y init method I initialized the array: deleteSprites = [[NSMutableArray alloc] initWithCapacity:500];
I have been looking al开发者_如何学Cl over for help on how to make a CCSprite move and rotate with the movement of a virtual joystick. I have tried examples and sample code, but, none have worked for
I am trying to find the closest \"player\" to a \"ball\" and each of these objects are CCSprite Objects. This is my first app, so if there\'s a better way to do this, feel free to suggest it :)
I have a UIButton that moves around randomly on the screen. On clicking on the button, a new scene is loaded that, for now, contains a CCSprite. Here is the code:
I have a CCLayer class where I create an animated sprite that is the \"hero\" for the game. Now, I am trying to create multiple enemies for him to fight, and I\'m having trouble. I want to create a cl