91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3.92MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-19
  • 語言: 其他
  • 標簽: cocos-2d??3.0??

資源簡介

COCOS-2D的小游戲,內容說明+注釋,并付APK文件,工程太大無法上傳,只上傳了.CPP和.H

資源截圖

代碼片段和文件信息

#include?“AppDelegate.h“
#include?“HelloWorldScene.h“
#include?“MyNewClass.h“
USING_NS_CC;

AppDelegate::AppDelegate()?{

}

AppDelegate::~AppDelegate()?
{
}

bool?AppDelegate::applicationDidFinishLaunching()?{
????//?initialize?director
????auto?director?=?Director::getInstance();

????auto?glview?=?director->getOpenGLView();
director->setDepthTest(false);
????if(!glview)?{
????????glview?=?GLView::create(“My?Game“);
????????director->setOpenGLView(glview);
????}

//
//glview->setframeSize(320480);
//glview->setframeZoomFactor(1.0f);
glview->setDesignResolutionSize(320.0480.0ResolutionPolicy::SHOW_ALL?);

std::vectorsearchPath;searchPath.push_back(“w640“);
CCFileUtils::getInstance()->setSearchPaths(searchPath);
// director->setContentScaleFactor(640.0/320.0);

????//?turn?on?display?FPS
????director->setDisplayStats(true);

????//?set?FPS.?the?default?value?is?1.0/60?if?you?don‘t?call?this
????director->setAnimationInterval(1.0?/?600);

????//?create?a?scene.?it‘s?an?autorelease?object
???//?auto?scene?=?HelloWorld::createScene();
auto?newscene?=?MyNewClass::createScene();
????director->runWithScene(newscene);

????return?true;
}

//?This?function?will?be?called?when?the?app?is?inactive.?When?comes?a?phone?callit‘s?be?invoked?too
void?AppDelegate::applicationDidEnterBackground()?{
????Director::getInstance()->stopAnimation();

????//?if?you?use?SimpleAudioEngine?it?must?be?pause
????//?SimpleAudioEngine::getInstance()->pauseBackgroundMusic();
}

//?this?function?will?be?called?when?the?app?is?active?again
void?AppDelegate::applicationWillEnterForeground()?{
????Director::getInstance()->startAnimation();

????//?if?you?use?SimpleAudioEngine?it?must?resume?here
????//?SimpleAudioEngine::getInstance()->resumeBackgroundMusic();
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????6311??2014-04-01?18:48??Resources\CloseNormal.png

?????文件???????5499??2014-04-01?18:48??Resources\CloseSelected.png

?????文件??????25776??2014-04-01?18:48??Resources\fonts\Marker?Felt.ttf

?????文件?????138777??2014-04-01?18:48??Resources\HelloWorld.png

?????文件?????111854??2014-05-11?15:01??Resources\p1.png

?????文件???????4419??2010-11-10?05:21??Resources\dog.png

?????文件???????3473??2010-11-10?05:29??Resources\turtle.png

?????文件???????3940??2010-11-10?06:43??Resources\bird.png

?????文件???????4124??2010-11-10?05:21??Resources\cat.png

?????文件??????11985??2014-05-17?11:22??Resources\start1.png

?????文件??????13977??2014-05-17?11:21??Resources\restart1.png

?????文件?????611588??2014-05-15?17:04??Resources\blue1.png

?????文件??????46709??2014-05-15?17:13??Resources\EndGame.png

?????文件????????159??2014-05-15?16:17??Resources\unit.1png

?????文件????????353??2014-05-12?22:12??Resources\redblock1.png

?????文件??????11781??2014-05-17?13:46??Resources\restart.png

?????文件???????4776??2014-05-17?11:18??Resources\redblock1?(2).png

?????文件??????82058??2014-03-08?13:17??Resources\title.png

?????文件???????6865??2014-05-17?22:41??Resources\high?score.png

?????文件?????157263??2014-05-17?19:44??Resources\blue.png

?????文件??????10618??2014-05-17?18:48??Resources\start1?(2).png

?????文件???????5776??2014-05-17?22:42??Resources\start.png

?????文件???????6136??2014-05-17?19:08??Resources\unit.png

?????文件???????4526??2014-05-17?13:48??Resources\redblock1?(3).png

?????文件???????8294??2014-05-22?10:25??Resources\redblock.png

?????文件??????26371??2014-05-22?10:37??Resources\m_list.png

?????文件???????2664??2014-05-22?10:37??Resources\m_list.plist

?????文件????2874046??2014-05-19?12:31??hello.apk

?????文件????????144??2014-05-27?16:25??使用說明.txt

?????文件???????1848??2014-05-27?16:22??Classes\AppDelegate.cpp

............此處省略22個文件信息

評論

共有 條評論