AppDelegate::applicationDidFinishLaunching()函數里
把
glview = GLViewImpl::createWithRect("NAME", Rect(0, 0, designResolutionSize.width, designResolutionSize.height));
改成
glview = GLViewImpl::createWithFullScreen("NAME");
就可以全屏
訂閱:
文章 (Atom)
cocos2dx-lua 建立滑鼠監聽
重要關鍵字 EVENT_MOUSE_SCROLL addEventListenerWithSceneGraphPriority if IsPc() then --建立滑鼠監聽 local listener = cc.EventListenerMouse...
-
本身常用範例 auto pFrame= SpriteFrameCache::getInstance()->getSpriteFrameByName(test); m_IconBox->setSpriteFrame(pFrame); http://cocos2...
-
http://blog.csdn.net/teng_ontheway/article/details/26078869 遊戲中經常會用到一些變換: 遊戲中武器和角色在一個layer上,為了效率,會考慮將bullet, effect和 PhysicsParticle分別放...
-
如何將IPA 透過ITUNES 安裝到 手機中 1.插上iPhone,開啟 iTunes,點選選單 檢視->媒體種類->APP 。iTunes 會切換至APP頁面 2.開啟檔案總管 將 .ipa 檔案 利用滑鼠拉進 iTunes。然後...