文档介绍:中山大学南方学院
装
订
线
本科生毕业论文(设计)
题目:基于J2ME技术的手机游戏开发
系名: 电子通信与软件工程系
专业: 06级计算机科学与技术专业
学号:
姓名:
指导教师:
二○一○年五月
摘要三号黑体加粗
随着移动通信技术的发展和无线数据业务的进步,手机已被赋予了除通话以外的其它许多功能。全新的手机游戏领域已逐渐聚焦了众多软件开发商的目光,游戏开发者和游戏玩家将共同面临这个振奋人心的游戏新境界。
J2ME(Java 2 Micro Edition)作为Java技术专为消费嵌入式系统定制的版本,目前已经成为移动通讯设备的主流开发平台。基于J2ME平台能够方便地利用各种Java技术在手机上实现许多复杂的功能。但是开发手机游戏由于受到手机设备的制约,需要解决许多关键问题:
,如何让背景图像以及每个角色动作显示的形象逼真,用普通的台式机的处理方法显然是不行的。
,但游戏常常会用到很多的图片、动画、场景、声音等数据文件,如何有效使用有限的手机资源、如何组织游戏本身资源,提高手机系统的整体性能,是游戏开发中需要解决的关键问题。
本系统基于J2ME平台开发,实现了一款操作简单并有一定可玩性的完整2D(二维)版A-RPG(Action Role Playing Game)手机游戏。本文的主要工作集中在:
1. 阐述了手机游戏的背景和发展趋势,详细分析了开发手机应用软件所需的关键技术—MIDP (Mobile Information Device Profile)的体系结构和此架构中的关键技术。
2. 在分析手机游戏开发特点的基础上,总结了手机游戏开发及部署的一般流程,设计并实现了一款A-RPG手机游戏—枫际神话。
3. 分析研究了手机游戏开发中的关键问题:在J2ME技术基础上,应用卡马克算法,实现对地图模块的优化处理,使背景图像形象逼真,提高了手机游戏的质量。
4. 分析了现有的移植解决方案,总结出了一套有效的移植方法,提高了游戏质量和开发的效率。
关键词:J2ME;卡马克算法;MIDP;A-RPG
ABSTRACT
As munication technology and advances in wireless data services,mobile phone call has been given other than than many of the features. The new mobile gaming has gradually focused the attention of many software developers,game developers and game players will be facing the game in this exciting new realm.
J2ME (Java 2 Micro Edition) Java technology as an embedded system for consumer versions of customized,munication devices has e a mainstream development platform. Based on J2ME platform can easily use a variety of Java technology on mobile phones,plex functions. However,in mobile game development constraints due to mobile devices,need to address many key issues:
1. Mobile devices such a restricted environment,how to make the background image,and each role is shown in vivid,with mon desktop approach is clearly not acceptable.
2. Mobile devices are very valuable natural resources,but the game will often use a lot of pictures,animation,scene,sound, and data files,how to effectively use the limited phone resources,how anize the game of their