• 大小: 49.89MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-08
  • 语言: 其他
  • 标签: 滑雪  cocos2dx  

资源简介

cocos2dx 2.2.6版本,可编译运行版本。动态生成地图,曲线地图

资源截图

代码片段和文件信息

#include “AppDelegate.h“
#include “LoadingScreen.h“
USING_NS_CC;

AppDelegate::AppDelegate() {

}

AppDelegate::~AppDelegate() 
{
}

bool AppDelegate::applicationDidFinishLaunching() {

    CCDirector* pDirector = CCDirector::sharedDirector();
    CCEGLView* pEGLView = CCEGLView::sharedOpenGLView();

    pDirector->setOpenGLView(pEGLView);

 
    pDirector->setDisplayStats(false);

 
    pDirector->setAnimationInterval(1.0 / 60);
pEGLView->setDesignResolutionSize(480320kResolutionExactFit);
 
CCScene *pScene = LoadingScreen::scene();


    pDirector->runWithScene(pScene);

    return true;
}


void AppDelegate::applicationDidEnterBackground() {
    CCDirector::sharedDirector()->stopAnimation();

    
}


void AppDelegate::applicationWillEnterForeground() {
    CCDirector::sharedDirector()->startAnimation();


}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-05-18 13:43  SkiSafari1234-Win\
     目录           0  2017-05-18 13:44  SkiSafari1234-Win\SkiSafari1234(9)\
     目录           0  2017-05-18 13:43  SkiSafari1234-Win\SkiSafari1234(9)\Classes\
     文件         828  2014-08-04 16:30  SkiSafari1234-Win\SkiSafari1234(9)\Classes\AppDelegate.cpp
     文件         359  2014-08-04 16:04  SkiSafari1234-Win\SkiSafari1234(9)\Classes\AppDelegate.h
     文件        2045  2014-08-05 11:07  SkiSafari1234-Win\SkiSafari1234(9)\Classes\BackMenu.cpp
     文件         779  2014-08-05 10:45  SkiSafari1234-Win\SkiSafari1234(9)\Classes\BackMenu.h
     文件        2321  2014-08-05 11:02  SkiSafari1234-Win\SkiSafari1234(9)\Classes\CupScene.cpp
     文件         270  2014-08-04 11:26  SkiSafari1234-Win\SkiSafari1234(9)\Classes\CupScene.h
     文件         511  2014-08-01 18:03  SkiSafari1234-Win\SkiSafari1234(9)\Classes\DataManager.cpp
     文件         321  2014-08-01 18:03  SkiSafari1234-Win\SkiSafari1234(9)\Classes\DataManager.h
     文件        2855  2014-08-04 11:25  SkiSafari1234-Win\SkiSafari1234(9)\Classes\GameOver.cpp
     文件         473  2014-08-04 15:11  SkiSafari1234-Win\SkiSafari1234(9)\Classes\GameOver.h
     文件       24452  2014-08-05 10:26  SkiSafari1234-Win\SkiSafari1234(9)\Classes\GameScene.cpp
     文件        1968  2014-08-04 16:04  SkiSafari1234-Win\SkiSafari1234(9)\Classes\GameScene.h
     文件        6365  2014-08-05 11:02  SkiSafari1234-Win\SkiSafari1234(9)\Classes\GLES-Render.cpp
     文件        1100  2014-08-05 11:02  SkiSafari1234-Win\SkiSafari1234(9)\Classes\GLES-Render.h
     文件        4357  2014-08-05 10:58  SkiSafari1234-Win\SkiSafari1234(9)\Classes\HelpScene.cpp
     文件        1045  2014-08-04 11:25  SkiSafari1234-Win\SkiSafari1234(9)\Classes\HelpScene.h
     文件        2794  2014-08-04 16:04  SkiSafari1234-Win\SkiSafari1234(9)\Classes\Hero.cpp
     文件         628  2014-08-04 16:04  SkiSafari1234-Win\SkiSafari1234(9)\Classes\Hero.h
     文件        2232  2014-08-04 16:38  SkiSafari1234-Win\SkiSafari1234(9)\Classes\LoadingScreen.cpp
     文件         323  2014-08-04 13:21  SkiSafari1234-Win\SkiSafari1234(9)\Classes\LoadingScreen.h
     文件        2479  2014-08-01 18:03  SkiSafari1234-Win\SkiSafari1234(9)\Classes\MyContactListener.cpp
     文件         685  2014-08-01 18:03  SkiSafari1234-Win\SkiSafari1234(9)\Classes\MyContactListener.h
     文件        4752  2014-08-04 11:25  SkiSafari1234-Win\SkiSafari1234(9)\Classes\NewPlayer.cpp
     文件         646  2014-08-04 15:11  SkiSafari1234-Win\SkiSafari1234(9)\Classes\NewPlayer.h
     文件        9635  2014-08-05 10:19  SkiSafari1234-Win\SkiSafari1234(9)\Classes\Obstacle.cpp
     文件        1263  2014-08-04 09:45  SkiSafari1234-Win\SkiSafari1234(9)\Classes\Obstacle.h
     文件        1945  2014-08-01 18:03  SkiSafari1234-Win\SkiSafari1234(9)\Classes\PauseScene.cpp
     文件         591  2014-08-01 18:03  SkiSafari1234-Win\SkiSafari1234(9)\Classes\PauseScene.h
............此处省略325个文件信息

评论

共有 条评论