Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool AppDelegate::applicationDidFinishLaunching() {
- Director* director = Director::getInstance();
- EGLView* eglView = EGLView::getInstance();
- director->setOpenGLView(eglView);
- // load config
- GameConfig::sharedInstance()->load();
- GameConfig::sharedInstance()->loadFilePaths();
- Localized::load();
- director->setDisplayStats(false);
- director->setAnimationInterval(1.0 / 60);
- Scene *scene = MainMenuLayer::scene();
- director->runWithScene(scene);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement