unity引擎的射击游戏设计(源码)
摘要:随着国内游戏开发技术的不断进步和游戏引擎的不断更新,基于传统技术和引擎制作的单机游戏越来越难以为用户提供良好的体验,因此迫切需要采用新型的游戏开发技术和引擎来制作单机游戏以丰富当前的单机游戏市场。本文结合游戏设计的基本要求,首先分析了射击游戏的发展历程和游戏引擎的发展现状;然后阐述了一款局域网联机射击游戏的开发原理,总结了射击游戏开发流程的部分要点,介绍了游戏中人工智能和局域网联机的实现等关键技术;最后针对游戏制作时会出现的种种问题,给出了相应的解决方案,并利用C#开发了一款基于Unity3D的第一人称射击游戏。
目录
摘要 1
关键词 1
Abstract 1
引言
1.选题背景 1
1.1 行业现状介绍 1
1.1.1 国内行业情况 1
1.1.2 国外行业情况 2
1.2 引擎分析与采用 2
1.2.1 Cocos2Dx引擎 2
1.2.2 UDK引擎 2
1.2.3 Unity引擎 2
1.3 研究意义 3
1.4 开发流程 3
1.5 论文的组织结构 4
2.基于Unity3D的游戏开发技术 4
2.1 Unity3D开发基本模块 4
2.2 Unity3D游戏开发框架 5
2.3 Unity3D游戏开发技术 10
2.4 Unity3D开发注意事项 15
3.游戏逻辑实现 15
3.1 角色漫游 16
3.1.1 玩家移动 16
3.1.2 对象旋转 18
3.1.3 坦克控制 18
3.2 武器控制 19
3.2.1 信息输入 20
3.2.2 武器射击 21
3.2.3 武器UI 21
3.2.4 武器切换 22
3.2.5 武器装填 23
3.2.6 坦克使用 24
3.3 摄像机控制 25
3.3.1 摄像机切
*好棒文|www.hbsrm.com +Q: ^3^5^1^9^1^6^0^7^2^*
换与追随 25
3.3.2 小地图 25
3.3.3 载具乘坐 26
3.3.3 水下环境 27
3.4 人工智能 27
3.4.1 AI设计原则 27
3.4.2 有限状态机 28
3.4.3 AI攻击 29
3.4.4 AI寻路 31
3.5 全局控制 32
3.6 游戏优化 34
3.7 游戏测试 35
3.8 设计收尾工作 35
3.8.1 游戏导出 35
3.8.2 使用说明 36
4.总结与展望 36
致谢 37
参考文献: 37
基于Unity引擎的射击游戏设计
Unitybased shooting game design
Student majoring in computer science and technology CHEN Chen
Tutor CHE Jianhua
Abstract:With the continuous progress of the domestic game development technologies and the constantly updated game engines, traditional technologies and engines based console games gradually become more and more unable to completely feed peoples entertainment requirement. So its urgent to adopt new technologies and engines to create console games in order to enrich the current species. Based on the basic requirements of the game design, this paper firstly analyzed the development process of shooting games and the game engine development status; and then expounded the principles while developing a LAN online shooting game, summed up the main points of shooting game development process, introduced the key techniques such as game artificial intelligence and LAN connection; Finally, aiming at all sorts of problems in the process of game production, solutions were gave and a Unitybased First Person Control shooting game was finished using C#;
Key words: Shooting Game; Unity3D ; LAN
1.选题背景
以下对本次课题的选题背景、研究意义以及主要工作进行分析。
1.1 行业现状介绍
1.1.1 国内行业情况
2001年是国产单机游戏市场的顶峰期,年度出品单机游戏397款,市场收入达到2.8亿元,全中国共有50家代理公司和超过30家研发公司。在2015年,尽管网游市场甚嚣尘上显得国内游戏业日新月异[1],但环顾整个市场可以发现商业化的国产单机游戏只剩下四部:“仙剑奇侠传6”、“御天降魔传”、“侠客风云传”和“轩辕剑外传”,而且清一色的是武侠仙侠类。事实上由于严重的盗版问题,自05年以后同时受到国内外两方面打击的国产单机游戏业就一直走在灭亡的边缘上。与生产“免费”3A级大作的外国公司相比,毫无竞争力的中国公司在破产和转向网游市场之间不得不选择了后者。
1.1.2 国外行业情况
目录
摘要 1
关键词 1
Abstract 1
引言
1.选题背景 1
1.1 行业现状介绍 1
1.1.1 国内行业情况 1
1.1.2 国外行业情况 2
1.2 引擎分析与采用 2
1.2.1 Cocos2Dx引擎 2
1.2.2 UDK引擎 2
1.2.3 Unity引擎 2
1.3 研究意义 3
1.4 开发流程 3
1.5 论文的组织结构 4
2.基于Unity3D的游戏开发技术 4
2.1 Unity3D开发基本模块 4
2.2 Unity3D游戏开发框架 5
2.3 Unity3D游戏开发技术 10
2.4 Unity3D开发注意事项 15
3.游戏逻辑实现 15
3.1 角色漫游 16
3.1.1 玩家移动 16
3.1.2 对象旋转 18
3.1.3 坦克控制 18
3.2 武器控制 19
3.2.1 信息输入 20
3.2.2 武器射击 21
3.2.3 武器UI 21
3.2.4 武器切换 22
3.2.5 武器装填 23
3.2.6 坦克使用 24
3.3 摄像机控制 25
3.3.1 摄像机切
*好棒文|www.hbsrm.com +Q: ^3^5^1^9^1^6^0^7^2^*
换与追随 25
3.3.2 小地图 25
3.3.3 载具乘坐 26
3.3.3 水下环境 27
3.4 人工智能 27
3.4.1 AI设计原则 27
3.4.2 有限状态机 28
3.4.3 AI攻击 29
3.4.4 AI寻路 31
3.5 全局控制 32
3.6 游戏优化 34
3.7 游戏测试 35
3.8 设计收尾工作 35
3.8.1 游戏导出 35
3.8.2 使用说明 36
4.总结与展望 36
致谢 37
参考文献: 37
基于Unity引擎的射击游戏设计
Unitybased shooting game design
Student majoring in computer science and technology CHEN Chen
Tutor CHE Jianhua
Abstract:With the continuous progress of the domestic game development technologies and the constantly updated game engines, traditional technologies and engines based console games gradually become more and more unable to completely feed peoples entertainment requirement. So its urgent to adopt new technologies and engines to create console games in order to enrich the current species. Based on the basic requirements of the game design, this paper firstly analyzed the development process of shooting games and the game engine development status; and then expounded the principles while developing a LAN online shooting game, summed up the main points of shooting game development process, introduced the key techniques such as game artificial intelligence and LAN connection; Finally, aiming at all sorts of problems in the process of game production, solutions were gave and a Unitybased First Person Control shooting game was finished using C#;
Key words: Shooting Game; Unity3D ; LAN
1.选题背景
以下对本次课题的选题背景、研究意义以及主要工作进行分析。
1.1 行业现状介绍
1.1.1 国内行业情况
2001年是国产单机游戏市场的顶峰期,年度出品单机游戏397款,市场收入达到2.8亿元,全中国共有50家代理公司和超过30家研发公司。在2015年,尽管网游市场甚嚣尘上显得国内游戏业日新月异[1],但环顾整个市场可以发现商业化的国产单机游戏只剩下四部:“仙剑奇侠传6”、“御天降魔传”、“侠客风云传”和“轩辕剑外传”,而且清一色的是武侠仙侠类。事实上由于严重的盗版问题,自05年以后同时受到国内外两方面打击的国产单机游戏业就一直走在灭亡的边缘上。与生产“免费”3A级大作的外国公司相比,毫无竞争力的中国公司在破产和转向网游市场之间不得不选择了后者。
1.1.2 国外行业情况
版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/jsjkxyjs/2224.html