您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > 基于安卓坦克大战游戏毕业论文
毕业设计(论文)II摘要本设计采用面向对象的设计模式,对游戏中的所有物体赋予对象的概念和属性。在开始游戏后,可以对游戏的进行一些初始设置。在游戏按钮主页面上面有三个按钮,这三个按钮分别是开始游戏,设置音效和积分榜。设置音效分为背景音乐的设置还有音效的设置,这里的设置主要是开关。音乐是背景音乐,音效是当发射子弹时,带的声音还有当子弹击中敌方坦克时,发出的爆炸声。积分榜是玩家的得分展示,游戏最后可以根据积分来判断玩家是否破纪录,如果破纪录,则游戏结束时界面会显示恭喜你破纪录了,如果没有破纪录,则会显示请再接再厉。开始游戏,玩家可以通过主界面上面的虚拟按钮来控制主角的左右移动,通过触屏来控制坦克炮筒的角度,并且发射子弹。敌方单位随机的出现在屏幕上,然后经过一段弧形的路径,如果在移动过程中被子弹击中,子弹和坦克会消失,如果没有被子弹击中,则会判断该坦克是否在屏幕上面,在屏幕上面就会继续移动,不在屏幕上面该目标就会消失。分数的记录是在60秒内,主角坦克击中敌方坦克的数量。关键词:面向对象坦克大战JavaSocket类毕业设计(论文)IIAbstractThisdesignusesanobject-orienteddesignpatterns,allobjectsinthegametogivetheconceptofobjectsandattributes.Atthebeginningofthegame,thegamecanmakesomeinitialsetup.Buttonhomesideinthegamewiththreebuttons,whicharethreebuttonstostartthegame,settheaudioandstandings.Setaudiosettingsandbackgroundmusicintosoundsettings,setthemainswitchhere.Musicisbackgroundmusic,soundeffectswhenfiringbullets,theband'ssoundaswellasthebullethitenemytanks,theissueoftheexplosion.Standingsshowtheplayer'sscore,thegamecaneventuallypointstodeterminewhethertheplayeraccordingtotherecord,iftherecord,thegameisoverwhenthescreendisplaysCongratulationsonyourrecord,ifnotrecord-breaking,itwilldisplayyourpersistentefforts.Startthegame,playerscanvirtualbuttonsabovethemaininterfacetocontrolandmovearoundtheprotagonist,throughthetouchscreentocontroltheangleofthetankbarrelandfiringbullets.Enemyunitsrandomlyappearonthescreen,andthenafteracurvedpathduringthemoveifhitbyabullet,bulletsandtankswilldisappear,ifnothitbyabullet,itwilldeterminewhetherthescreenabovethetank,willcontinuetomoveinthescreenabove,notonthescreenabovethetargetdisappears.Scoresrecordiswithin60seconds,theprotagonisthitenemytankstanknumber.Keywords:Object-orientedTankedaizhanJavaSocketclass毕业设计(论文)1目录第1章绪论...............................................................................................................................11.1系统开发背景...................................................................................................................11.2相关技术介绍...................................................................................................................11.2.1Eclipse.....................................................................................................................11.2.2ADT...........................................................................................................................21.2.3AndroidSDK................................................................................................................21.2Android、C语言、C++三种主流编程技术比较............................................................2第2章需求分析....................................................................................................................32.1游戏设计的需求分析.....................................................................................................32.2功能上需解决的问题.....................................................................................................3第3章概要设计....................................................................................................................53.1系统功能设计...................................................................................................................53.1.1主角.........................................................................................................................53.1.2背景音乐和音效.....................................................................................................53.1.3敌方坦克.................................................................................................................63.2系统功能设计流程.........................................................................................................63.3坦克大战相关功能联系设计...........................................................................................7第4章详细设计..................................................................................................................104.1坦克大战主要类基本功能分析...................................................................................104.1.1主类.......................................................................................................................104.1.2欢迎界面...............................................................................................................104.1.3按钮主页面...........................................................................................................114.1.4主角........................................................................................................................124.1.5子弹.......................................................................................................................124.1.6音乐和音效............................................................................................................134.1.7敌方坦克................................................................................................................144.1.8最高分数................................................................................................................144.1.9游戏结束...........
本文标题:基于安卓坦克大战游戏毕业论文
链接地址:https://www.777doc.com/doc-2574697 .html