您好,欢迎访问三七文档
当前位置:首页 > 办公文档 > 工作范文 > 基于Unity3d的第一人称射击游戏的实现
武汉纺织大学2018届毕业设计论文摘要计算机游戏作为一种新兴的娱乐方式,已经融入到了人们的生活之中。近年来,游戏产业己经成为经济市场中增长速度最快的热点,是众所关注的焦点。Unity3D作为一款能跨平台的,界面友好,操作简单的工具,是一个全面整合的专业游戏引擎。本文研究了第一人称射击游戏,即通常所说的FPS游戏。本文基于Unity3D引擎,使用MicrosoftVisualStudio编写脚本,使用3dmax和Photoshop进行图形和建模处理工作。通过操作模拟角色达成各种动作,完成游戏。程序中有主菜单、暂停菜单和游戏结束菜单,能够选择重新开始游戏和退出游戏等操作。在环境上展示了天空到陆地,森林草地到海面。角色能够完成跳跃,行走,切换武器等基本动作,射击敌人会增加积分,拾取的物体和角色状态能显示在GUI界面上。游戏中的敌人会自动生成并追踪玩家,在一定距离内会攻击玩家,被击败后会掉落弹药。若玩家被敌人击败,则结束游戏并切换到游戏结束菜单。关键词:Unity3d;VisualStudio;3dmax;Photoshop;FPS游戏武汉纺织大学2018届毕业设计论文ABSTRACTAsanewformofentertainment,computergameshavebeenintegratedintoourlives.Inrecentyears,thegameindustryhasbecomethefastestgrowinghotspotintheeconomicmarket,isthefocusofattention.Unity3dasacross-platform,user-friendly,easytooperatetool,isacomprehensiveintegratedprofessionalgameengine.Thisarticlestudiesthefirst-personshootergame,whichiscommonlysaidFPSgame.ThisarticleisbasedontheUnity3dengine,usingMicrosoftVisualStudioscripting,usingthe3dmaxandPhotoshoptheworkswithgraphicsandmodeling.Throughtheoperationofthesimulationroletoachieveavarietyofactionstocompletethegame.Theprogramhasmainmenu,pausemenuandGameEndmenu,canchoosetorestartthegameandquitthegameandsoon.Theenvironmentshowstheskytotheland,theforestmeadowstothesea.Thecharacterscanjump,walk,switchweaponsandotherbasicmovements,shootingenemieswilladdpoints,pickupobjectsandrolestatuscanbedisplayedintheGUIinterface.Theenemyinthegamewillautomaticallygenerateandtracktheplayer,atacertaindistancewillattacktheplayer,defeatedwilldropammunition.Iftheplayerisdefeatedbytheenemy,endthegameandswitchtothegameendmenu.Keywords:Unity3d;VisualStudio;3dmax;Photoshop;FPSgames武汉纺织大学2018届毕业设计论文目录1绪论.........................................................................................................................11.1选题背景和意义...............................................................................................11.1.1选题的背景.....................................................................................................11.1.2论文的研究意义...........................................................................................11.2第一人称射击游戏的国内外发展现状.....................................................21.3本文研究的主要目的与内容.......................................................................21.4本章小结.............................................................................................................32开发环境及主要开发工具简介..................................................................42.1Unity3D...............................................................................................................42.1.1事件函数、脚本执行顺序和生命周期.................................................52.1.2常用API..........................................................................................................52.1.3材质、灯光和着色器..................................................................................62.23DMAX................................................................................................................72.3VisualStudio.......................................................................................................82.4Photoshop.............................................................................................................82.5本章小结.............................................................................................................93游戏策划...........................................................................................................103.1游戏简介...........................................................................................................103.2游戏元素设计.................................................................................................113.3游戏角色设计.................................................................................................113.4游戏敌人设计.................................................................................................12武汉纺织大学2018届毕业设计论文3.5游戏环境设计.................................................................................................133.6本章小结...........................................................................................................174游戏功能模块...................................................................................................184.1GUI模块............................................................................................................184.1.1主界面菜单...................................................................................................184.1.2游戏场景内GUI的显示..........................................................................204.1.4游戏结束菜单..............................................................................................234.2角色模块..........................................................................................................244.2.1主角模块.......................................................................................................244.2.2敌人模块.......................................................................................................264.3弹药模块
本文标题:基于Unity3d的第一人称射击游戏的实现
链接地址:https://www.777doc.com/doc-3798584 .html