Font Size: a A A

The Design And Implementation Of Towerdefence Mobile Game Architecture Based On Cocos2d-x Game Engine

Posted on:2016-12-30Degree:MasterType:Thesis
Country:ChinaCandidate:Y F WangFull Text:PDF
GTID:2308330464472804Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Game Industry, as a vitally important member of the current National Strategic Emerging Industry, is booming around the world. In the context of relevant national policy, Game Industry is keeping on towards globalization, professionalization, diversification and platform. Cellphone has now become the carrier of game and initiated a new era for recreation with electronic games.This topic researched the mobile game development, mainly for the TowerDefence mobile game. Based on Cocos2d-x game engine, the topic design and implement the program frame for TowerDefence mobile games. Although Cocos2d-x can be convenient and fast for mobile game development, it is not appropriately attached to a certain type of mobile game. The topic analysed the inherent characteristics of TowerDefence game and abstruct and conclude them. Under the market circumstances of urgently demand for TowerDefence mobile game and the long-time development cycle, the topic had taken the shape of architecture for TowerDefence mobile games. This architecture, is specific to the weak spot of Cocos2d-x, is based on research of several TowerDefence mobile games in market. The architecture is suitable for TowerDefence mobile game development and swifter and more agile. The architecture is of great commercial value for structuring the TowerDefence mobile game.Firstly, relaying on locating the correct market positioning and the certain demands of market, this topic had deeply analysized the current conditions and developing tendency of mobile game market include international and domestic, especially for TowerDefence mobile games. Secondly, this topic had emphatically analysized several famous TowerDefence mobile games. Accoding to these games, this topic had came up with functional requirements, non-functional requirements and other requirements for the general TowerDefence mobile game inner requirement. Via the means of requirement analysis of software engeering, the topic gradually produced a whole requirement system for the TowerDefence mobile game. Thirdly, this topic had utilized the requirement system for constructing the software framework of TowerDefence game type. The framework uses C++ language, MVC designing mode, Cocos2d-x game engine and a variety of relevant game algorithms to integrate itself. The framework had a hierarchical structure for each unequivocal function. Finally, this topic had discussed the solution of cross-platform setup and debugging. Using the means of software test, the topic had put forward some measures to improve the framework.On the other hand, this topic had look deeply into some important parts of Cocos2d-x source code. When come cross a kind of sorce code that is not suitable for use, the topic had utilized the class method of inheritance, rewriting and reload for productively and conveniently completing the target function other than directly revise the soure code. Having the method mentioned above, the framework had contained some useful and essential function modules, including the table manager, texture manager, data manager, network communication, etc.The TowerDefene type of game has its inherent characteristics in spite of the total different style of TowerDefene games online. It is precisely because the essence of TowerDefene playing method, this topic can use it to do some basic works for game development. Through this framework, the programmers can focus alternatively on game itself and the repetitive works can be evitable.
Keywords/Search Tags:Mobile Game, Cocos2d-x, Tower Defence, A-star Algorithm, Collision Test, MVC, Android Platform, iOS Platform
PDF Full Text Request
Related items