计算机应用 | 古代文学 | 市场营销 | 生命科学 | 交通物流 | 财务管理 | 历史学 | 毕业 | 哲学 | 政治 | 财税 | 经济 | 金融 | 审计 | 法学 | 护理学 | 国际经济与贸易
计算机软件 | 新闻传播 | 电子商务 | 土木工程 | 临床医学 | 旅游管理 | 建筑学 | 文学 | 化学 | 数学 | 物理 | 地理 | 理工 | 生命 | 文化 | 企业管理 | 电子信息工程
计算机网络 | 语言文学 | 信息安全 | 工程力学 | 工商管理 | 经济管理 | 计算机 | 机电 | 材料 | 医学 | 药学 | 会计 | 硕士 | 法律 | MBA
现当代文学 | 英美文学 | 通讯工程 | 网络工程 | 行政管理 | 公共管理 | 自动化 | 艺术 | 音乐 | 舞蹈 | 美术 | 本科 | 教育 | 英语 |

手机游戏—超级玛莉的设计与实现Java+J2me

2016-03-15 01:23
导读:计算机应用论文论文,手机游戏—超级玛莉的设计与实现Java+J2me论文样本,在线游览或下载,科教论文网海量论文供你参考:毕业
毕业

目  录
前 言 1
1 Java与J2ME的概述 2
1.1 Java的简介 2
1.1.1 Java的发展与其版本的变迁 2
1.1.2 Java语言的特点 3
1.1.3 Java技术在无线应用方面的优势 4
1.2 J2ME的简介 5
1.2.1 J2ME的发展背景 5
1.2.2 J2ME与手机编程的关系 5
1.2.3 J2ME的体系结构 6
1.2.4 J2ME的配置 8
1.2.5 J2ME的描述 9
1.2.6 J2ME的开发流程 10
2 游戏开发环境的介绍 11
2.1 开发工具的选择 11
2.2 手机模拟器开发包 11
2.3 Java开发环境的搭建 12
3 需求分析 15
3.1 目前手机游戏开发的局限性 15
3.2 游戏载体的缺点 15
3.3 本游戏需解决的问题 17
3.4 手机游戏的总体设计 18
3.4.1 程序的总体架构 18
3.4.2 程序的流程图 19
3.4.3 本程序的核心类 20
3.5 本游戏中所用到技术 22
3.5.1 MIDP2.0对游戏的支持 22
3.5.2 内存的优化 24
3.5.3 内存检测器 24
3.5.4 关于混淆器的应用 24
4 游戏的详细设计 26
4.1 游戏的主菜单 26
4.2 滚屏游戏的具体实现 29
4.2.1 地图绘制的实现 29
4.2.2 碰撞检测的实现 31
4.2.3 键控处理的实现 34
4.2.4 滚屏的实现 38
4.2.5 主要人物玛莉(Mario)的实现 40
4.2.6 游戏角色乌龟(Tortoise)的实现 41
4.2.7 游戏的主画布(Canvas)类的实现 42
4.2.8 游戏主管理(Manager)类的实现 46
4.3 游戏的优化 47
4.3.1 游戏中新对象的产生和垃圾的收集 47
4.3.2游戏中关于来电挂起和恢复的处理 48
5 结 束 语 50
参考文献 51
致  谢 52

手机游戏—超级玛莉的设计与实现

(科教作文网http://zw.NSEaC.com编辑发布)


 

摘  要:  随着手机的日益普及,人们对手机的娱乐功能的需求也相应增强,尤其是近几年手机2D、3D技术的日益成熟,大大地提高了手机游戏的娱乐性、操作性和方便性等多方面的性能。J2ME(Java 2 Micro Edition)是专门针对移动设备和嵌入式设备开发的1种技术,它不仅具有很好的跨平台性,而且提供了很好的可扩展接口,如Web服务、无线消息、多媒体等。同时J2ME平台可以通过将CLDC、CDC、及其对应的Profile与可选包加以组合进1步扩展其功能,以满足特定的市场需求和技术需求[1]。
本设计应用J2ME技术,开发了这款具有1定商业价值的手机游戏—超级玛莉。本款游戏是借鉴PC机超级玛莉的思想,在手机上实现了当年红白机上的经典游戏,对于玩家们来说应是10分熟悉的。本主要包括以下几方面的内容:
第1章  Java与J2ME的概述。主要介绍了Java语言的特点与发展历史,对J2ME的概念及体系结构做了详细的讲解。
第2章  游戏开发环境的介绍。本章主要介绍了手机游戏开发环境J2ME的配置,其中还详细讲解了J2ME WTK的组成部分和各部分的功能。
第3章  需求分析。通过对手机游戏开发现状的了解,分析出在游戏开发中会遇到的困难。
第4章  游戏的详细设计。其中主要讲述了游戏几个主类的实现。
关键词:  J2ME;MIDP2.0;WTK;手机游戏

The Design and Realization of Mobile Game
-The Super Scripture Of Mario
 

Abstract:  J2ME (Java 2 Micro Edition) is a kind of developing technology directed at mobile equipment and plug-in equipment.With the increasing-development of the communication technology, as well as widespread of mobile phones, the users one becoming eager for the entertainment funetions of mobile phones, which makes Java Phones more and more welcomed.Especially in recent years, mobile phone 2D.3D technologies are matureing. The requirement for the recreation.operation and convenience of mobile phones increases while J2ME realizes it. It plays a critical role in communication equipment and eariching people’s amusement in daily life. J2ME not only serves a good cross-platform, provides a good interface such as WEB service Willess news. Multi-media etc .but also provides a installed database that connects with the database. At the same time,J2ME can furthru extend its functions by organizing CLDC,CDC and related profile with the atternatire packages to meet specific market needs and technology needs.

(科教论文网 Lw.nsEAc.com编辑整理)


The design has applied J2ME technology, and developed the mobile phone game with great commercial value. This game is, the idea came from a PC super in mobile phones achieved in the classic white board games, the players who should be very familiar.
Chater One.  The general introductioin of Java and J2ME. It maily introduces the features and history of Java language. It also explained the concept and system structure of J2ME.
Chater Two.  The introduction of the developing environment o. It maily introduces the configuration of J2ME, in which the components and the functions of J2ME WTK are also included.
Chater Three.  Requirement analysis. According to our knowledge of current of the development of mobile phone games we can discover the difficulties in developing a game.
Chater Four.  The detailed design of the game. It maily describes the design of several main classes of games.
Keywords:  J2ME;MIDP2.0;WTK;Mobile phone games

前 言
无线通信技术的飞速发展和普及,已经使每1个人真切地感受到了技术带给人们的便利。手机和各种小巧实用的电子设备已经深入到了我们生活中的方方面面。就拿手机来说吧,它几乎已成为人们生活中的必需品,但现在的手机还仅仅停留在通话上,高的带宽该怎样利用已经提上了议事日程,只有丰富的应用才会有未来移动通信的大发展。那么如何提高移动电话的利用率、创造竞争优势,必然是软件开发人员不可不知的技术。J2ME的MIDP规范提供了Java与无线通信这两种技术的综合,让软件开发人员能够在已熟悉的Java技术之外,再具备1个迎接软件应用新趋势的开发工具

    上一篇:试题库管理系统VB+SQL 下一篇:没有了