登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

基于Unity3D的场景共享技术研究毕业论文

 2021-03-19 22:07:51  

摘 要

Abstract 3

1 绪论 4

1.1 课题研究的背景 4

1.2 课题研究的目的及意义 4

1.3 国内外发展现状 5

1.4 论文主要内容简介 5

2 总体功能设计 7

2.1 开发环境 7

2.1.1选用Unity3D作为软件开发引擎 7

2.1.2选用VS2015作为开发平台 7

2.2基于Unet技术的场景共享系统总体设计 8

2.2.1 系统功能设计 8

2.2.2 系统主要功能模块设计 9

2.3局域网文字聊天系统总体设计 15

2.3.1 系统功能设计 15

2.3.2 系统主要功能模块设计 16

3 系统实现 23

3.1 实现技术方案 23

3.1.1 网络通信基础 23

3.1.2多人游戏同步模型 24

3.1.3 Unet网络技术 25

3.1.4 Unity3D其他相关技术的应用 26

3.1.5系统实现方案概括 27

3.1.6系统中用到的主要函数 28

3.2基于Unet技术的场景共享实现 29

3.2.1 创建工程 29

3.2.2 主要功能模块实现 32

3.3局域网文字聊天系统实现 37

3.3.1 主要功能模块实现 37

4 测试 44

4.1 软件测试概述 44

4.2 基于Unet技术的场景共享系统主要功能测试 44

4.3 局域网文字聊天系统主要功能测试 47

5 总结 52

5.1系统总结与自我评价 52

5.2 场景共享技术 52

致谢 54

参考文献 55

摘要

近年来,多人网络游戏发展日益迅速,由于多人游戏“与人同乐”的娱乐方式而备受游戏玩家的欢迎,多人游戏市场也逐渐扩大,相关的计算机图形学技术、游戏引擎技术和场景共享技术也日益成熟并得到了广泛的应用。在诸多游戏引擎当中,Unity3D作为一个开源的专业游戏开发平台,拥有着开发方便快捷,相关社区内容丰富的优点,受到了广大开发者们的喜爱。Unity3D是由Unity Technologies开发的一个让玩家轻松创建诸如三维视频游戏、建筑可视化、实时三维动画等类型互动内容的多平台的综合型游戏开发工具,是一个全面整合的专业游戏引擎[1]。场景共享技术的本质是客户端与服务端的同步问题,如状态同步,位置同步,消息同步等。而Unity3D当中包含的Unity3D Network组件可以很方便的实现多人游戏中的服务端/客户端同步,这是Unity3D实现多人场景共享的关键。

为了解Unity3D的使用,以及Unity3D Network在多人场景共享中的重要性,本次设计使用Unity3D UNET创建了一个第三人称多人射击游戏Demo(包含C/S场景同步和聊天信息传输),以加深对服务端客户端通信的理解,并熟悉使用Unity3D开发简单的多人网络游戏的方法和流程。

本文从设计题目入手,探讨了课题研究的意义,描述了国内外研究现状。之后阐述自己所实现系统的各个功能模块。最后,对系统进行了功能测试,并对本次毕业设计作了总结。

关键词:多人网络游戏;Unity3D;C/S通信;UNET;

Abstract

In recent years, many people because of the increasingly rapid development of online games, multiplayer game "fun and entertainment" is the popular game player, multiplayer game market is gradually expanding, the computer graphics technology, the game engine technology and scene sharing technology is increasingly mature and widely used. Among the many game engines, Unity3D, as an open source professional game development platform, has the advantages of convenient development and rich content related to the community. It has been loved by the majority of developers. Unity3D is a comprehensive multiplatform by a Unity Technologies development of the game player to easily create video games, such as 3D architectural visualization, real-time 3D animation and other types of interactive content game development tools, is a fully integrated professional game engine. The essence of scene sharing technology is the synchronization between client and server, such as status synchronization, location synchronization, message synchronization and so on. And the Unity3D Network component included in Unity3D can easily realize the server-side / client synchronization in multiplayer game, which is the key to realize the sharing of multiplayer scenes in Unity3D.

In order to understand the use of Unity3D, and the importance of Unity3D Network in multiplayer scene sharing, this design uses the Unity3D UNET to create a third person multiplayer shooter Demo (including C/S scene synchronization and information transmission, chat) to enhance my communication to the server client understanding method and process and familiar with the use of Unity3D development simple multiplayer online games.

This paper starts with the design topic, discusses the significance of the subject research, and describes the research status at home and abroad. After that, each function module of the system is described. Finally, the function test of the system is made, and the graduation design is summarized.

您需要先支付 50元 才能查看全部内容!立即支付

微信号:bysjorg

Copyright © 2010-2022 毕业论文网 站点地图