Font Size: a A A

Research And Implementation Of The Cross-Platform Game Engine Based On Intelligent Terminal

Posted on:2013-04-26Degree:MasterType:Thesis
Country:ChinaCandidate:X X YaoFull Text:PDF
GTID:2248330362475244Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The duplicated work and porting are always the influence factors that restricted thedevelopment of the game industry. Developing mature and cross-platform game engine can relievethis problem. Currently, foreign technology is far more advanced than domestic in this area.According to the most popular platform Android and J2ME, the autor designed and implemented across-platform game engine. The game engine owns the following advantages and innovations:(1) The design of the game engine is based on fully taken account of the software designprinciple and multi-thread model, and combined the advantages of Android and J2ME.The author took double threads to drive game drawing and update transactionsseparately, so the game drawing and update transactions were divided into two logicgroups and the two logic groups run in parallel mutually exlusive threads. This canreduce the coupling of the game engine and improve the efficiency of it.(2) In drawing logic of the game engine, taking into account of the rendering efficiencyand porting issuses, the author proposed to design graphics rendering module usingOpenGL ES standards. Meanwhile, in order to further improve the renderingefficiency, the author has improved the algorithm of graphics rendering pipeline. Theexperimental results have shown that the improved algorithm of graphics renderingpipeline which divided the graphics rendering pipeline into three stages and six partshas raised the rendering rate greatly.(3) In the collision detection module, through analyzed the collision models of the two-dimension and three-dimension objects and compared with traditional collisiondetection algorithms, the author proposed the mixed box-surrounded collisiondetection algorithm. The mixed box-surrounded collision detection algorithm hashigher collision detection accuracy than traditional algorithms.(4) By analyzing the differences and similarities between Android and J2ME and basedon existing knowledge of the middleware, the author proposed the platform interfaceadapter. Between the underlying platform and game engine joined the platforminterface adapter middleware layer, through eliminating the diffiences of theunderlying layer to achieve the cross-platform game engine. Currently, the game engine has been used in three games on Android and J2ME platform.Thestatistics have shown that the game engine has shortened development cycle by30percent.Simultaneously, because of the improving of the rendering module and collision module, therendering and collision detection accuracy and efficiency have been greatly improved. Finally,thinking of using middleware to make game engine cross-platform and make each module asloosely coupled as possible with others, so that the entire game engine owns good robustness andeasy to maintain and extend.
Keywords/Search Tags:cross-platform, game engine, collision detection, platform-middleware
PDF Full Text Request
Related items