0

How to make a sprite with fixed position in cocos2d-iphone v3 ?I tried to make another one CCNode, and add to it, but it is still scrolled with the whole tile map.

EDIT: That's my code

  CCNode *cNode;
  cNode=[CCNode node];
 [self addChild:cNode];

CCSprite *cSprite;
cSprite=[CCSprite spriteWithImageNamed:@"cSprite.png"];
   cSprite.position=ccp(80,120);
    [cNode addChild:cSprite];

0 Answers0