cocos初探
文章平均质量分 57
爱打码爱生活
充实并超越自己。
展开
-
vs2015打开cocos项目报错C1189
试了别人的方案,最后找到根本原因:vs 2015里面已经自己定义了snpritf(),而cocos里面又重新定义了一遍,所以出现了冲突; #ifdef snprintf #error: Macro definition of snprintf conflicts with Standard Library function declaration” #endif原创 2017-02-03 11:26:19 · 1100 阅读 · 0 评论 -
cocos模拟touch,模拟滑动
intptr_t ids[] = {2029930560}; #if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID float xxs[] = {(float)currentClickableObj.x * scrWidth / 1136}; float yys[] = {(6原创 2017-06-09 11:02:27 · 566 阅读 · 0 评论