您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > 基于JAVA的游戏设计
辽宁科技大学毕业设计(论文)第I页基于JAVA的游戏设计摘要J2SE(Java2SimpleEdition)定位在客户端,主要用于桌面应用软件的编程,J2SE包含于J2EE中,J2ME包含了J2SE的核心类,但新添加了一些专有类。因其拥有“WriteOnce,runanywhere”的Java特性而提高开发的效率。随着JAVA应用的日益普及、Java在各种平台上的的实现,Java应用程序一次编译到处运行的特点逐渐体现出其影响力,对减少重复编程、提供快捷的跨平台应用起着不可忽视的作用。本论文着眼于JAVA技术的应用,开发一款可用于各种平台之上的游戏程序——坦克大战。本程序的思路来自于日本任天堂公司在20世纪80年代开发的BattleCity游戏,将老少皆宜的经典作品重新用JAVA进行了呈现,为更流行的硬件平台提供应用软件。关键词JAVA;J2SE;游戏;坦克大战辽宁科技大学毕业设计(论文)第II页AbstractJ2SEisakindoffastdevelopingtechnologyimplementedonvariousdevicesespeciallymobilecommunicationequipments.Itfocusesonapplicationforconsumptiveelectronicproducts,providingrevolutionarysolutiontotheintelligentizationanddiversificationoftheequipment.Itimprovetheefficiencyofthedevelopmentprocessthankstoits“WriteOnce,runanywhere”nature.Whencellphoneisgettingevermorepopularnowadays,withtheimplementationofJavatechnologyonmobileequipment,incrementofcapitaloncommunicationserviceexhibitsitsforceonpeople’severydaylife,providingthemeverfastinformationjustinhand.ThisdissertationfocusesonimplementationofJ2SEtechnologyandhasdevelopedacommercialgamesuiterunonmobilephones—Tank.ThisapplicationinheritsmanycharactersoftheoldfashionedgameBattleCitywhichdevelopedbyNintendoin1980s.Ittransportstheclassicalproducttomobilephones,offeringcorrespondingsoftwareforsuchmorepopularhardwareplatform.KeywordsJava;J2SE;Game;TankWord辽宁科技大学毕业设计(论文)第III页目录摘要...............................................................................................................................IAbstract.........................................................................................................................II第1章绪论.............................................................................................................1第2章开发环境及相关技术的介绍...............................................................32.1开发环境...........................................................................................................32.2Java语言的特点...............................................................................................32.3关于ECLIPSE..................................................................................................4第3章程序结构、思想和相关技术...............................................................53.1本程序需解决的有关技术问题......................................................................53.2程序截图..........................................................................................................73.3程序流程..........................................................................................................83.4相关技术..........................................................................................................83.4.1多态...........................................................................................................83.4.2单例模式...................................................................................................93.4.3责任链模式...............................................................................................93.4.4工厂模式...................................................................................................93.4.5简单工厂模式.........................................................................................103.4.6抽象工厂模式.........................................................................................103.4.7策略模式.................................................................................................113.4.8调停者模式.............................................................................................113.4.9门面模式.................................................................................................113.4.10PNG格式.................................................................................................113.4.11AWT绘制的基本原理..........................................................................123.4.12双缓冲...................................................................................................123.5程序思路........................................................................................................13辽宁科技大学毕业设计(论文)第IV页3.5.1坦克的控制和敌方的智能运行.............................................................133.5.2子弹的运行和控制.................................................................................14第4章程序分析和具体实现...........................................................................164.1主游戏逻辑及其涉及到的若干类................................................................164.2坦克的共同行为............................................................................................194.3玩家坦克的功能属性....................................................................................194.4敌人坦克的功能属性....................................................................................204.5子弹的运行和控制........................................................................................24结论............................................................................................................................26致谢............................................................................
本文标题:基于JAVA的游戏设计
链接地址:https://www.777doc.com/doc-2570377 .html