开发者

ccsprite

0
  • How to create a CCSprite that is a Polygon shape

    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[详细]

    2023-03-26 18:55 分类:问答
  • sprite position

    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[详细]

    2023-03-24 11:15 分类:问答
  • How to transfer a CCSprite from one parent to another?

    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[详细]

    2023-03-21 06:21 分类:问答
  • How to skew a CCSprite in Cocos2d iPhone?

    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[详细]

    2023-03-19 21:47 分类:问答
  • How to change a CCSprite's position during a move action

    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[详细]

    2023-03-19 19:03 分类:问答
  • Deleting CCSprites stored in NSMutableArray not working right

    Here is what I\'ve tried. In m开发者_运维百科y init method I initialized the array: deleteSprites = [[NSMutableArray alloc] initWithCapacity:500];[详细]

    2023-03-18 21:57 分类:问答
  • Cocos2d Joystick

    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[详细]

    2023-03-18 15:56 分类:问答
  • Find the closest CCSprite

    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 :)[详细]

    2023-03-18 11:35 分类:问答
  • UIButton of previous scene overlaps CCSprite

    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:[详细]

    2023-03-17 07:44 分类:问答
  • Creating multiple sprites (Novice Cocos2d Question)

    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[详细]

    2023-03-16 04:59 分类:问答