Research and Design of 2D Handset Game Engine Based on J2ME Platform
- Author
- RanJing
- Advisor
- YinZhiBen
- School
- Southwest Jiaotong University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 300
- Citations
- 4
Abstract
This collection of papers existing mobile gaming solutions, and classifies them based on Java language and C language-based solutions for two types of analysis and comparison of these two types of solutions, focusing on JAVA J2ME MIDP technology advantages deteriorated. The paper summarizes the J2ME architecture and structure such as CLDC, MIDP research and analysis, which focuses on the the MIDlet development process and deployment and MIDP lasting solutions RMS. Game API in a lot of off-the-shelf game API, this paper 2D mobile game engine does not use, because not all models support these GAME API. The summary of the J2ME technology framework conducive clearly showing the structure of mobile games. The main content of the paper is the research and design of 2D mobile game engine, the engine is based on J2ME MIDP platform design, divided into the main game thread control, treatment of the state of the game, the game map and the role processing, the game sound processing and games using the machine The type parameter defines several modules. The paper contains the detailed design documents and flow charts of the engine, graphics and appearance shows 2D mobile game engine designed by the author. MIDlet lifecycle and state to change the situation in the the game main thread control module. Gameplay module handles the actions performed by the player in various states. The game map and the role of processing module of the 2D graphics through the module and sprite technology in the mobile phone low memory constraints to save storage space and achieve better visual effects the cache technology research can improve 2D graphics in low CPU limit reading the image next game speed. The game sounds relatively simple processing module, the module uses MIDP2.0 standard API, but different phone models support different sound formats and APIs, there will be described in detail in the paper. The engine using only standard API to write, so it has good cross-platform, but also due to the use of the model parameters defined in this module will be able to do only simple modifications of the engine can be transplanted in some common phone Universal. Finally, the paper summarizes the use of the software and hardware requirements of the engine, and use of the engine through the game instance, also pointed out that the engine does not achieve the effect and gives the author's own optimization tips.
Table of contents
Abstract 4-5
Abstract 5-8
Chapter 1 Introduction 8-11
1.1 mobile game development background 8 - 11
1.1.1 mobile operating system currently in use 8-9
1.1.2 middleware dispute 9-10
1.1.3 of the topics 10
1.1.4 thesis chapters arranged 10-11
Chapter 2 J2ME platform research 11-19
2.1 J2ME technology Overview 11
2.2 J2ME platform architecture 11-12
2.3 CLDC Profile 12-13
2.3.1 CLDC hardware requirements 13
2.3.2 CLDC software requirements 13
2.4 MIDP profile and its low-level UI using 13-15
2.4.1 MIDP low-level UI using 14-15
2.5 MIDP lasting solution -RMS 15-16
2.6 MIDlet development process and deployment 16-18
2.7 chapter Summary 18-19
Chapter 3 2D mobile game engine design 19-59
3.1 design Goals 19
3.2 module description and class structure 19-21
3.3 engine file structure design 21-23
3.4 games main thread control and interrupt handling 23-27
3.5 resource Management 27-45
3.5.1 alphabet image processing 28-30
3.5.2 game map processing 30-32
3.5.3 game character processing 32-44
3.5.4 game sound processing 44-45
3.6 Gameplay processing 45-54
3.6.1 game archive 52-53
3.6.2 game key handling 53-54
3.7 phone models relevant parameters defined 54-57
3.8 engine complete flowchart 57
3.9 Chapter Summary 57-59
Chapter 4 engines use 59-78
4.1 engine uses hardware and software limitations and scope 59
4.1.1 engine uses a whole range of 59
4.1.2 engine uses hardware limitations 59
4.1.3 engines use software restriction 59
4.2 preparation demonstration games - baseball 59-77
4.2.1 game rules 60-61
4.2.2 resource processing and tools use 61-65
4.2.3 game level design and AI processing 65-76
4.2.4 Gameplay processing 76-77
4.3 Summary 77-78
Chapter 5 conclusions and Prospects 78-81
5.1 this work summarizes 78
5.2 future Work Prospects 78-81
5.2.1 game map processing module optimization suggestions 78-79
5.2.2 transplantation confusion 79
5.2.3 3D mobile games 79-80
5.2.4 mobile games 80-81
Thanks 81-82
References 82-85 <br / > master's degree papers published during 85
Related dissertations
- Research and Implementation of QR Code Recognition Technology Based on J2ME
- Optimization of Twofish Encryption Algorithm and Realization in Mobile Payment System
- J2ME-based airline reservation system modeling and implementation
- The design of wireless electronic payment platform
- Research and Development of Mobile Office System Based on J2ME Platform
- Mobile game based J2ME/MIDP2.0 achieve
- Design and Realization of2D Graphics Acceleration Module
- Research and Implementation Based on the the J2ME Technology of Mobile Securities System
- Design and implementation of mobile phone software and network instant communication software
- The Design and Implementation of Phone Card Games Based on J2ME
- Design and Implementation of Electronic Meal Ordering System Based on J2ME
- The Design and Implementation of Vehicle Insurance System Based on Mobile Platform
- Research and Design of Remote Intelligent Household Management System
- Research and Application of2D Graphics Looks Like3D
- OpenCV-based Mobile Intelligent Home Video Surveillance System
- Medical Information System Based on J2ME and Web Service
- Design and implementation of J2ME mobile phone games
- The Study and Implementation of e Mine Intelligent Management System
- Research and Implementation of Mobile Learning System Based on J2ME
- Design and Implementation of Bluetooth Network Tetris Game Based on J2ME