节点文献
真人实景数字游戏引擎的研究
The Research of Real Network Game Engine
【作者】 周琳琳;
【导师】 任长明;
【作者基本信息】 天津大学 , 计算机应用技术, 2007, 硕士
【摘要】 游戏引擎是一个处理游戏底层技术的平台,使用游戏引擎,游戏开发人员可以不用花过多精力去处理系统架构、内存管理、图像绘制等一些底层的技术,可以直接使用引擎提供的API来进行游戏开发,从而大大缩短游戏开发时间,因此引擎是游戏特有的技术。真人实景数字游戏通过数字技术、整合的通讯技术、人机智能交互技术与软件技术共同构建一个基于实景之中的游戏环境,参与者可以尝试不同的剧本和角色,与好友或陌生人一同互动。在游戏世界中,用户来到一个开放的有限实景环境(如公园或某个特定公共场所),利用提供的PDA、特殊电子装备、服装以及电子化道具,完成丰富多彩的基于真实环境的真人任务。本文着重论述了从提取抽象UML用例,到系统架构设计、再到引擎编码实现的各个过程中的关键环节。其中在系统架构设计部分设计了自定义的通信协议;提出了综合网络通信和蓝牙通信的模型。同时,文中还具体的说明了,在WINCE操作系统环境下,Embedded Visual C++作为开发平台,编码实现时遇到的问题,和解决的方法。并且提出了与2D引擎相结合的思想,设计实现了具有网络通信、登录、申请任务、任务管理、交友、用户信息、地图信息、子画面、声音等多种功能模块的引擎系统。经过测试和试验,本文开发出的具有多种游戏功能的PDA客户端软件,运行稳定,实时性好,能够准确的传输字符和语音等数据。很好的完成了真人实景游戏需求,达到了预期的效果。具有一定的市场开发的前景。
【Abstract】 Game engine is a platform technique in game design.With the engine,game developers can concentrate on game design and ignore storage system,game architecture,and rendering etc.The game developers can shorten te period of game development using the engine.So the engine is the unique technique of game engine design.With the technique of data communication and software desigh, game users can try different characters and scenario in the real environment.In the game world, users must complete the assignment with the help of PDA, electric cloth and other tools.We especially emphasis on extracting abstract objects of UML actors and use case, software architecture designing,and implementation of the key tache during the coding process. In the part of software architecture designing, a user-defined communication protocol and a integrated network and bluetooth communication mode are proposed in the paper. Under the environment of WINCE operating system and using Embedded Visual C++ as the development platform, the problems and solutions during coding are explained in details.The thought of real network engine combined with 2D engine is presented in this paper.We design and implement an engine which include network communication, login, applying for assignment,friends, user information,map information,sprites and sound modules etc.The system experiment result shows that the datagram is processed precisely, the characters and voice transmission has great real time capability. The software has achieved expected goal and granted the demands. And the interesting open-structure game will have fine tendency of marketing development.
【Key words】 Winsock network communication; Bluetooth series communication; Real game; Game engine;