资源简介
paopao.rar
代码片段和文件信息
#include “AppDelegate.h“
#include “../proj.win32/Singleton/Commonlayer.h“
#include “../proj.win32/Singleton/CommonScene.h“
#include “../proj.win32/utils/I18N.h“
//#include “proj.win32/Singleton/UserInformation.h“
USING_NS_CC;
AppDelegate::AppDelegate() {
}
AppDelegate::~AppDelegate()
{
}
bool AppDelegate::applicationDidFinishLaunching() {
// initialize director
CCDirector* pDirector = CCDirector::sharedDirector();
CCEGLView* pEGLView = CCEGLView::sharedOpenGLView();
pDirector->setOpenGLView(pEGLView);
CCSize screenSize = CCEGLView::sharedOpenGLView()->getframeSize();
CCSize designSize;
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
designSize = CCSizeMake(1360 640);
CCFileUtils::sharedFileUtils()->addSearchPath(“IPhone“);
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
designSize = CCSizeMake(800480);
CCFileUtils::sharedFileUtils()->addSearchPath(“Android“);
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
designSize = CCSizeMake(960 640);
CCFileUtils::sharedFileUtils()->addSearchPath(“IOS“);
#endif
// turn on display FPS
pDirector->setDisplayStats(true);
// set FPS. the default value is 1.0/60 if you don‘t call this
pDirector->setAnimationInterval(1.0 / 60);
// create a scene. it‘s an autorelease object
CCScene *pScene = CommonScene::scene();
I18N::sharedR18N()->loadCache();
// run
pDirector->runWithScene(pScene);
return true;
}
// This function will be called when the app is inactive. When comes a phone callit‘s be invoked too
void AppDelegate::applicationDidEnterBackground() {
//UserInformation::shredeUserInformation()->endGamePowerTime();
CCDirector::sharedDirector()->stopAnimation();
// if you use SimpleAudioEngine it must be pause
// SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic();
}
// this function will be called when the app is active again
void AppDelegate::applicationWillEnterForeground() {
CCDirector::sharedDirector()->startAnimation();
// if you use SimpleAudioEngine it must resume here
// SimpleAudioEngine::sharedEngine()->resumeBackgroundMusic();
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2115 2013-10-17 10:18 People\Classes\AppDelegate.cpp
文件 955 2013-10-11 14:51 People\Classes\AppDelegate.h
文件 1058 2013-12-31 11:57 People\Resources\project\Exption\start\load0.plist
文件 81158 2013-12-31 11:57 People\Resources\project\Exption\start\load0.png
文件 1914 2013-12-31 11:57 People\Resources\project\Exption\start\load_1.ExportJson
文件 1060 2014-01-04 14:57 People\Resources\project\Exption\Menu\Menu0.plist
文件 192497 2014-01-04 14:57 People\Resources\project\Exption\Menu\Menu0.png
文件 2767 2014-01-04 14:57 People\Resources\project\Exption\Menu\Menu1.plist
文件 446876 2014-01-04 14:57 People\Resources\project\Exption\Menu\Menu1.png
文件 1060 2014-01-04 14:57 People\Resources\project\Exption\Menu\Menu2.plist
文件 65141 2014-01-04 14:57 People\Resources\project\Exption\Menu\Menu2.png
文件 10005 2014-01-04 14:57 People\Resources\project\Exption\Menu\Menu_1.ExportJson
文件 3642 2014-01-06 11:47 People\Resources\project\Exption\Play\Play0.plist
文件 48309 2014-01-06 11:47 People\Resources\project\Exption\Play\Play0.png
文件 2369 2014-01-06 11:47 People\Resources\project\Exption\Play\Play1.plist
文件 60533 2014-01-06 11:47 People\Resources\project\Exption\Play\Play1.png
文件 1934 2014-01-06 11:47 People\Resources\project\Exption\Play\Play2.plist
文件 241563 2014-01-06 11:47 People\Resources\project\Exption\Play\Play2.png
文件 1957 2014-01-06 11:47 People\Resources\project\Exption\Play\Play3.plist
文件 55237 2014-01-06 11:47 People\Resources\project\Exption\Play\Play3.png
文件 1497 2014-01-06 11:47 People\Resources\project\Exption\Play\Play4.plist
文件 229352 2014-01-06 11:47 People\Resources\project\Exption\Play\Play4.png
文件 1066 2014-01-06 11:47 People\Resources\project\Exption\Play\Play5.plist
文件 367201 2014-01-06 11:47 People\Resources\project\Exption\Play\Play5.png
文件 68600 2014-01-06 11:47 People\Resources\project\Exption\Play\Play_1.ExportJson
文件 14784 2013-10-14 15:11 People\Resources\project\Exption\Play\GUI\labelatlasimg.png
文件 8809 2014-01-06 16:48 People\Resources\project\Exption\Other\Other0.plist
文件 174757 2014-01-06 16:48 People\Resources\project\Exption\Other\Other0.png
文件 34092 2014-01-06 16:48 People\Resources\project\Exption\Other\Other_1.ExportJson
文件 14784 2013-10-14 15:11 People\Resources\project\Exption\Other\GUI\labelatlasimg.png
............此处省略506个文件信息
- 上一篇:STM8L15x 库例程大全
- 下一篇:基于ACIS的几何造型技术与系统开发
相关资源
- VIVO售后解锁账号擦除软件和驱动平台
- eBatPrint13.2_crk破解版CAD批量打印PDF.r
-
Databa
seSystemConcepts6thEdition.pdf - KMSTools_V18.06.2016_Xitongzhijia.zip
- C7.0inaNutshellTheDefinitiveReference.pdf
- 米酷影视5.0修复综艺动漫.zip
- h1.bin
- u011296061_8888705.zip
- GirdDemo.zip
- ListDemo.zip
- u010837860_9188769.zip
- Envi5.1破解.rar
- IPC-7711B-7721B-Chinese(L).pdf
- ANSOFT_RMxprt用户手册V12(1-6章).pdf
- Optiwave.OptiSystem.v7.0.With.Crack-NULL.part3
- hctwifi_UTF8_1.3.zip
- 精通特征工程.pdf源码.zip
- splunk-7.2.3-06d57c595b80-Linux-x86_64_crack.t
- 最优化理论与算法(第2版).pdf
-
fr
ametest.rar - pdftoword0406.rar
- tifuqi7410_10684458.zip
- GBT32960相关资料.rar
- 微擎1.7.9.zip
- 统计信号处理基础-估计与检测理论
- 2778_Simplorer_v9_complete_manual.pdf
- 永磁同步电机伺服控制位置环控制论
- Django基础教程精通Django.Django1.8LTS全解
- Linux设备驱动开发详解:基于最新的
- investigationos.rar
评论
共有 条评论