luoyikun

导航

2015年9月20日 #

cocos3.8屏幕截图

摘要: utils::captureScreen(CC_CALLBACK_2(HelloWorld::afterCapture, this), "D:/MyCocosProj/FallDown/Resources/ScreenShot.png"); 然后在回调函数 void HelloWorld::afte 阅读全文

posted @ 2015-09-20 16:21 luoyikun 阅读(22) 评论(0) 推荐(0)

cocos2dx安卓平台横竖屏设置

摘要: 1.找到AndroidManifest.xml文件 2.screenOrientation="landscape" //横屏 screenOrientation="portrait" //竖屏 阅读全文

posted @ 2015-09-20 16:12 luoyikun 阅读(9) 评论(0) 推荐(0)

MFC使用TransparentBlt透明贴图

摘要: MFC读取一张Bmp图时,图片不是透明背景时,使用TransparentBlt可对特定背景颜色进行过滤。 函数原型:BOOL TransparentBlt(HDC hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int hHe 阅读全文

posted @ 2015-09-20 15:58 luoyikun 阅读(37) 评论(0) 推荐(0)