Font Size: a A A

Research And Implementation Of Mobile Game Engine Based On JAVA

Posted on:2008-03-06Degree:MasterType:Thesis
Country:ChinaCandidate:H J XieFull Text:PDF
GTID:2178360215459259Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Mobile game is an important part in mobile value-added service field. The research on the mobile game engine has very important application value for the mobile game development. In this thesis, the main research work is how to realize a mobile game engine with high performance. Performance and algorithm optimization are focused on this thesis because the performance problem is the biggest bottle-neck when games are developed on Java mobile phones.This thesis is organized from part to whole. First, it introduces the important parts in the engine, as well as their key problems. Then, it summarizes the realization process of the whole engine.Mobile game engine is often divided into two parts: physical and rendering parts. In physical part the first thing that must be resolved is how to vividly simulate the physical movements in the real world with programs. The thesis, based on Newton physics theory, discusses various kinds of physical movements in detail, from the basic movements and forces to the complicated changing speed movements and collision responses, and shows some main code segments. Then, two methods for the calculation optimization on physical part of engine are proposed, which will improve the calculation performance of engine. The first one is using integer number to express double number and the second one is about approximate calculation on trigonometry.The second part in the mobile game engine is about rendering. In this part, the first thing that must be resolved is the performance problem for 2D scrolling scene, which consumes most time in rendering part. The thesis put forwards two algorithms, i.e., whole copy algorithm and four parting buffer algorithm, which are more efficient than the current normal method. The formation and principle of these two algorithms are described in detail. Then, this thesis analyzes the most common graphics style, i.e., PNG (Portable Network Graphic), and proposes four methods of optimization to remove optional data segment, to integrate pictures, to split palette data segment, and to decompress IDAT segment.In the end, by summarizing two parts above, the thesis discusses the normal implementation method for the mobile game engine, proposes an improved way, and compares the advantages and disadvantages between them. In addition, the thesis shows an application of the mobile game engine in a practical game project. The research work of this thesis has been validated in practical projects.
Keywords/Search Tags:Mobile game, Game engine, Physical engine, Rendering engine, Java, J2ME
PDF Full Text Request
Related items