Font Size: a A A

Research And Design Of 2D Handset Game Engine Based On J2ME Platform

Posted on:2008-11-24Degree:MasterType:Thesis
Country:ChinaCandidate:J RanFull Text:PDF
GTID:2178360215959257Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
The present paper has collected the existing motion communication solutions, which are divided into JAVA and C solution two kinds. through analysis and contrast of these two solutions, the paper emphatically studies superiority and inferiority of JAVA J2ME's the MIDP technology. The paper summarized the J2ME architecture and researched CLDC and MIDP, which focuses on the studing the MIDlet development flow and deployment and RMS. There is off-the-shelf game API in MIDP, but in the present paper, 2D handset game engine has not certainly used the API. The reason is that not all handsets support these GAME API.In this paper, the main job is to research and design 2D handset game engine. The engine is based on J2ME MIDP platform for the design and divided into the main thread control of the game, resource management, game state and handset type several modules. The paper contains the detailed engine design documents and flow charts of the engine, which has displayed the blue print of the 2D mobile game engine. In the main thread control of the game module, there are the life cycle and state change of MIDlet. The game state module manages the player's movement in various states. In resource management module, the engine has used the "module" and "sprite" technology to display the high quality 2D image on the handset equipment limited by the low memory. And researching the buffer technology may enhance the speed of 2D game on the handset equipment limited by low CPU. The game audio processing module is simple. The module is compiled by using a standard API in MIDP2.0. But different phone equipment supports different sound format and API. The paper will describe the differences in detail. The engine is compiled by using only standard API, so it has a good cross-platform. And the handset type module will make the engine is able to be put into many different handsets by simple modification.Finally, the paper has summarized this engine use scope and the software and hardware limit. And the paper introduced the use of the engine through a real game. The paper has pointed out the effects which didn's achieve in the engine and provided the author's suggestion about optimization.
Keywords/Search Tags:the 2D mobile game engine, J2ME, MIDlet, 2D graph, game audio, 2D mobile game resource management
PDF Full Text Request
Related items