上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 1.从字符串中提取某个数字char str[] = "level_0.json";int i = -1;sscanf(str, "level_%d.json", &i);cout<<i; 阅读全文
posted @ 2013-03-30 17:26 纯洁的坏蛋 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 根据cocos2d-x游戏原理当home键或者锁屏键被按下,游戏处于后台状态就会调用AppDelegate.cpp里面的方法applicationDidEnterBackground()其实按照这个方法的意思就可以知道到底是怎么回事了。所以我们就在这个方法内部写自己的东西。首先,我说一下原理, 自己... 阅读全文
posted @ 2013-03-30 13:29 纯洁的坏蛋 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 原帖地址:http://blog.sina.com.cn/s/blog_643e838601015zbo.html问题来源:UDT的android平台移植过程中,在用NDK编译buffer.cpp文件时出现error: exception handling disabled, use -fexcep... 阅读全文
posted @ 2013-03-23 23:41 纯洁的坏蛋 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 在安装CDT的时候勾选上CDT support vc++在选择新建C++工程的时候就会出现VC++ 和 GCC编译选项了找了很久都没有找到答案 阅读全文
posted @ 2013-03-23 20:32 纯洁的坏蛋 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 一工具外国人写的http://vertexwahn.de/https://bitbucket.org/Vertexwahn/bluego/downloads/BlueGo0.1.1.zip本地地址:http://download.csdn.net/detail/qq634416025/5169664... 阅读全文
posted @ 2013-03-22 13:28 纯洁的坏蛋 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 批量SVG图像转换器(Aurora SVG Viewer & Converter) http://www.cr173.com/soft/51136.html在网页中提取flash游戏Flash2X Flash Hunter 阅读全文
posted @ 2013-03-20 22:48 纯洁的坏蛋 阅读(170) 评论(0) 推荐(0) 编辑
摘要: g_rGemertricRecognizer=new GeometricRecognizer; g_rGemertricRecognizer->loadTemplates();void HelloWorld::ccTouchMoved(cocos2d::CCTouch *pTouch, coco... 阅读全文
posted @ 2013-03-17 22:45 纯洁的坏蛋 阅读(188) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/c_qiang0_0/article/details/8006261 阅读全文
posted @ 2013-03-17 20:02 纯洁的坏蛋 阅读(82) 评论(0) 推荐(0) 编辑
摘要: cocos2d::CCPoint HelloWorld::covertPointToTiledCoord(cocos2d::CCPoint p){ int x = p.x / mMap->getTileSize().width; int y = ((mMap->getMapSize().height... 阅读全文
posted @ 2013-03-17 15:16 纯洁的坏蛋 阅读(257) 评论(0) 推荐(0) 编辑
摘要: void HelloWorld::setCenterOfScreen(CCPoint p){ CCSize s = CCDirector::sharedDirector()->getWinSize(); int x = MAX(p.x, s.width / 2); int y = MAX(p.y, ... 阅读全文
posted @ 2013-03-17 14:28 纯洁的坏蛋 阅读(204) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页