1、毕业设计(论文) 1 摘摘 要要 本论文着眼于 J2ME 技术的应用,开发一款可商用的手机游戏程序坦克大战。本 程序的界面和运作方式继承于日本任天堂公司在 20 世纪 80 年代开发的 Battle City游戏, 将老少皆宜的经典作品移植到手机上来,为更流行的硬件平台提供应用软件。 本游戏中设计的主要研究的内容:敌我双方的坦克以及子弹均以图片方式显示,并且 添加游戏包含河、墙、草等环境元素。使用多线程来控制坦克的动作同时使用缓冲技术来 减少游戏过程中屏幕的闪动率,游戏的难度会随杀死敌人数量的增加而自动提高。敌人中 包含特殊坦克,杀死后会随机出现奖励物品,我方坦克是有生命值控制的,共三条命。本
2、游 戏采用版本升级的方式逐步完善游戏功能。 本游戏中包括游戏主窗口程序模块,坦克类模块,子弹模块,河流模块,墙壁模块, 及容纳这些物体的父类容器模块,奖励模块,爆炸显示模块,配置读取模块,这些模块之 间相互联系。 关键词 多线程 双缓冲技术 容器 毕业设计(论文) 2 AbstractAbstract This paper focuses on the application of J2ME technology, developed a commercial mobile phone games - tank war. The program interface and operation
3、mode of inheritance in the Nintendo Co of Japan in the nineteen eighties developed Battle City game, the ages of classics ported to mobile phone, for more popular hardware platform to provide application software. The main research content of the game design:the bullets between us and the enemy disp
4、layed in picture, and the game contains river, wall, grass and other environmental elements. The use of multiple threads to control the tank action, at the same time using buffer technology to reduce the course of the game screen flicker rate.The difficulty of the game will raise automatically with
5、the increase of the number of the killed enemy.The enemy has special tanks,and it will randomly appear rewards after killing enemys,and our tanks has the life value control. The game uses the method of version upgrading to perfect game features gradually. The game includes a main program module, tan
6、k module , bullet module, river module, wall module, and the parent container module which accommodates these objects , reward module, display of blast module, configured module, these modules are interconnected with each other. Keywords:Keywords: multiple threads,buffer technology,container 毕业设计(论文) 1 目目 录录 摘摘 要要.1 ABSTRACT .2 第第 1 章章 绪论绪论 .3 1.1项目背景. 3 1.1.1 国内背景3 1.1.2 国外背景4 1.2项目来源 . 5 1.3设计游戏的必备知识. 5 1.3.1 JAVA 语言程序设计的基本知识点 5 1.3.2 JAVA 语言的特性 .7 第第 2 章章 需求分析需求分析 8 2.1系统需求分析 8 2.2用况建模