ios播放影片

摘要: ios//// movieplayercontroller.h// sgcard//// Created by Apple on 13-9-10.////#import #import "movieplayer.h"#import "EAGLView.h"@interface MoviePlayer... 阅读全文
posted @ 2014-06-06 17:00 the seal 阅读(232) 评论(0) 推荐(0) 编辑

cocos2d-x多线程加载pvr

摘要: //// ThreadLoadPVR.h// sgcard//// Created by Apple on 13-9-24.////#ifndef __sgcard__MgrLoadPVR__#define __sgcard__MgrLoadPVR__#include "Uncopyable.h"#... 阅读全文
posted @ 2014-06-05 23:30 the seal 阅读(293) 评论(0) 推荐(0) 编辑

cocos2d-x多线程解析域名

摘要: void * CNetThread::getIpAddress(void *arg){ //将原先的会引发线程不安全的代码更改为线程安全的代码 CServerInfo *info = static_cast(arg); // CServerInfo info; // GameInfo::... 阅读全文
posted @ 2014-06-05 23:27 the seal 阅读(345) 评论(0) 推荐(0) 编辑

c++中文字符判断

摘要: int setNickLayer::countNum(const char * inText, int &outNum1, int &outNum2){ outNum1 = 0; outNum2 = 0; const char *p = inText; while(*p) { uns... 阅读全文
posted @ 2014-06-05 23:24 the seal 阅读(1830) 评论(0) 推荐(0) 编辑

参考网站

摘要: 黑米:http://www.himigame.com/泰然:http://www.tairan.com/ 阅读全文
posted @ 2014-06-05 23:07 the seal 阅读(83) 评论(0) 推荐(0) 编辑

ios等待动画

摘要: //iosvoidProgressBar::start(){ if(nil == progress) prepare(); [progressstartProgressBar];}voidProgressBar::stop(){ [progressstopProgressBar]; p... 阅读全文
posted @ 2014-06-05 23:04 the seal 阅读(181) 评论(0) 推荐(0) 编辑

game《天天乱三国》截图

摘要: 阅读全文
posted @ 2014-06-05 18:18 the seal 阅读(107) 评论(0) 推荐(0) 编辑

cocos2d-x播放swf

摘要: 有点意思的东西,IOS下能跑起来,android不行,有空的时候改改。http://blog.csdn.net/chenee543216/article/details/9277193https://github.com/chenee/cocos2dx-swf 阅读全文
posted @ 2014-06-05 17:59 the seal 阅读(529) 评论(0) 推荐(0) 编辑

game《星光》通讯部分构架

摘要: 根据相关功能将中间层与网络层分成以下五个功能层:游戏逻辑层(接收用户输入,处理并反馈),服务器镜像层(查询本地数据及状态,并及时调整本地数据与服务器同步),数据管理层(统一的服务器数据镜像管理),网络事物层(处理断线重连、网络超时等事物),网络传输层(与服务器的实际连接及数据传输)。 游戏逻辑层:中... 阅读全文
posted @ 2014-06-05 17:42 the seal 阅读(135) 评论(0) 推荐(0) 编辑

flash AS3导出动作数据

摘要: import flash.display.MovieClip;import flash.events.Event;var info_separator = ",";var card_x:Number = card.x;var card_y:Number = card.y;var card_rotat... 阅读全文
posted @ 2014-06-05 17:38 the seal 阅读(233) 评论(0) 推荐(0) 编辑