Font Size: a A A

Reserch And Implementation Of Multi Platform And High Efficiency Mobile Application Engine Based On Lua Languange

Posted on:2017-12-28Degree:MasterType:Thesis
Country:ChinaCandidate:X M ZhaoFull Text:PDF
GTID:2348330518995273Subject:Information and Communication Engineering
Abstract/Summary:PDF Full Text Request
The development of intelligent terminal and 4G network has opened a new era of mobile Internet,mobile application development market is developing fast.there is a lot of the mobile applications,and they are updated frequently,so only the mobile applications has a rapid development and also equipped with quality,meanwhile has a lot of innovative feature points,then they will get a greater market advantages.Now,some game engines on the market cover the full set of solutions for the game,but there are still some problems in the development of specific projects,such as not be easily used,the core library is too large,difficult development and so on.Under the above background,this paper studies the problem of how to develop the cross platform mobile applications efficiently and rapidly.With intensive study of the theory of stack interaction between C++ and Lua,and on the principle of multiple design,such as OCP thesis and so on,we build two main layers in the engine.One is the combination of Cocos2d-x and the independent implementation of the bottom of the C++ module restructuring engine.The second is based on the Lua language of the upper universal module engine.Above the two layer,developers can only focus on the game business logic development,greatly shorten the development cycle.The engine is suitable for IOS and Android two platforms.Based on the two platforms of the transplant process is described in detail,including UI,scene rendering,resource management,voice processing,data storage and resource load and other modules.And also,in order to improve the efficiency of development enrich our engine,the engine is also from the developer 's view,design and implementation some convenient features and algorithms for use,such as CSV parsing tools,debug module,script package update mechanism and some artificial intelligence algorithms,etc..Based on the above functions,we can get the engine has good portability,versatility and efficiency,when it is used for the application development.Another key content of this thesis is to realize a Sprites fragment animation technology based on cocos2d-x open source engine.With the study and analysis of traditional game animation technology,combined with the existing animation needs,this paper proposed a new type of animation technology.In this paper,the whole process of the debris animation technology is introduced in detail.Firstly introduces the construction principle of the Sprites fragment animation realized class and action management class as the core part of this technology.Secondly,introduces the optimization of Sprites fragment animation technology in memory and resource management.In the end,it realize the general scheme of the Lua language in the Lua multi platform engine.By using the Sprites fragment animation technology,we can saving memory,also can develop a rich animation effect.Finally,based on the analysis of the test technology,the test method of black box and the test method of the white box script are used to test the engine base and extended functions.By analyzing the results of the actual application diagram,the test data,the code coupling degree,the development cycle and so on by using two concrete projects.The reliability,high scalability and high efficiency.
Keywords/Search Tags:Multi platform, Lua, Engine, Sprites fragment animation, Cocos2d-x
PDF Full Text Request
Related items