Font Size: a A A

The Design And Implementation Of The Strategy Game Planet Conquer Based On The Unity Engine

Posted on:2017-07-07Degree:MasterType:Thesis
Country:ChinaCandidate:B W ChengFull Text:PDF
GTID:2348330509457581Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the popularity of smart phones in recent years and the improvement of the performance of mobile devices, mobile games have gradually become an important way of entertainment in the daily life of the public. But the differences of operating system between different mobile devices, the differences in performance as well as differences in screen resolution, has brought greater development and adaptation costs to the development of the game. Thanks to Unity, Cocos2 d and other game engines which support the cross platform game development, individuals and small teams can develop a suitable cross platform game efficiently and quickly becomes possible.Based on observing of the mobile games, and summing up of the game development technology, the author chooses to design and implement a single space theme strategy game for i OS, Android and Windows Phone platform with the Unity engine as the subject of research and practice.Based on the design and implementation of this cross platform mobile game, from a technical point of view, this paper discussed the implement of a hierarchical game artificial intelligence model, how the object pooling and draw call batchin g methods optimize the usage of the memory and CPU of the devices, and how to adapt the game to devices with different screen resolution. The content presented in this paper is not limited to the Unity engine, which can provide reference and basis for game development with other engines or in other ways.In this research and development project, the author used C# programming language while developing this game. The game system is divided into two main modules: game engine module and game logic management module. The two modules can be further divided into 7 sub key modules: data storage management module, game resource management module, page management module and game elements module, game logic module and level management module. Game logic module is the core of the whole game, to achieve the sub level of the ga me artificial intelligence model. Data storage management module and the level management module, provides a flexible expansion capabilities, can be configured through the XML file to build the level. It can separate the logic and the realization of the game level. Through the design of the modules described above, this game system can be flexibly expanded by configuration files and meet the needs of different platforms, performance and resolution of equipment. It can provide a unified game experience for players who use different mobile devices.In the actual test, this game meets the needs of battle between human and the computer. It can run smoothly on different i OS, Android and Windows Phone devices and the game user interface adapts well for devices with different screen resolutions. The implementation of the game artificial intelligence model and the optimization of the game performance has a high reference and practical value.
Keywords/Search Tags:mobile game, Unity engine, game artificial intelligence, performance optimization
PDF Full Text Request
Related items