|
Since the Apple iPhone, released in June 2007 , a new generation of smart phones at an alarming rate eruptions and growth . While the Google Android smartphone operating system is also installed into the two-year presents an explosive growth trend . The mobile Internet era has arrived , the game on mobile devices will be increasingly welcomed by the people , has a huge market prospects . Development experience shows that do not have a good game engine support , mobile game development difficult : First is the progress of the development is difficult to control, quality is difficult to be assured , followed by the change request can not be set by the game quickly perform project risky. At home and abroad has many mature game engine , but most of the engines are for internal use , few public engine will by its very expensive licensing fees , direct application of this type of engine start-up companies too risky . Issues for appeal , the solutions developed using the game engine , and its purpose is to solve the problem of game development there . The engine uses a hierarchical structure , designed and implemented in two phases , the first phase will be to achieve the basic structure of the engine . Demand for the game engine by way of the use of software engineering analysis , completed the design of the engine using the Unified Modeling Language , cross-platform game engine will be divided into four layers , respectively, for the application layer , games and logic layer , the base layer , system abstraction layer ; games and logic layer consists of five modules : general game interface library , game scene management , game state management , game logic abstract , game scripting module , as well as a message handling mechanism throughout the entire layer ; foundation layer contains two module : rendering and audio processing engine, resource management , and a detailed design on them . The game engine using open source libraries and technologies , integrate them and with the collaboration of other parts of the engine , the formation of a simple , compact , and adapt to the game engine and the company's current and short-term goals . Through the implementation of a testing and sample game , the ultimate proof of the availability of the game engine , to achieve the purpose of improvement of the development process , to meet the company 's needs .
|