如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
毕业设计(论文)毕业设计(论文)摘要本论文着眼于J2ME技术的应用,开发一款可商用的手机游戏程序——坦克大战。本程序的界面和运作方式继承于日本任天堂公司在20世纪80年代开发的BattleCity游戏,将老少皆宜的经典作品移植到手机上来,为更流行的硬件平台提供应用软件。本游戏中设计的主要研究的内容:敌我双方的坦克以及子弹均以图片方式显示,并且添加游戏包含河、墙、草等环境元素。使用多线程来控制坦克的动作同时使用缓冲技术来减少游戏过程中屏幕的闪动率,游戏的难度会随杀死敌人数量的增加而自动提高。敌人中包含特殊坦克,杀死后会随机出现奖励物品,我方坦克是有生命值控制的,共三条命。本游戏采用版本升级的方式逐步完善游戏功能。本游戏中包括游戏主窗口程序模块,坦克类模块,子弹模块,河流模块,墙壁模块,及容纳这些物体的父类容器模块,奖励模块,爆炸显示模块,配置读取模块,这些模块之间相互联系。关键词多线程双缓冲技术容器AbstractThispaperfocusesontheapplicationofJ2MEtechnology,developedacommercialmobilephonegames--tankwar.TheprograminterfaceandoperationmodeofinheritanceintheNintendoCoofJapaninthenineteeneightiesdevelopedBattleCitygame,theagesofclassicsportedtomobilephone,formorepopularhardwareplatformtoprovideapplicationsoftware.Themainresearchcontentofthegamedesign:thebulletsbetweenusandtheenemydisplayedinpicture,andthegamecontainsriver,wall,grassandotherenvironmentalelements.Theuseofmultiplethreadstocontrolthetankaction,atthesametimeusingbuffertechnologytoreducethecourseofthegamescreenflickerrate.Thedifficultyofthegamewillraiseautomaticallywiththeincreaseofthenumberofthekilledenemy.Theenemyhasspecialtanks,anditwillrandomlyappearrewardsafterkillingenemys,andourtankshasthelifevaluecontrol.Thegameusesthemethodofversionupgradingtoperfectgamefeaturesgradually.Thegameincludesamainprogrammodule,tankmodule,bulletmodule,rivermodule,wallmodule,andtheparentcontainermodulewhichaccommodatestheseobjects,rewardmodule,displayofblastmodule,configuredmodule,thesemodulesareinterconnectedwitheachother.Keywords:multiplethreads,buffertechnology,container目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc327697768"摘要PAGEREF_Toc327697768\h1HYPERLINK\l"_Toc327697769"AbstractPAGEREF_Toc327697769\h2HYPERLINK\l"_Toc327697770"第1章绪论PAGEREF_Toc327697770\h3HYPERLINK\l"_Toc327697771"1.1项目背景PAGEREF_Toc327697771\h3HYPERLINK\l"_Toc327697772"1.1.1国内背景PAGEREF_Toc327697772\h3HYPERLINK\l"_Toc327697773"1.1.2国外背景PAGEREF_Toc327697773\h4HYPERLINK\l"_T