最新炸弹人游戏的设计与实现--毕业论文

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

毕业设计炸弹人游戏的设计和实现学生:指导教师:专业:计算机科学与技术所在单位:计算机科学与工程学院答辩日期:摘要J2SE称为Java标准版或Java标准平台。J2SE提供了标准的SDK开发平台。利用该平台可以开发Java桌面应用程序和低端的服务器应用程序,也可以开发JavaApplet程序。它实际上是一系列规范的集合,由JCP组织制定相关的JavaSpecificationRequest(JSR)并发布。本游戏中通过总结和分析JAVA游戏的开发流程和代码功能的设计,开发了一款炸弹人游戏,该游戏主要分为场景类、子弹类、炸弹人类、敌方炸弹人类、我方炸弹人类等几个类,玩家通过输入IP获得连接,能够实现敌方炸弹人和子弹的智能化运行,添加了草坪,河流,普通墙和钢墙,并给其赋予了自己特有的功能,同时游戏中还包含了记分系统,特殊武器的加入,以及一些帮助说明信息,另外,此游戏中不同的是在游戏中添加了通话功能,在游戏中使用了套接字Socket来完成客户端与服务器端的连接,采用了接口技术,是一个类可以实现多个接口,克服了Java单继承缺点。采用了线程的使用,充分利用和发挥了处理机与外围设备并行工作的能力。本软件接受了网络游戏的软硬件特性,J2SE的相关技术及本程序的分析和功能的具体实现,游戏界面美观,操作简单,功能齐全,是广大游戏爱好者都喜欢的一款网络游戏,具有一定的复杂性和可玩性。关键字:J2SE;C/S;炸弹人游戏ABSTRACTJ2SEJavacalledJavastandardversionorJavastandardplatform.TheSDKprovidesstandardJ2SEJavadevelopmentplatform.UsingthisplatformcancardhairJavadesktopapplicationsandlow-endserverapplication,alsocandevelopaJavaAppletprogram.ItisactuallyaseriesofstandardsetbytheJCPorganization,andmaketherelevantSpecificationthat(JSR)Javaandrelease.ThisgamethroughthesummaryandanalysisofthegamedevelopmentprocessandJAVAcodefunctiondesign,developanewtankwargame,thisgamemainlydividedintothesceneofclasses,bullets,tanktype,theenemytanksclass,ourtanksseveralkindofplayersenterIPgetconnectedbyenemytanks,canrealizetheintellectualizedoperationandbullets,addedthelawn,rivers,commonwallandsteelwall,andgiveitsendowedwithitsownpeculiarfunction,butthegamealsocontainsthescoringsystem,specialweaponstojoin,andsomehelpexplaininformation,inaddition,thegameisdifferentinthegameaddscallsinthegameusefunction,theSocketSockettocompletetheclientandtheserverconnection,adoptedinterfacetechnology,isaclasscanimplementmultipleinterfaces,toovercometheshortcomings.JAVAsingleinheritanceBytheuseofthethread,fullyusedandplayedaprocessorandperipheralsparallelworkability.Thissoftwareacceptedthenetworkgame'ssoftwareandhardwarecharacteristics,therelevanttechnologyandtheJ2SEJavaprogramanalysisandfunctionofthespecificimplementation,gameinterfaceaesthetics,simpleoperation,completefunction,isbroadgamerslikeoneofnetworkgame,hassomeofthecomplexityandcanplaysex.Keywords:J2SEJava;C/S;Boommangames目录摘要............................................................IABSTRACT.................................................................................................................II绪论...........................................................................................................................0第1章开发工具介绍..................................................................................................11.1网络游戏介绍...................................................11.1.1网络游戏特征................................................11.1.2网络游戏的类型..............................................21.1.3Java语言的特点.............................................31.1.4中国网络游戏市场现状........................................41.2J2SE简介......................................................41.2.1什么是J2SE..................................................41.2.2J2SE平台体系结构...........................................51.2.3J2SE体系结构优势...........................................51.2.4J2SE编译运行的过程.........................................61.2.5发环境及相关技术的介绍......................................61.2.6网络游戏开发概述............................................71.3绘图与混淆器...................................................81.3.1提供低级绘制的Canvas类.....................................81.3.2Graphics类.................................................81.3.3JPG格式....................................................81.3.4有关绘图的一些技术..........................................91.3.5混淆器(Obfuscator)的使用....................................9第2章炸弹人大战游戏的需求分析.......................................................................102.1炸弹人大战游戏的任务概述......................................102.2本程序需解决的有关程序问题....................................102.3使用对象......................................................112.4游戏功能......................................................112.5建议软硬件配置................................................11第3章总体设计.......................................................................................................123.1炸弹人大战游戏的总体功能.............................................................................12第4章算法设计和主要技术...................................................................................134.1炸弹人大战生成算法............................................134.1.1子弹产生的算法.............................................134.1.2敌人炸弹人产生的算法.......................................144.1.3爆炸效果产生算法...........................................144.1.4大本营产生算法.............................................154.1.5面板产生算法...............................................164.1.6草坪产生算法...............................................174.1.7河流产生算法...............................................184.1.8普通墙的产生算法...........................................184.1.9钢墙的产生算法.............................................184.1.10主机服务器建立连接算法....................................194.2功能实现算法..................................................194.2.1子弹功能算法...........................................

1 / 44
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功