Hi to all,
I have a strange crash on android while the win version is ok. I use the lastest version of cocos 2.1rc0!
my game crash executing this code (sigsegv error):
CCSize winSize = CCDirector::sharedDirector()>getWinSize;>setPosition(ccp(winSize.width/2, winSize.height/2 + 50));
fondale = CCSprite::create;
fondale
fondale~~>setScaleX;
fondale~~>setOpacity(0);
addChild(fondale, 10);
CCLabelTTF lb = CCLabelTTF::create, 18, CCSize, kCCTextAlignmentCenter);
lb~~>setPosition.width/2,fondale~~>getContentSize.height/2-20));
fondale~~>addChild;
lb~~>setTag;
CCMenuItemLabelpResume = CCMenuItemLabel::create(CCLabelTTF::create(“RESUME”, GAME~~>getNomeFont, 20), this, menu_selector);
pResume~~>setPosition(ccp(fondale~~>getContentSize.width/2,fondale~~>getContentSize().height/2-100));
CCMenu* pMenu = CCMenu::create(pResume, NULL);
fondale~~>addChild;
pMenu~~>setPosition(ccp(0,0));
pMenu~~>setTag;
CCFiniteTimeAction* actionFadeIn = CCFadeIn::create;
CCFiniteTimeAction* actionScale = CCScaleTo::create;
fondale~~>runAction( CCSequence::create(CCSpawn::create(actionScale, actionFadeIn), NULL) );
If I remove the animations all is ok (in Win and also in Android)
Do you have any idea?
Thank you very much