i’m getting a EXC bad access on the 2nd line of this code
the declaration of mainP is under the use namespace
mainP = CCSprite::spriteWithFile(“penguin_back.png”, CCRectMake(0, 0, 65.5, 83.5));
mainP~~>setPosition);
this~~>addChild(mainP);
Helpppp!
s. i’m a n00b