Unity引擎下多人在线网络游戏的设计与开发
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

黑龙江省高等教育教学改革研究项目(SJGY20180079、SJGZ20180010);东北石油大学研究生教育创新工程项目(JYCX_07_2018)


Design and Development of Multiplayer Online Games Based on Unity Engine
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    游戏数字产业在数字经济发展中扮演着重要的角色,目前对于单机游戏的设计与开发比较多,多人在线3D网络游戏涉及的相对较少.本文结合网络通信原理,以Unity3D为基础,采用MVC架构,设计并实现了多人在线动作角色扮演游戏(ARPG).针对在线玩家场景的一致性问题,提出了位置同步、武器同步、伤害同步等通信协议.游戏界面是否友好,很大程度上影响玩家的用户体验,同时也影响着游戏的整体进度,对此设计出一种通用的UI框架.由于存在网络延迟,系统很难做到实时的、精确的玩家位置同步,因此本文采用预测式位置同步方法,有效减少了游戏运行时的延迟误差.

    Abstract:

    The game digital industry plays an important role in the development of the digital economy. At present, there are many designs and developments for stand-alone games, but relatively few for multiplayer 3D online games. Combined with the principle of network communication, based on Unity3D, and using MVC architecture, this study designs and implements multiplayer online Action Role-Playing Game (ARPG). For the consistency of online player scenes, Communication protocol, such as position synchronization, weapon synchronization, damage synchronization, etc., has been proposed. Whether the game interface is friendly or not, would greatly affect the user experience of the player, and also affect the overall progress of the game. A general UI framework is designed for it. Due to the network delay, the system is difficult to achieve real-time and accuracy. The player’s position is synchronized, so this study uses the predictive position synchronization method, which effectively reduces the delay error during game running.

    参考文献
    相似文献
    引证文献
引用本文

刘贤梅,刘俊,贾迪. Unity引擎下多人在线网络游戏的设计与开发.计算机系统应用,2020,29(5):103-109

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2019-10-11
  • 最后修改日期:2019-11-07
  • 录用日期:
  • 在线发布日期: 2020-05-07
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号