街球一对一的部分界面设计及逻辑实现

 2022-09-04 08:09

论文总字数:26438字

摘 要

“街球一对一”是一款易上手又省时的篮球手游,不仅能让玩家体验到逼真的街篮乐趣,还能适当的放松心情,使玩家释放压力。

该篮球手游的客户端是基于Unity3D游戏引擎开发的,游戏是在iOS平台上运行的。该游戏主要是使用Unity自带的Monodevelop开发工具进行开发,游戏脚本主要采用C#语言。本论文首先对该游戏进行简要概括,简单的介绍游戏背景及开发意义。其次对游戏引擎Unity3D进行简单的介绍,接着从需求分析、系统设计、功能实现三大方面来介绍本次毕业设计的内容,主要是对游戏的新手留存模块界面、好友系统界面、邮箱系统界面、对战记录界面、签到界面以及公告界面来展开叙述。UI界面的制作主要是使用Unity自带的UGUI,界面逻辑功能的实现是用C#来实现的。游戏经过unity提供的打包功能编译成Xcode项目,然后使用Xcode将游戏编译为可在iOS上运行的游戏,该游戏通过了iPhone真机上的测试,界面友好,易于上手。

关键词:Unity3D,UGUI,Monodevelop,界面设计

The part of “Streetball one-on-one” game interface design and logic to achieve

71113433 Long Hu

Adviser XuDong Bao

ABSTRACT

“Streetball one-on-one” is a easy-to-use and time-saving basketball game, not only allows players to experience the real fun of streetball, but also make the players appropriate relaxation, so that players can release the pressure.

The basketball game is based on the Unity3D game engine development, the game is running on the IOS platform. The game is primarily developed using Unity's own Monodevelop development tool, the game script is mainly used C # language. This paper begins with a brief summary of the game, and then the paper made a brief introduction on the game background and the significance of the game, then this paper introduce the content of this graduation design from the demand analysis, system design, functional implementation of the three aspects , it started the narrative mainly on the game novice to retain the module interface, friends system interface, the mailbox system interface, Battle recording interface, check the interface and the bulletin interface. UI interface is made by the Unity’s own UGUI, the logic function of interface is achieved by using C # language. The game is compiled into a Xcode project by the pack function provided by the Unity, and then use use the Xcode to compile the game as a game that can run on iOS. The game passed the test on the iPhone real machine, the interface of this game is friendly, and the game is very easy to get started.

KEY WORDS: Unity3D, UGUI, Monodevelop, Interface design

目 录

第一章 绪论 1

1.1引言 1

1.2游戏开发背景 1

1.3 游戏开发意义 2

1.4 游戏开发工具简介 2

1.4.1 Git简介 2

1.4.2 Unity3D引擎 4

1.5 游戏开发组件概述 5

1.5.1 Canvas 5

1.5.2 Text 5

1.5.3 Image 5

1.5.4 Button 5

1.5.5 InputField 6

1.5.6 ScrollView 6

第二章 需求分析 7

2.1 可行性分析 7

2.1.1 技术可行性 7

2.1.2 操作可行性 9

2.1.3 经济可行性 9

2.2 功能需求分析 9

2.3 运行环境需求 9

第三章 游戏设计 10

3.1界面总体结构设计 10

3.2 游戏功能设计 11

3.3 各模块界面设计 12

3.3.1 新手模块界面设计 12

3.3.2 公告界面设计 14

3.3.3 对战记录界面设计 16

3.3.4 签到界面设计 17

3.3.5 邮箱模块界面设计 18

3.3.6 好友模块界面设计 20

第四章 功能实现 24

4.1 新手界面功能实现 24

4.2 签到界面功能实现 26

4.3 公告界面功能实现 27

4.4 对战记录界面功能实现 29

4.5邮箱界面功能实现 30

4.6 好友界面功能实现 32

4.6.1 好友列表界面功能实现 32

4.6.2 好友推荐界面功能实现 33

4.6.3 搜索好友界面功能实现 34

第五章 游戏开发难点 35

6.1 回调函数的运用 35

6.2 多种参数来控制游戏状态 35

6.3 协同程序 35

第六章 总结与展望 36

7.1 总结 36

7.2 展望 36

致 谢 37

参考文献 38

绪论

1.1引言

近几年来,移动互联网发展愈来愈迅速。在如今这个信息化时代,智能手机等移动终端对人们来说也是日常生活中、办公中主要使用的平台。智能手机不再像以前的老人机那样只能简单地接听电话和收发短信,而是能更加迎合用户的需求,变成了一种广大手机用户在工作、学习之余时的便捷灵巧的休闲娱乐的移动设备。移动平台上目前占据着举足轻重的地位的非移动游戏应用莫属。随着当今社会科技与经济水平的飞速发展,游戏行业在飞速的发展着,现在的游戏行业和电影行业已然可以说站在了同一高度,尤其是3D技术的进步使游戏在当今人们的日常生活中占据着越来越重要的地位。而Unity3D,一款由Unity Technology公司开发的专业游戏引擎,在3D游戏开发中也越来越受到程序员的喜爱,unity3D是一款跨平台的游戏引擎,能帮助开发人员轻易地将游戏发布到不同的移动平台上,对于初学者来说也是非常易于上手的,不但如此,unity3D自带了许多已经封装好的组件和可视化的编辑器,深受国内外游戏开发者的喜爱[1]

游戏开发是十分复杂,涉及面十分广泛,包含了各种主题,例如:角色动画、渲染、AudioClip、人工智能等。Unity3D将这些资源全部整合到一起了,开创了游戏开发平民化的新时代。现如今,Unity3D已经被许多的社区开发者使用。其中,相当一部分是学生和业余爱好者,他们使用unity3D开发了大量的游戏。本文将介绍一款由unity3D游戏引擎开发的,结合C#作为游戏脚本的篮球手游,主要介绍游戏UI界面的设计与逻辑功能的实现,包括新手模块、好友模块、邮箱模块、公告界面、签到界面、对战记录界面等,该游戏在保证运行效果的基础上,同时具有跨平台性能好,设备要求低,运行流畅稳定的特点。

1.2游戏开发背景

随着智能手机的硬件与软件的光速发展,智能手机的性能与功能也愈来愈强大,以其强劲的势头慢慢有着取代个人计算机的趋势。智能手机的CPU由原来的单核发展至当今的四核,手机存储空间也由原来的几K发展到如今的64G甚至256G,手机的运存更是扩展到了如今的6G,手机的显示模块也采用了独立的GPU芯片,手机屏幕更是演变成了如今的IPS视网膜屏。智能手机对于人们来说使用也是愈来愈广泛,人们对于智能手机的依赖也逐渐加强[8]

剩余内容已隐藏,请支付后下载全文,论文总字数:26438字

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

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;