cocos2d-x iphone真机测试出现闪屏现象
2014-03-05 15:48
363 查看
最近在学着写一个跑酷游戏。使用cocos2d-x , ios平台。
在真机测试时候,发现出现闪屏现象,如图所示。
后来发现了2个解决方法,mark一下。
// 解决方法 A:关闭深度检测
CCDirector::sharedDirector()->setDepthTest(false);
或者
// 解决方法B:使用2D投射
CCDirector::sharedDirector()->setProjection(kCCDirectorProjection2D);
学习的路上,与君共勉。
在真机测试时候,发现出现闪屏现象,如图所示。
后来发现了2个解决方法,mark一下。
// 解决方法 A:关闭深度检测
CCDirector::sharedDirector()->setDepthTest(false);
或者
// 解决方法B:使用2D投射
CCDirector::sharedDirector()->setProjection(kCCDirectorProjection2D);
学习的路上,与君共勉。
相关文章推荐
- 解决Xcode7.0在iPhone 9.2 系统真机测试时出现could not find developer disk image问题
- 【11/09】 iOS开发成长之路,【iOS真机测试出现iPhone unavailable】Xcode7 真机测试,真机出现"unavailable"字样,Could not find develo
- [iOS]iPhone进行真机测试(基础版)
- 用真机测试的时候出现adb连接断开的解决办法
- iphone真机调试时上下两端出现黑边
- 【Android自学笔记】android真机测试时 出现 “远程主机强迫关闭了一个现有的连接”的解决方法
- iphone 程序真机测试 -Xcode
- iOS 真机测试经常出现的不能运行的问题及解决方案
- appium 真机测试问题 出现 instruments crashed on startup
- 真机测试出现INSTALL_FAILED_USER_RESTRICTED安装错误
- cocos2dx vs2010运行或真机测试时,出现闪屏的情况,
- 升级Xcode到6.1之后使用iPhone6真机测试cocos2d-x报错不支持arm64的解决方案,Undefin ...
- 真机上测试出现问题:An error occurred while trying to run the script
- iphone 程序真机测试 -Xcode
- 真机测试时出现 could not find developer disk image问题
- 系统真机测试时出现 could not find developer disk image问题
- iphone 4 程序开发:真机测试 (免费无99刀)
- (zz)How to sideload apps on your iPhone using Xcode 7(无需99刀也能在真机上测试App)
- iOS: iphone在真机测试以及apns的设置
- [iOS]iPhone进行真机测试(基础版)