目 录
引言 1
第一章 绪论 2
1.1 3D技术 2
1.2 手机软件现状 2
1.3 J2ME介绍 3
1.4 手机游戏应具有的特征 4
第二章 开发环境及相关技术的介绍 6
2.1 开发环境 6
2.2 JAVA语言特点 6
2.3 关于ECLIPSE 6
2.4 关于WIRELESS TOOL KIT 7
2.5 JAVA APPICATION MANAGER 7
第三章 程序结构、思想和相关技术 9
3.1 本程序需要解决的主要技术问题 9
3.2 程序流程 9
3.3 3D技术详解 10
3.4 CANVAS类 14
3.5 GRAPHICS类 14
3.6 TRANSFORMABLE类 15
3.7 MIDP1.0技术下的绘制背景技术 15
3.8 MIDP2.0新增的GAMECANVAS包 15
3.9 PNG图片格式 16
3.10 玩家控制方式和智能运行 17
3.11 子弹的运行和控制 错误!未定义书签。
3.12 内存的优化 17
3.13 内存检测器 18
3.14 关于混淆器 18
第四章 程序分析和具体实现 19
4.1 游戏进入前的选择 19
4.2 MYBULLETS类 20
4.3 游戏逻辑及GAMESCREEN类 21
4.3.1 gameScreen类所实现的功能 21
4.3.2 地图的创建 21
4.3.3地图的移动 22
4.3.4 gameScreen类的构造函数 22
4.3.5 关于commandAction()方法 23
4.3.6 Sprite类对象的碰撞检测及相关属性 23
4.3.7 玩家4次游戏机会的实现方法 24
4.3.8 input() 25
4.3.9 render()和renderboss() 26
4.8本章小结 30
第五章 测试 32
5.1 打包测试的过程 32
5.2 发现的BUG及解决情况 34
5.3 未完善的功能 34
第六章 总结 36
6.1 本程序的总结和展望 36
6.2 感想 36
参考文献 37
致谢 38
Directory
INTRODUCTION 1
Chapter 2 Introduction
1.1 3D technology, 2
Situation 2 phone software 1.2
1.3 J2ME Introduction 3
1.4 mobile game should have the characteristics of four
Chapter II development environment and related technologies introduction 6
2.1 Development Environment 6
2.2 JAVA language feature 6
2.3 About ECLIPSE 6
2.4 on the WIRELESS TOOL KIT 7
2.5 JAVA APPICATION MANAGER 7
Chapter III of the program structure, ideas and related technologies 9
3.1 This program needs to address the key technical issues 9
3.2 Program flow 9
3.3 3D technology Xiangjie 10
3.4 CANVAS Class 14
3.5 GRAPHICS Class 14
3.6 TRANSFORMABLE Class 15
3.7 MIDP1.0 background technical drawing techniques, the 15
3.8 MIDP2.0 new GAMECANVAS pack 15
3.9 PNG image format 16
3.10 Control and intelligent players run 17
3.11 bullets operation and control of error! Bookmark not defined.
3.12 Memory Optimization 17
3.13 Memory Detector 18
3.14 With regard to confuse the device 18
Chapter IV program analysis and specific implementation 19
4.1 The selection of the game in the top 19
4.2 MYBULLETS Class 20
4.3 Game Logic and GAMESCREEN Class 21
4.3.1 gameScreen class to achieve the function 21
4.3.2 map to create 21
4.3.3 Maps for mobile 22
4.3.4 gameScreen class constructor 22
4.3.5 With regard to commandAction () method 23
4.3.6 Sprite class object collision detection and related properties of 23
4 times the game player the opportunity to 4.3.7 Realization 24
4.3.8 input () 25
4.3.9 render () and renderboss () 26
4.8 Chapter Summary 30
Chapter Test 32
5.1 packaging process of testing 32
5.2 found in BUG and solution of 34
5.3 did not improve the function of 34
Chapter VI Summary 36
6.1 The procedures for review and outlook 36
6.2 feelings 36
References 37
Thanks 38