基于某Unity3D的飞机大战游戏开发

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

摘要

Unity3D是由Unity Technologies开发,可以让玩家轻松创建诸如三维视频游戏、建筑可视化、实时三维动画等类型互动容的多平台的综合型游戏开发工具,是一个全面整合的专业游戏引擎。Unity的编辑器运行在Windows 和Mac OS X 下,可发布游戏至Windows、Mac、iPhone和Android平台也可以利用Unity web player插件发布网页游戏,支持Mac 和Windows的网页浏览。它的网页播放器也被Mac widgets所支持。

本课题是基于Unity3D的飞机大战游戏开发,利用Unity3D系统和C#语言开发,实现了简单的飞机大战游戏。主要的功能模块如下:提供背景的循环播放模块,提供敌机的孵化器类模块,提供玩家战机的类模块,主界面模块,游戏奖励类模块,包括超级子弹和导弹,游戏控制模块,包括检测子弹与敌机碰撞,检测敌机与玩家战机碰撞木块,游戏的暂停、播放功能,其中玩家战机还添加了一个血条,玩家战机可以被敌机打中四次才死亡,可以让新手更好的试玩游戏,除此以外还为用户提供更加人性化的设计和方便人员的操作流程。

游戏还有很多需要完善和扩充的地方,比如可以做不同的模式,多关卡模式或挑战模式。也可以做成多人模式和小伙伴一起玩,游戏的界面也可以补充的更加完善,包括音乐、设置、帮助和商店等模块。后期还需要更加努力去完善修改自己的游戏

关键词:游戏开发;飞机大战;移动端;单机;碰撞检测;脚本语言

ABSTRACT

Unity3D developed by Unity Technologies, allows gamers to easily create such comprehensive three-dimensional video game development tools, games, architectural visualization, real-time three-dimensional animation and other types of multi-platform interactive content, is a fully integrated professional game engine. Unity Editor runs under Windows and Mac OS X, you can publish your game to Windows, Mac, iPhone and Android platform can also use the Unity web player plugin released web games, support for Mac and Windows web browser. Its Web Player Mac widgets are also supported.

This paper is based on Unity3D aircraft war game development, utilization Unity3D system and C # language, to achieve a simple airplane war game. The main function modules are as follows: to provide background loop module which provides the aircraft incubator class module offers players fighter class module, the main interface module, the game rewards class modules, including super bullets and missiles, the game control module, comprising detecting bullet collision with the enemy, and the player to detect enemy aircraft collision block, pause the game, the player, in which the player warplanes also added a health bar, the player can be enemy aircraft hit four times before death, allowing novices better demo games, in addition also provides users with the operation process more convenient and user-friendly design staff.

Games have a lot to improve and expand the place, for example, can do different mode, multi-level mode or challenge mode. Multiplayer mode and can also be made small partner to play with, the game's interface can also add more sophisticated, including music, Settings, Help, and shops and other modules. Late also need to work harder to revise and improve their game.

Keywords:Game Development; Aircraft War; Mobile Terminal; Single; Collision Detection; Scripting Language

目录

1 绪论 (1)

1.1 课题的背景与意义 (1)

1.2 国外的发展状态 (2)

2 系统需求分析 (4)

2.1 功能需求 (4)

2.2 性能需求 (5)

2.3 友好的用户界面 (5)

3系统设计 (6)

3.1 概要设计 (6)

3.1.1 设计方案 (6)

3.1.2 系统流程 (8)

3.2 模块详细设计 (9)

3.2.1 开始游戏 (11)

3.2.2 暂停游戏 (19)

3.2.3 重新开始 (20)

4 游戏界面实现和测试 (21)

4.1 游戏界面的实现 (21)

4.2 游戏的测试 (24)

4.2.1 测试方法 (24)

4.2.2 设计测试用例 (24)

4.3 游戏测试总结 (27)

相关文档
最新文档