Font Size: a A A

Design And Implement Of Mobile Game Framework Base On Cocos2D-X Engine

Posted on:2016-11-11Degree:MasterType:Thesis
Country:ChinaCandidate:Y LiFull Text:PDF
GTID:2298330467491910Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
With the popularity of4G and rapid development of the mobile network, Mobile games get explosive growth and subscribers increased by62.3%over2013in2014. There are504million subscribers of Mobile online games. In the face of such a huge market demand,Developer need to think about how to develop mobile game with an efficient system framework In order to improve development efficiency.Cocos2d-x is an excellent game engine in order to improve the efficiency of game development,But the engine is still exist many problems,such as huble UI system、complex system logic、serious coupling events system and does not provide an efficient framework to develop game. In view of this, an quick game development framework for Cocos2d-x platform hava been Designed and implementated in this paper,there are seven sytem modules in the framework,UI sytem、logical system event system network system audio system logging system and database system.UI system implementated a general UI library based on configuration file、Logical system to realize the management system and the Lua script package、Event system Based on the event-driven model and lua script implementation、Network system encapsulate Scoket and Http interface for lua script、Audio system extension using FFmod audio、Logging system classification、dynamic configuration、 Database provides a unified data interface operation.The paper designs an event processing system, based on message publish/subscribe model of event driven architecture and the script technology. By using script technology, the system dynamics got greatly improved. An efficient game development framework for Cocos2d-x platform have been designed and implemented in this paper, this framework provide a general UI system instead of Cocos2d-x’s UI system,introduce technology of script to slove the problem of the system logic is not clear and provide a event process system based on event driven architecture. Through the use of this framework developers can efficiently develop game on the Cocos2d-X platform, reduce development time and cost, and also enhance thereusability and extensibility of games and applications.
Keywords/Search Tags:cocos2d-x, event-driven architecture, scripttechnology, the game development framework
PDF Full Text Request
Related items