hi
im working out for Tutorial 7 on Cocos2d-x 2.0 stable.
but i got error on building here
bool GameOverScene::init()
{
if( CCScene::init() )
{
this~~>_layer = GameOverLayer::node;// Assigning to ‘GameOverLayer ’ from incompatible type ’cocos2d::CCLayerColor’
this~~>_layer~~>retain;
this~~>addChild(_layer);
return true;
}
else
{
return false;
}
}
could anyone help me how could i fix this problem?