本文已被:浏览 1905次 下载 2953次
Received:January 23, 2017
Received:January 23, 2017
中文摘要: 本文基于Unity3D技术对多人在线角色扮演类游戏进行了设计及实现.为了增强游戏的效果,采用了角色控制状态机与交互取值算法、移动策略和人工智能交互等关键技术.针对如何改善游戏运行时的工作效率问题,提出了使用协同程序技术实现预先式同步数据读取.将协同程序技术应用在地图预读取中,使漫长的地图读取过程可以在运行期的“闲时”进行处理.效能分析实验证明了该优化方法有效降低了程序时间复杂度,有效解决了游戏运行时的实效性问题.
Abstract:A MMORPG (massively multiplayer online role-playing games) is developed based on Unity 3D. The character controller, the mouse-value interactive algorithm, the motion strategy and the AI-interaction are used to enhance the game performance. In order to improve the working efficiency of game, this paper proposes client resource forecast and synchronous reading by using coroutine technology. The strategy that uses coroutine technology in forecast reading of maps can make it possible to have long-time reading running in the spare time of the system. Experimental performance analysis and experimental results both show that the optimization method proposed can effectively reduce the time complexity of the program and enhance the efficiency of game runtime.
文章编号: 中图分类号: 文献标志码:
基金项目:福建省科技厅自然科学基金面上项目(2017J01776);福建省省属高校科研专项项目(JK2015037);泉州师范学院青年博士预研基金项目(2015QBKJ02);泉州师范学院博士科研启动项目(G17003)
引用文本:
吴晶晶,戴智超.基于Unity3D的多人在线网络游戏设计与开发.计算机系统应用,2017,26(10):133-138
WU Jing-Jing,DAI Zhi-Chao.Development of Massively Multiplayer Online Role-Playing Games Based on Unity 3D.COMPUTER SYSTEMS APPLICATIONS,2017,26(10):133-138
吴晶晶,戴智超.基于Unity3D的多人在线网络游戏设计与开发.计算机系统应用,2017,26(10):133-138
WU Jing-Jing,DAI Zhi-Chao.Development of Massively Multiplayer Online Role-Playing Games Based on Unity 3D.COMPUTER SYSTEMS APPLICATIONS,2017,26(10):133-138