1, first create a LayerColor
Scene *scene=Scene::create() ;
director->runWithScene(scene);
//Goal
auto layer = LayerColor::create(Color4B(0, 255, 0, 255), 100 , 100);
//The main step
1, first create a LayerColor
Scene *scene=Scene::create() ;
director->runWithScene(scene);
//Goal
auto layer = LayerColor::create(Color4B(0, 255, 0, 255), 100 , 100);
//The main step