// // MainScene.cpp // helloworld // // Created by apple on 16/11/8. // // #include "MainScene.hpp" Scene * MainScene::createScene() { auto scene = Scene::create(); //创建层 MainScene *layer = MainScene::create(); scene->addChild(layer); return…
// // MainScene.cpp // helloworld // // Created by apple on 16/9/19. // // #include "MainScene.hpp" Scene * MainScene::createScene() { auto scene = Scene::create(); // CCScene * scene = CCScene::create();// 创建场景 //创建层 MainScene *layer = Ma…