摘要:
在用 cocos2d-x的过程中,想计算时间差,比如touchbegin与touchend的点击时间差的时候,需要获得当前的时间,这个时候一般用的是time(NULL)来获得,返回的单位是time_t 在ios平台上看了下,也就是long,也就是从197... 阅读全文
摘要:
//// Created by sky on 14-8-19.#include #include "cocos2d.h"#include "cocos-ext.h"USING_NS_CC;USING_NS_CC_EXT;class DaojuHelpLayer:pu... 阅读全文