节点文献

J2ME平台手机游戏的设计与实现

Design and Implementation of Mobile Game Based on J2ME Platform

【作者】 邵明武

【导师】 黄洪;

【作者基本信息】 西南交通大学 , 计算机应用技术, 2007, 硕士

【摘要】 随着移动通信技术的发展和无线数据业务的进步,手机已被赋予了除通话以外的其它许多功能。全新的手机游戏领域已逐渐聚焦了众多软件开发商的目光,游戏开发者和游戏玩家将共同面临这个振奋人心的游戏新境界。目前用来进行手机程序开发的平台主要有J2ME、Symbian、Brew和WindowsMobile等。J2ME作为Java技术专为消费嵌入式系统定制的版本,目前已经成为移动通讯设备的主流开发平台。基于J2ME平台能够方便地利用各种Java技术在手机上实现许多复杂的功能。但是开发手机游戏由于受到手机设备的制约,需要解决许多关键问题:图形图像是游戏的一个极其重要的表现方式,要在手机设备这样受限的环境中,让背景图像以及每个角色动作显示的形象逼真,用普通的台式机的处理方法显然是不行的。目前大多数移动设备固有的资源都非常宝贵,尤其是堆内存和包容量受到很大的限制。由于游戏常常会用到很多的图片、动画、场景、声音等数据文件,如何有效使用有限的手机资源、如何组织游戏本身资源,以方便程序管理、提高手机系统的整体性能,是游戏引擎需要解决的关键问题。理论上J2ME为开发人员提供了“write once,run anywhere”的环境,然而在针对手机设备的开发过程中,同一款游戏程序很难直接运行在不同的手机设备上。手机设备的丰富多样性要求一款手机游戏应定制多个版本。基于以上背景以及存在的诸多问题,本文以作者在某著名手机游戏公司参与的一款根据TOUCHSTONE公司同名电视剧改编的动作冒险类手机游戏LOST为背景,通过对手机游戏领域中图形图像处理、游戏资源的管理、游戏移植等方面的研究,设计并实现了LOST游戏的引擎,并介绍了该游戏引擎中对以上诸多问题的解决方案。本文讲述了LOST游戏的各种设计和实现细节,由于来源于实际项目,所以文中的许多方法和结论对以后手机游戏开发和J2ME平台其它应用软件开发具有广泛指导意义。

【Abstract】 With the development of mobile communication technologies and the improvement of wireless data traffic, cell phones function a lot besides calling. A brand new cell phone games’ field attracts many software developers’ eye sight. Game developers and game players are facing an exciting game world. Currently the main platforms for cell phone program designing are J2ME, Symbian, Brew and WindowsMobile, and etc.J2ME as a java version built for embedded system, becomes the main stream R&D platform for the cell phone communication device.This is the insider’s view on cell phone games. Because of the physical character of the cell phone itself, many key cell phone engine problems remain to be solved.Picturing is one of the most important ways of showing the game. In order to provide a more real action in such a limited environment, a common PC way doesn’t work in this case.Until recently most of the mobile device has constraints in stack buffer and packet storage. Games need a lot of data files such as pictures, characters, scenes and voices. How to effectively use the limited cell phone resources, how to manage the game resource itself in order to conveniently manage the program and improve the performance of the cell phone system is the crux of our design.Theoretically J2ME provides developers with a write once and run anywhere environment. However, during the period of developing, the same game can hardly run in a different cell phone device. The varieties of the cell phones require a game with many versions.Based on the cell phone game LOST which is developed by a famous company, through the picture dealing of the cell phone games, the management of the game resource and the research on porting, this thesis implements the LOST’s engine and proposes solutions to the problems.This thesis introduces the designing and implementation of the LOST in detail. It comes from a practical project, so the solutions and conclusions here are very useful to the developing of the cell phone games and other application softwares based on J2ME.

【关键词】 J2MEMIDP手机游戏游戏引擎移植
【Key words】 J2MEMIDPMobile gamesGame EnginePorting
  • 【分类号】TP311.52
  • 【被引频次】14
  • 【下载频次】837
节点文献中: