没有合适的资源?快使用搜索试试~ 我知道了~
手机游戏J2ME毕业设计
4星 · 超过85%的资源 需积分: 3 168 下载量 135 浏览量
2009-05-03
20:20:33
上传
评论 1
收藏 283KB DOC 举报
温馨提示
试读
48页
关于J2ME的毕业设计,即将大学毕业的同学,因为找工作或已工作等等原因,未能自己完成毕业设计,可以下载做个参考
资源推荐
资源详情
资源评论
毕 设 下 载 站 http://bysj5566.3322.org
摘 要
JAVA 已经从一种平台无关的编程语言演变成一种与厂商及平台无关的健
壮的服务器端技术,促使 IT 业界深入发掘以 Web 为核心的应用程序的巨大潜
力。J2ME 的出现使这一变化达到了一种新的高度。J2ME,简称 Java2 平台
袖珍版( Java 2 Platform ,Micro Edition (J2ME) ),是 SUN 公司在 J2SE 和 J2EE
之后,致力于消费产品和嵌入式设备的最佳解决方案。作为 JAVA 的三个版本
之一,J2ME 在无线编程技术中正发挥着它独特的作用。 J2ME
为在小型电子设备上创建性能卓越的网络应用提供了一套完整的解决方案。
它也使设备制造商、服务提供商及应用开发人员为他们的用户发布新的软件
应用成为可能。
本篇论文共分为七个部分:包括绪论、J2ME 技术概览、游戏设计的需求
分析、“Pocket Boxing”手机游戏开发制作、手机游戏开发存在的困难、J2ME
手机游戏前景展望和结论。其中第四部分“ Pocket Boxing 手机游戏开发制作”
是本篇论文的重点。整篇论文都是围绕着这一部分来展开论述的,在这一部
分里详细介绍一款手机游戏“Pocket Boxing”的开发全过程和开发过程中存在
的疑难问题。其中包括:游戏事件、游戏 API 等以及对事件的处理,另外在
游戏描绘处理部分也将作为重点进行介绍。
通过对 J2ME 的详细介绍我们可以从中了解到其自身的作用,近年来,
随着 JAVA 手机的诞生,其无可替代的灵活性与轻便性致使 JAVA 手机游戏成
为游戏市场的又一亮点,它的前景无可限量,必将在我们以后的生活中发挥
着重要的作用。
关键字:J2ME, MIDP, 游戏编程, 事件, 描绘处理
QQ:
毕 设 下 载 站 http://bysj5566.3322.org
Abstract
Java is already changed from a platform-independent programming
language to a mission-critical technological with manufacture platform
independent, and java encourage IT circle to deeply tap the huge potential of
application with the care of Web. The emergences of J2ME push it to a new
high level. J2ME( Java 2 Platform, Micro Edition (J2ME) ) called “Java 2
platform” for short —a pocket-edition is a prefect solution plan of consume
products and embedded equipment, after J2SE&J2EE in SUN company. J2ME
is making a special effect at the wireless program technology. J2ME provide a
complete set of solution plan, it’s also make it become possible that issue the
new software application by the manufacture of equipment, service supplier
and the people of develop application.
This article has seven portions: include the introduction, the general
situation of J2ME technology, the demand of the game design analyzes, the
significance and development of Pocket Boxing, the difficult, the prospect of
mobile phone games exploitation and the Conclusion. The forth part — “the
production of Pocket Boxing mobile phone games” is the focus of this article.
This entire article is around this focus, and this part detail introduces the
exploitation process of a mobile phone game and the issues. This part
introduces: the case, API of games, deal with the accident and the other focus
to introduce is the manage of games description.
Through the detail introduce of J2ME, the function of java is obvious. Of
late years, follow the emerge of java mobile phone its unimpeded identity and
portability make java mobile phone games become a new focal point of game
QQ:
毕 设 下 载 站 http://bysj5566.3322.org
market. J2ME have unlimited brighten and make an important role in the
future life.
Keywords: J2ME, MIDP, Game programming, Deal with description, Case
QQ:
毕 设 下 载 站 http://bysj5566.3322.org
目 录
摘 要..................................................................................... I
Abstract.............................................................................II
目 录...................................................................................IV
第 1 章 绪 论...........................................................................1
第 2 章 J2ME 技术概览...............................................................2
2.1 J2ME 的概念............................................................................................................................2
2.2 J2ME 简介................................................................................................................................2
2.2.1 J2ME 架构.....................................................................................................................3
2.2.2 JVM ( 虚拟机 )..............................................................................................................3
2.2.3 MIDP( 移动信息设备简表 )...................................................................................4
2.3 手机游戏的发展.......................................................................................................................5
2.3.1 目前国内的发展情况...................................................................................................5
2.3.2 目前国际的发展情况...................................................................................................6
第 3 章 游戏设计的需求分析..........................................................9
3.1 MIDP 中的游戏 API................................................................................................................9
3.2 游戏类构成...............................................................................................................................9
3.2.1 Boxer 类的实现...........................................................................................................10
3.2.2 GameCanvas 类的功能及特点...................................................................................11
3.2.3 Sprite 类的功能及特点...............................................................................................11
3.3 游戏角色的处理.....................................................................................................................12
3.4 游戏中的事件处理.................................................................................................................12
3.4.1 key Pressed 方法..........................................................................................................13
3.4.2 key Released 方法.......................................................................................................13
第 4 “章 Pocket Boxing”手机游戏开发制作..................................15
4.1 游戏编程.................................................................................................................................15
4.2 格斗类手机游戏实例.............................................................................................................15
4.2.1 “Pocket Boxing”游戏背景介绍及开发环境..............................................................15
4.2.2 MIDlet 的构成.............................................................................................................16
4.2.3 MIDlet 的生命周期.....................................................................................................17
QQ:
毕 设 下 载 站 http://bysj5566.3322.org
4.2.4 MIDlet 的画面显示基础.............................................................................................17
4.2.5 游戏项目的创建.........................................................................................................19
4.2.6 命令种类及命令处理.................................................................................................20
4.2.7 游戏中的描绘处理.....................................................................................................22
4.2.8 游戏状态的类变量.....................................................................................................24
4.2.9 按键事件的处理.........................................................................................................25
4.2.10 设计存在的难点.......................................................................................................26
第 5 章 手机游戏开发过程中的困难................................................27
5.1 手机游戏开发存在的困难....................................................................................................27
5.1.1 移动开发存在的问题.................................................................................................28
5.1.2 操作环境不兼容性问题.............................................................................................28
5.1.3 显示速度方面的问题.................................................................................................29
5.1.4 不同的屏幕尺寸问题.................................................................................................29
5.1.5 输入问题......................................................................................................................30
5.2 解决方案.................................................................................................................................30
第 6 章 J2ME 手机游戏前景展望...................................................32
6.1 J2ME 手机游戏的优势..........................................................................................................32
6.2 J2ME 手机游戏的开发意义..................................................................................................33
第 7 章 结 论.........................................................................36
致 谢..................................................................................37
参考文献..............................................................................38
英文资料翻译.........................................................................39
毕 设 下 载 站 http://bysj5566.3322.org
QQ:
剩余47页未读,继续阅读
资源评论
- tfling20122011-09-08很好哦,用了你的做参考,我的毕业设计业是一个手机游戏,呵呵
jigang12
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功