基于手机客户端游戏的设计和实现毕业论文

 2021-04-10 10:04

摘 要

在最近几年来,因为计算机硬件的不断成熟,中国的游戏产业发展迅猛,作为一个重要的文化输出手段,政府部门也给予了大力的支持,各大公司都争相发布了好多款画面精美且具有中国特色的游戏,同时由于手机端游戏的快速崛起,手机游戏市场也处于新兴发展并且具有相当大的发展潜力,如今每个人手里都有一部智能手机,并且人们愿意花更多时间在手机上,很明显手机游戏已经进入了一个新的发展时期。

手机游戏的开发平台也多种多样,Unity作为一款跨平台的游戏制作软件,得到了很多移动游戏开发者的喜爱,Unity可以将游戏打包到各种平台,比如:PC端,Playstation平台,Android平台等25个平台,由于其跨平台性,它成为了大多数游戏制作者所喜爱的游戏制作平台,同时最新发布的2018.1版本更新了很多的新特性,比如新的粒子特效,可编程渲染管线等等。使得Unity更加得成熟和完善,使其有机会成为各大游戏工作室的首选平台。本次论文作品主要是一款追随视角的第三人称射击游戏《孤胆射手》,本作品用左侧摇杆控制角色移动方向,右侧按钮控制射击,射击敌对模型并获取分数作为游戏机制,本人一个人参与游戏的全部设计,包括地图和人物的模型设计,用户界面交互设计等等,本作品用C#语言开发,实现人物模型的移动,血量监控触发,枪束的发射判定等,用Blender设计环境和人物模型,包括添加人物模型的骨骼,设计任务模型的动画等。

关键词:Unity;Blender;手机游戏;模型制作

Design and Implementation of Mobile Client Games

ABSTRACT

In recent years, due to the continuous maturation of computer hardware, China’s game industry has developed rapidly. As an important means of cultural output, government departments have also given strong support. Major companies have rushed to release a variety of attractive pictures. Chinese-character games, meanwhile, due to the rapid rise of mobile-end games, the mobile game market is also emerging and has considerable potential for development. Today, everyone has a smart phone and people are willing to spend more time on mobile phones. Obviously, mobile games have entered a new period of development.

Mobile phone game development platform is also a wide variety, Unity as a cross-platform game production software, has been a favorite of many mobile game developers, Unity can package the game to a variety of platforms, such as: PC, Playstation platform, Android Platforms and other 25 platforms, due to its cross-platform nature, have become the favorite game production platform for most game makers. At the same time, the latest release of 2018.1 has updated a lot of new features, such as new particle effects, programmable rendering pipeline and many more. Making Unity more mature and perfect, it has the opportunity to become the platform of choice for major game studios. The work in this thesis is mainly a third-person design game “Lone Shooter” that follows the angle of view. This project uses the left stick to control the movement direction of the character, the right button controls the shooting, the enemy model is shot and the score is used as the game mechanism. The full design of people involved in the game, including the model design of maps and characters, interactive design of the user interface, etc. This work was developed in C# language to implement the movement of the character model, the trigger of blood volume monitoring, and the determination of firing of gun bundles, etc. Designed with Blender. Environment and character models, including adding bones to character models, animating task models, etc.

Key words:Unity;Blender;phone game;Model making

目 录

1绪论………………………………………………………………………………………1

1.1 论文研究背景及意义………………………………………………………………………1

1.2 论文研究内容………………………………………………………………………………1

1.3 论文结构框架………………………………………………………………………………2

2游戏实现的核心技术综述…………………………………………………………………………3

2.1 Unity3d游戏引擎简介……………………………………………………………………………3

2.2 Blender简介……………………………………………………………………………………3

2.3 Easy touch简介……………………………………………………………………………………4

2.4 UGUI简介…………………………………………………………………………………………4

2.5 Nav Mesh Agent简介………………………………………………………………………………4

3游戏需求分析………………………………………………………………………………6

3.1 概要描述…………………………………………………………………………………6

3.2 UI分析……………………………………………………………………………………6

3.3 地图需求分析………………………………………………………………………………6

3.4 主角需求分析…………………………………………………………………………………6

3.5 敌对AI需求分析………………………………………………………………………………6

4游戏设计及具体实现…………………………………………………………………………8

4.1 地图设计与实现………………………………………………………………………………8

4.2 模型设计实现……………………………………………………………………………………8

4.3 地图与模型结合的实现………………………………………………………………………12

4.4 主角设计与实现…………………………………………………………………………………12

4.4.1 主角移动实现脚本……………………………………………………………………15

4.4.2 主角生命值脚本………………………………………………………………………15

4.4.3 主角射击实现脚本………………………………………………………………………16

4.5 敌对AI设计与实现………………………………………………………………………………17

4.6 分数系统设计与实现…………………………………………………………………………21

4.7 轻量级渲染管道实现…………………………………………………………………………23

4.8 场景切换实现…………………………………………………………………………………25

4.9 游戏打包发布…………………………………………………………………………………25

结论………………………………………………………………………………………………28

致谢…………………………………………………………………………………………………29

参考文献………………………………………………………………………………………………30

第一章 绪论

1.1 论文研究背景及意义

在智能手机快速发展全面普及的2018年,每个人应该都体会到了智能手机的强大,其智能性,多功能性,实用性,搭配上4G网络的全面普及,相对于个人电脑的笨重,智能手机的方便携带,随开随用,使得越来越多人喜欢上了智能手机陪伴的感觉,同时应运而生的软件设计开发的爆发式增长,各种各样方便的功能使得人们似乎已经拉不开手机了。

在这样的一种环境下,作为人们所喜欢消遣时间的工具,手机游戏的发展趋势也是越来越好,国内的很多游戏大厂比如:腾讯,网易等等,都相继投入了大量的精力在游戏开发上,除此之外还有很多的独立游戏制作工作室,也在凭借自己的技术开发游戏,所以这几年来出现了很多的画质精美,意境独到,并且独具风格,让人眼前一亮的游戏。同时游戏开发平台的快速发展和完善也成为了不可阻挡的趋势,所熟知的游戏制作平台有:Unreal(虚幻引擎),CryEngine(尖叫引擎),Source(起源)等等,它们所开发出来的游戏也为大家所熟知,比如最近很火的“绝地求生”,“孤岛危机”等等。但是很明显它们都是主打PC端和其他游戏主机的游戏引擎,所以它们相对手机游戏的开发来说是并没有什么优势的,而Unity3d因为其良好的跨平台性成为各大游戏工作室的首选游戏制作平台,特别是2018年更新的Unity2018.1版本更新了三百多个新特性,使得Unity成为了无论是手游还是端游的首选游戏制作平台。

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

课题毕业论文、开题报告、任务书、外文翻译、程序设计、图纸设计等资料可联系客服协助查找,优先添加企业微信。