基于Unity 3D的游戏设计与开发毕业论文

 2021-04-10 10:04

摘 要

游戏开发主要是为人们提供了一种新的文娱活动类型,并且现今游戏已发展出了一套完整的产业链,产值不断增高并逐渐赶超了传统制造产业,服务产业等,成为了当今信息产业的一个重要组成部分,Unity3D引擎为各种平台的游戏开发提供了一个便捷的方案,促进了游戏产业的发展。

Unity3D编辑器具有十分丰富且强大的功能,并且方便使用,它集成了全面直观的编辑功能,在编辑器里可以实时改变调整场景的模型、材质、灯光、CG、音乐、物理参数等。开发者可以直接通过编辑器调整编写的脚本变量参数,并实时地看到调整后的效果。开发者还可以通过自行编写编辑器脚本,自定义编辑器界面和功能,或者使用第三方提供的插件来达到开发者对编辑器更高的个性化要求。

本文介绍了一款使用Unity3D进行开发的休闲、Roguelike类角色扮演游戏的开发情况,玩家通过操纵自己的角色吞噬场景中的其他物品进行角色的成长,生成卫星来进行攻击和防御,寻找关卡的出口从而过关。游戏使用随机生成算法来进行场景的生成,每次过关重新生成场景,关卡为无限模式,可以一直继续下去,配合每关都不重复的效果,给玩家良好新鲜的游戏体验。

关键词:Unity3D;手机游戏;休闲类游戏;Roguelike

A Three Dimensional Game Design on Unity 3D Development Platform

ABSTRACT

Game development is mainly provides people with a new type of recreational activities, and the game has developed a set of complete industrial chain, increasing production and gradually catch up with the traditional manufacturing industry, service industry and so on, became an important part in today's information industry, Unity3D engine for various platform game development provides a convenient solution, promote the development of the gaming industry.

Unity3D editor has very rich and powerful functions, and easy to use, it integrates the function of comprehensive visual editor, the editor can real-time adjust the scene in the model, texture, lighting, CG, music, physical parameters, etc.

Developers can adjust the parameters of script variables directly through the editor and see the effects after adjustment in real time.

Developers can also through the custom script editor, custom editor interface and function, or use a third party plug-in developers to achieve higher personalized requirement of editor.

This paper introduces a using Unity3D for the development of the development of leisure and Roguelike role-playing game, players by manipulating their own role to gobble up the growth of the role of the other objects in the scene, generate satellite to attack and defense, looking for export to pass level.

Game use random generation algorithm for the generation of the scene, every time I pass to regenerate the scene, levels of infinite patterns, can always continue, with every closed don't repeat effect, to give the players a good fresh gaming experience.

Key words:Unity3D;Mobile Game;Casual games;Roguelike

目 录

1 绪论 - 1 -

1.1 研究目的、背景及意义 - 1 -

1.1.1 目的 - 1 -

1.1.2 研究背景及意义 - 1 -

1.2 国内外概况 - 2 -

1.3 本文主要工作 - 3 -

2 系统需求分析 - 5 -

2.1 系统功能分析 - 5 -

2.1.1 场景需求 - 5 -

2.1.2 角色控制需求 - 6 -

2.2 系统非功能分析 - 7 -

2.2.1 特效控制 - 7 -

2.2.2 美术需求 - 7 -

2.2.3 音乐需求 - 7 -

3 系统设计 - 8 -

3.1 游戏开发引擎介绍 - 8 -

3.2 系统架构设计 - 9 -

3.3 系统总体设计 - 10 -

3.3.1 系统功能设计 - 10 -

3.3.2 美术与音效设计 - 12 -

3.3.3 运行环境 - 13 -

4 游戏实现 - 14 -

4.1 游戏控制 - 14 -

4.1.1 Loader载入器 - 14 -

4.1.2 GameManager游戏控制器 - 14 -

4.2 场景 - 17 -

4.2.1 MapGenerator地图生成器 - 17 -

4.2.2 MeshGenerator网格生成器 - 18 -

4.2.3 BoardManager底板生成器 - 19 -

4.3 摄像头控制 - 20 -

4.3.1 CameraController摄像头控制器 - 20 -

4.4 角色amp;敌人控制 - 21 -

4.4.1 PlayerController角色控制器 - 21 -

4.4.2 EnemyController敌人控制器 - 22 -

4.4.3 SatelliteController卫星控制器 - 22 -

4.4.4 GravitySimulator重力模拟器 - 23 -

4.5 特效 - 24 -

4.5.1 VFXController特效控制器 - 24 -

4.5.2 Rotator旋转效果 - 25 -

4.6 AI - 25 -

4.6.1 EnemyGo敌人行为 - 25 -

4.7 界面 - 25 -

4.7.1 HPTextController血量显示 - 25 -

4.7.2 过场界面 - 26 -

5 总结与展望 - 27 -

5.1 总结 - 27 -

5.2 展望 - 27 -

结 论 - 28 -

致 谢 - 29 -

参考文献 - 30 -

1 绪论

    1. 研究目的、背景及意义
      1. 目的

随着现代社会的高速发展,人们的物质生活得到了极大地进步,随之而来的是精神生活上的需求越来越高,人们需要更多休闲方式,而手机游戏在人们的休闲娱乐生活中占了很大一块比重,手机随着科技的进步,已从最初的通讯工具发展为了实现网络生活的终端,成为了一种微型的PC,而随着手机性能的不断提高,手机的画面细节,音乐表现,通信速度等方面有了极大飞跃,由于手机处理器运算能力的发展,手机游戏已可以达到以往PC端游戏的质量,在这种情况下,用户对于手机游戏画质、音乐、游戏性、细节优化等方面的要求都越来越高,手机游戏渐渐没赋予了美术价值和故事价值,手机游戏渐渐往文化载体的角度发展,然而手机游戏的同质化越来越严重,目前市面上大部分手游基本固定在几个模式,游戏性大打折扣,多以画面、音乐、配音等其他方面作为卖点,国内的手机游戏用户增长速度也十分迅速,国内各类独立游戏层出不穷,很多也具有较强的游戏性,本研究旨在开发一款具有较新颖的游戏操作模式的休闲类单机游戏

      1. 研究背景及意义

在现今的移动互联网中,移动游戏产业备受关注。最早的移动游戏并没有现在的那么多样,其主要产品源于红白机游戏的移植。1994年,上古神兽级游戏《俄罗斯方块》和《贪吃蛇》首先登陆手机,成为最早的移动游戏。[1]

而随着手机硬件的不断发展,智能机的出现,手机渐渐向着微型PC的方向发展,手机游戏凭借其便携,可随玩随停的特点,在当今较为紧张的都市生活中成为了大部分年轻人打发碎片化时间的休闲方式。在三到五分钟的时间里面,人们可以享受手机游戏带来的各种不同的体验,丰富了人们的闲暇时光[2]。

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

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