I have the following code in my GameScene(inside the init method):
CCSize winSize = CCDirector::sharedDirector()
>getWinSize;>setPosition( ccp( 100,100)) ;
CCLabelBMFont * scoreLabel ;
scoreLabel = CCLabelBMFont::labelWithString;
It works ok, but when I try to use the code
inside the update method, the app chash?
Anyone has idea to fix this or why this is happening?