paopao.rar
paopao.rar
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2115 2013-10-17 10:18 PeopleClassesAppDelegate.cpp
文件 955 2013-10-11 14:51 PeopleClassesAppDelegate.h
文件 1058 2013-12-31 11:57 PeopleResourcesprojectExptionstartload0.plist
文件 81158 2013-12-31 11:57 PeopleResourcesprojectExptionstartload0.png
文件 1914 2013-12-31 11:57 PeopleResourcesprojectExptionstartload_1.ExportJson
文件 1060 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu0.plist
文件 192497 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu0.png
文件 2767 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu1.plist
文件 446876 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu1.png
文件 1060 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu2.plist
文件 65141 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu2.png
文件 10005 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu_1.ExportJson
文件 3642 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay0.plist
文件 48309 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay0.png
文件 2369 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay1.plist
文件 60533 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay1.png
文件 1934 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay2.plist
文件 241563 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay2.png
文件 1957 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay3.plist
文件 55237 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay3.png
文件 1497 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay4.plist
文件 229352 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay4.png
文件 1066 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay5.plist
文件 367201 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay5.png
文件 68600 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay_1.ExportJson
文件 14784 2013-10-14 15:11 PeopleResourcesprojectExptionPlayGUIlabelatlasimg.png
文件 8809 2014-01-06 16:48 PeopleResourcesprojectExptionOtherOther0.plist
文件 174757 2014-01-06 16:48 PeopleResourcesprojectExptionOtherOther0.png
文件 34092 2014-01-06 16:48 PeopleResourcesprojectExptionOtherOther_1.ExportJson
文件 14784 2013-10-14 15:11 PeopleResourcesprojectExptionOtherGUIlabelatlasimg.png
............此处省略506个文件信息
#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 PeopleClassesAppDelegate.cpp
文件 955 2013-10-11 14:51 PeopleClassesAppDelegate.h
文件 1058 2013-12-31 11:57 PeopleResourcesprojectExptionstartload0.plist
文件 81158 2013-12-31 11:57 PeopleResourcesprojectExptionstartload0.png
文件 1914 2013-12-31 11:57 PeopleResourcesprojectExptionstartload_1.ExportJson
文件 1060 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu0.plist
文件 192497 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu0.png
文件 2767 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu1.plist
文件 446876 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu1.png
文件 1060 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu2.plist
文件 65141 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu2.png
文件 10005 2014-01-04 14:57 PeopleResourcesprojectExptionMenuMenu_1.ExportJson
文件 3642 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay0.plist
文件 48309 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay0.png
文件 2369 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay1.plist
文件 60533 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay1.png
文件 1934 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay2.plist
文件 241563 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay2.png
文件 1957 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay3.plist
文件 55237 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay3.png
文件 1497 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay4.plist
文件 229352 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay4.png
文件 1066 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay5.plist
文件 367201 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay5.png
文件 68600 2014-01-06 11:47 PeopleResourcesprojectExptionPlayPlay_1.ExportJson
文件 14784 2013-10-14 15:11 PeopleResourcesprojectExptionPlayGUIlabelatlasimg.png
文件 8809 2014-01-06 16:48 PeopleResourcesprojectExptionOtherOther0.plist
文件 174757 2014-01-06 16:48 PeopleResourcesprojectExptionOtherOther0.png
文件 34092 2014-01-06 16:48 PeopleResourcesprojectExptionOtherOther_1.ExportJson
文件 14784 2013-10-14 15:11 PeopleResourcesprojectExptionOtherGUIlabelatlasimg.png
............此处省略506个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)