摘要
随着移动电话的普及率越来越高,手机已经成为人们生活中的必需品。同时,随着科技的发展,移动电话的功能也越来越强,手机娱乐已经成为一项充满发展前景和商机的产业。虽然目前手机的处理能力与个人
计算机的标准处理能力相比很有限,但是足够运行一个相对小型的游戏,甚至是3D游戏。
本文先从
Java手机游戏的背景出发,介绍了Java手机游戏的发展现状,然后从整体上介绍本3D游戏开发的模型、结构分析和具体功能实现,游戏的接口和运作方式。通过对手机游戏开发,MIDP 2.0,以及JSR-184(J2ME 3D技术)的研究,采用立即模式,运用深度优先遍历算法来随机生成游戏地图,并尽力模拟手机游戏的普遍性形式,实现一个操作简单,并有一定可玩性的完整3D手机迷宫游戏。
关键词:
J2ME;MIDP 2.0;M3G(Mobile 3D Graphics--JSR184);立即模式(immediate mode);深度优先遍历。
Abstract
With mobile phone penetration rate increasing, mobile phones have become a necessity in people's lives. At the same time, with the development of technology, the functions of mobile phones more and more strong, mobile entertainment has become a full development prospects and business opportunities in the industry. Although at present the handling capacity of mobile phones and personal computer processing power than the standard is very limited, but enough of a relatively small operation of the game, or even 3D game.
This article start with the background of Java mobile phone games based on the Java development of mobile phone games, and then a whole game on the 3D model of development, structural analysis and specific functions to achieve, the game's interface and mode of operation. Through the development of mobile games, MIDP 2.0, and JSR-184 (J2ME 3D technology) research, using the depth-first traversal algorithms to generate random map games, and to try to simulate the universal form of mobile games, to realize a simple operation, and funny 3D maze game on mobile phone.
KEY WORDS:
J2ME; MIDP 2.0; M3G(Mobile 3D Graphics--JSR184); Immediate mode; The depth-first traversal algorithms
目录
第一章 前言······································1
1.1引言·············································1
1.2手机游戏现状·····································1
1.3手机游戏应具有的特征·····························3
1.4论文内容及安排···································4
第二章 开发环境及相关技术····················6
2.1开发环境·········································6
2.1.1关于Eclipse及Eclipseme························6
2.1.2关于Wireless Tool Kit··························9
2.2 MIDP 2.0简介····································9
2.3 J2ME概述···················