摘要: Cocos2d-x的帧频系统默认是60帧每秒。View Code 1 /**这里返回的单位是按毫秒计算,这个时间的WallClock时间,即1970_1_1到现在的时间差*/2 static long getCurrentMillSecond() {3 long lLastTime;4 struct timeval stCurrentTime;5 6 gettimeofday(&stCurrentTime,NULL);7 lLastTime = stCurrentTime.tv_sec*1000+stCurrentTime.tv_usec*0.001; //mi... 阅读全文
posted @ 2013-05-07 00:24 walkabc 阅读(346) 评论(0) 推荐(0) 编辑