2015年3月15日

摘要: http://blog.csdn.net/macmini/article/details/10503799当我们使用gettimeofday(&time,NULL);时,会出现这样一个WARNINGImplicit declaration of function 'gettimeofday' is ... 阅读全文
posted @ 2015-03-15 21:36 沉淀2014 阅读(6208) 评论(1) 推荐(1) 编辑
摘要: http://www.xuanyusong.com/archives/950上一章我们了解了cocos2d的项目路径以及工作原理,这次作者要真刀真枪地讲解代码了,咱们先来看看cocos2d最常用、也是作者认为最核心的类——CCNode。之前说过,cocos2d的所有类都以CC开头,那么实际上这个类的... 阅读全文
posted @ 2015-03-15 20:21 沉淀2014 阅读(297) 评论(0) 推荐(0) 编辑
摘要: http://www.xuanyusong.com/archives/category/ios/cocos2d_game分类目录归档:【Cocos2D研究院之游戏开发】201211-19Cocos2D研究院之打开全新ViewController与返回(八)雨松MOMO【Cocos2D研究院之游戏开发... 阅读全文
posted @ 2015-03-15 20:18 沉淀2014 阅读(163) 评论(0) 推荐(0) 编辑
摘要: http://www.cppblog.com/lynch/archive/2011/08/05/152520.htmlstruct timeval结构体在time.h中的定义为: struct timeval { time_t tv_sec; /* Seconds. */ suseconds_t t... 阅读全文
posted @ 2015-03-15 19:46 沉淀2014 阅读(843) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/meteoric_cry/p/3594185.html美术在设计UI时,很多界面可能使用了数字图片来展示一些效果,比如CD或者 x1/x2等,一般她们都会切成很多单张小的图片,类似这样cocox2d-x中CCLabelAtlas支持直接从图片中读取文字,... 阅读全文
posted @ 2015-03-15 18:21 沉淀2014 阅读(211) 评论(0) 推荐(0) 编辑

导航