期刊文献+

基于Cocos2d-x的游戏的几个关键技术的实现

Realization of Key Technology in Game Based on Cocos2d-x
下载PDF
导出
摘要 利用单例类的方法对数据进行存取,改变了原来会出现脏数据的状况,可以实现任何场景下读写的数据实时正确,用继承引擎固有的类产生的新类创建动作而后进行碰撞检测,改变了原来精灵不受控制的飞出界面的状况,用这种方法可以解决很多难解的问题。同时给出了内存优化原则。 It can realize to make the data read and write correctly at real-time by using singleton class to access the data and change the original situation that can appear dirty data. It creates an action and then carry on collision detection by using a class that inherits the engine and changes the situation that the sprite flies freely out of interface. It can also solve many difficult problems. At the same time, the principle of memory optimization is given out.
作者 谢秋华
出处 《三明学院学报》 2015年第6期26-31,共6页 Journal of Sanming University
基金 福建省教育通科技项目(JA13295) 三明市科技项目(2013-5-2)
关键词 单例类 脏数据 碰撞检测 内存优化 singleton class dirty data collision detection memory optimization
  • 相关文献

参考文献5

  • 1火烈鸟网络科技.Cocos2d—x高级开发教程:制作自己的《捕鱼达人》[M].北京:人民邮电出版社,2014:60—124,194-205.
  • 2子龙山人.再谈单例模式[EB/OL].(2014-07-03)[2015-03-12].http://cn.cocos2d-x.org/tutorial/show?id=1040.
  • 3秦彩杰,胥楚贵.基于J2ME手机游戏中关键技术的设计与实现[J].三明学院学报,2012,29(2):30-34. 被引量:2
  • 4Cocos2d—x3.0过渡篇(二十二)各种遍历与范围for语句的使用[EB/OL].(2014—4—2)[2015—3—12].http://wwwitl65.net/pro/html/201404/11330.html.
  • 5笨木头.Cocos2d—x3.0游戏实例之《别救我》第七篇一物理世界的碰撞检测[EB/OL].(2014—5—2)[2015—3—12].http://www.benmutou.corn/archives/920.

二级参考文献6

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部