Hi,all
I follow sample http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_7*-*Some_Icing_on_the_Cake
and type code in GameOverScene.h header file
class GameOverLayer : public cocos2d::CCLayerColor
{
public:
GameOverLayer():_label(NULL) {};
virtual GameOverLayer;
\ bool\ init;
\ LAYER_NODE_FUNC;
\ void\ gameOverDone;
\ CC_SYNTHESIZE_READONLY;
};
but\ the\ method\
LAYER_NODE_FUNC;
error?
the tips is “The type ‘GameOverLayer’ must implement the inherited pure virtual method ‘cocos2d::CCRGBAProtocol::setOpacity’”
Is this my false or there is something def in cocos2d-1.0.1-x-0.10.0?
————————————2012-01-04
I fixed the problem. My faults, it’s environment error.