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

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

資源簡介

使用cocos2d-x 技術制作了一款個人簡歷app,如果要從事cocos游戲開發,那么從自己的專業出發,向面試官展示自己的技術的一種方式。目前只設計了基本信息的內容,其他部分留白,可以自己設計個人風格,文件中包含app文件一個,cocos源碼及資源文件

資源截圖

代碼片段和文件信息

#include?“AppDelegate.h“
#include?“HelloWorldScene.h“
#include?“MenuScene.h“

USING_NS_CC;

static?cocos2d::Size?designResolutionSize?=?cocos2d::Size(400?600);
static?cocos2d::Size?smallResolutionSize?=?cocos2d::Size(480?320);
static?cocos2d::Size?mediumResolutionSize?=?cocos2d::Size(1024?768);
static?cocos2d::Size?largeResolutionSize?=?cocos2d::Size(2048?1536);

AppDelegate::AppDelegate()?{

}

AppDelegate::~AppDelegate()?
{
}

//if?you?want?a?different?contextjust?modify?the?value?of?glContextAttrs
//it?will?takes?effect?on?all?platforms
void?AppDelegate::initGLContextAttrs()
{
????//set?OpenGL?context?attributionsnow?can?only?set?six?attributions:
????//redgreenbluealphadepthstencil
????GLContextAttrs?glContextAttrs?=?{8?8?8?8?24?8};

????GLView::setGLContextAttrs(glContextAttrs);
}

//?If?you?want?to?use?packages?manager?to?install?more?packages?
//?don‘t?modify?or?remove?this?function
static?int?register_all_packages()
{
????return?0;?//flag?for?packages?manager
}

bool?AppDelegate::applicationDidFinishLaunching()?{
????//?initialize?director
????auto?director?=?Director::getInstance();
????auto?glview?=?director->getOpenGLView();
????if(!glview)?{
#if?(CC_TARGET_PLATFORM?==?CC_PLATFORM_WIN32)?||?(CC_TARGET_PLATFORM?==?CC_PLATFORM_MAC)?||?(CC_TARGET_PLATFORM?==?CC_PLATFORM_LINUX)
????????glview?=?GLViewImpl::createWithRect(“app“?Rect(0?0?designResolutionSize.width?designResolutionSize.height));
#else
????????glview?=?GLViewImpl::create(“app“);
#endif
????????director->setOpenGLView(glview);
????}

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

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

????//?Set?the?design?resolution
????glview->setDesignResolutionSize(designResolutionSize.width?designResolutionSize.height?ResolutionPolicy::EXACT_FIT);
????Size?frameSize?=?glview->getframeSize();
????//?if?the?frame‘s?height?is?larger?than?the?height?of?medium?size.
????if?(frameSize.height?>?mediumResolutionSize.height)
????{????????
????????director->setContentScaleFactor(MIN(largeResolutionSize.height/designResolutionSize.height?largeResolutionSize.width/designResolutionSize.width));
????}
????//?if?the?frame‘s?height?is?larger?than?the?height?of?small?size.
????else?if?(frameSize.height?>?smallResolutionSize.height)
????{????????
????????director->setContentScaleFactor(MIN(mediumResolutionSize.height/designResolutionSize.height?mediumResolutionSize.width/designResolutionSize.width));
????}
????//?if?the?frame‘s?height?is?smaller?than?the?height?of?medium?size.
????else
????{????????
????????director->setContentScaleFactor(MIN(smallResolutionSize.height/designResolutionSize.height?smallResolutionSize.width/designResolutionSize.width));
????}

????register_all_packages();

????//?create?a?scene.?it‘s?an?autorelease?object
????auto?scene?=?HelloWorld::createScene();

????//?run
????director->runWithScene(scene);

????return?true;
}

//?This?f

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

?????文件????6955894??2017-08-25?20:11??個人簡歷app源碼\app-debug.apk

?????文件???????3601??2017-08-25?19:33??個人簡歷app源碼\Classes\AppDelegate.cpp

?????文件????????987??2017-08-20?15:45??個人簡歷app源碼\Classes\AppDelegate.h

?????文件???????4151??2017-07-19?14:17??個人簡歷app源碼\Classes\CardSprite.cpp

?????文件????????485??2017-07-19?09:21??個人簡歷app源碼\Classes\CardSprite.h

?????文件??????10432??2017-08-24?19:35??個人簡歷app源碼\Classes\HelloWorldScene.cpp

?????文件????????488??2017-08-24?15:01??個人簡歷app源碼\Classes\HelloWorldScene.h

?????文件???????9729??2017-08-25?16:58??個人簡歷app源碼\Classes\MenuScene.cpp

?????文件????????519??2017-08-25?16:24??個人簡歷app源碼\Classes\MenuScene.h

?????文件???????1729??2017-07-19?09:29??個人簡歷app源碼\Classes\ScoreBroad.cpp

?????文件????????621??2017-07-19?09:28??個人簡歷app源碼\Classes\ScoreBroad.h

?????文件???????7526??2017-08-25?16:34??個人簡歷app源碼\Classes\simpleScene.cpp

?????文件????????840??2017-08-25?16:33??個人簡歷app源碼\Classes\simpleScene.h

?????文件???????2852??2017-08-24?18:56??個人簡歷app源碼\Resources\back.png

?????文件?????235888??2017-08-23?21:19??個人簡歷app源碼\Resources\bg.png

?????文件???????3596??2017-08-20?15:45??個人簡歷app源碼\Resources\CloseNormal.png

?????文件???????2810??2017-08-20?15:45??個人簡歷app源碼\Resources\CloseSelected.png

?????文件?????778552??2017-08-20?15:45??個人簡歷app源碼\Resources\fonts\arial.ttf

?????文件??????25776??2017-08-20?15:45??個人簡歷app源碼\Resources\fonts\Marker?Felt.ttf

?????文件??????37864??2017-08-20?15:45??個人簡歷app源碼\Resources\HelloWorld.png

?????文件????????504??2017-08-25?09:32??個人簡歷app源碼\Resources\jbxx\line.png

?????文件???????6249??2017-08-24?20:09??個人簡歷app源碼\Resources\jbxx\logo.png

?????文件???????2283??2017-08-25?10:10??個人簡歷app源碼\Resources\jbxx\wenz_1.png

?????文件????????145??2017-08-25?10:28??個人簡歷app源碼\Resources\jbxx\wenz_10.png

?????文件???????2053??2017-08-25?10:19??個人簡歷app源碼\Resources\jbxx\wenz_11.png

?????文件???????3186??2017-08-25?10:56??個人簡歷app源碼\Resources\jbxx\wenz_12.png

?????文件????????145??2017-08-25?10:28??個人簡歷app源碼\Resources\jbxx\wenz_2.png

?????文件???????1372??2017-08-25?10:15??個人簡歷app源碼\Resources\jbxx\wenz_3.png

?????文件???????2565??2017-08-25?10:15??個人簡歷app源碼\Resources\jbxx\wenz_4.png

?????文件???????2545??2017-08-25?10:17??個人簡歷app源碼\Resources\jbxx\wenz_5.png

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

評論

共有 條評論