贪吃蛇游戏开发与实现

上传人:jiups****uk12 文档编号:39995768 上传时间:2018-05-22 格式:DOC 页数:19 大小:166.50KB
返回 下载 相关 举报
贪吃蛇游戏开发与实现_第1页
第1页 / 共19页
贪吃蛇游戏开发与实现_第2页
第2页 / 共19页
贪吃蛇游戏开发与实现_第3页
第3页 / 共19页
贪吃蛇游戏开发与实现_第4页
第4页 / 共19页
贪吃蛇游戏开发与实现_第5页
第5页 / 共19页
点击查看更多>>
资源描述

《贪吃蛇游戏开发与实现》由会员分享,可在线阅读,更多相关《贪吃蛇游戏开发与实现(19页珍藏版)》请在金锄头文库上搜索。

1、南南 京京 晓晓 庄庄 学学 院院手机游戏开发技术报告手机游戏开发技术报告贪吃蛇游戏开发与实现贪吃蛇游戏开发与实现所在院所在院( (系系):): 数学与信息技数学与信息技术术学院学院学学 号号 :XXXXXXXXXXXXXX 学生姓名学生姓名 :XXXX年级专业年级专业 : 0808 计算机科学与技术计算机科学与技术指导教师指导教师 : XXXXXX 提交日期 : 2011 年 11 月第一章、开发平台与技术概述.5 1.1 开发环境.5 1.2 WTK、ECLIPSE 与 JAM 的介绍.5 (1)WTK .5 (2)Eclipse.5 1.3 JAVA 语言介绍.6 (1)面向对象.6 (

2、2)平台无关性.6 (3)分布式.6 (4)可靠性和安全性.6 (5)多线程.6 第二章 J2ME 及其体系结构概述.7 2.2 体系结构.7 2.3 移动信息设备简表概述.7 第三章 手机游戏开发过程.9 3.2 详细设计.9 3.2.1 代码设计.10 第四章 程序的调试与运行.14 4.2 游戏的运行环境.16 第五章 总结.17 致 谢.18 参考文献.19摘要摘要随着通信技术的发展和手机的普及,手机游戏的开发技术越来越为人们所关注。以 J2ME 为开发平台,利用 Java 提供强大工具,不但可以在手机上实现静态 HTML 技术所无法实现的计算处理、数据存储、与服务器的通信等功能,而且

3、能够开发各种手机游戏。本文在介绍 J2ME 及其体系结构的基础上,以贪吃蛇游戏为实例,描述了借助 J2ME 的 MIDlet 类库开发手机游戏的过程。本次论文重点在于 J2ME 技术的应用,通过对手机游戏开发和 MIDP 2.0 的研究,开发了一款操作简单,并有一定可玩性的手机空中射击游戏。在游戏中玩家可以通过手机的方向键控制己方飞机的移动,己方飞机自动发射子弹。敌方飞机按照预定程序移动并自动发射子弹。当我方飞机发射子弹打中敌方飞机,敌方飞机爆炸,同理,敌方飞机发射子弹打中我方飞机时我方飞机爆炸。当双方飞机相撞时都爆炸。关键词关键词 J2ME,手机游戏,手机游戏,MIDP,SPRITE,永久性

4、数据,永久性数据AbstractAlong with the development of mobile communication technology and the popularization of mobile games development technology for people place more and more close Note. In J2ME for development platform, and use Java provide a powerful tool, not only on the mobile phone can realize the

5、static HTML technology is unable to computing processing, data storage, the servers and communications, and other functions, but also to the development of mobile games. This paper introduces the system structure of the J2ME and its foundation, takes the snake game, for example, a description of the

6、 J2ME MIDlet class library with the development process of mobile games. This paper emphasis is on J2ME technology application, through to the cell phone game development and MIDP 2.0 research, developed a simple operation, and a certain can play sex of mobile phone air shooting game. In the game, t

7、he player can through the phones the direction key control our plane movement while the plane to be automatic fire bullets. The enemy plane are set to move and automatic program fire bullets. When our plane hit the enemy bullets, enemy aircraft explosion, by the same token, the enemy fire bullets hi

8、t our plane exploded when our plane. When both sides are explosion when plane collided. Key words J2ME, mobile games, MIDP, SPRITE, permanent data 第一章、开发平台与技术概述第一章、开发平台与技术概述1.1 开发环境开发环境操作系统:Microsoft Windows XP程序语言:Java 2开发包:Sun Java(TM) Wireless Toolkit 2.5.2 for CLDCIDE:Eclipse 3.21.2 WTK、ECLIPSE 与与 JAM 的介绍的介绍(1)WTK Wtk 的全称是 Sun J2ME Wireless Tool

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号