| As the pace of the times get faster and faster, in the big trend of people’s pursuit of a more quick and convenient service, mobile devices widely appear in people’s life. Accordingly, the response of software service is that all kinds of application software, game software emerging among all kinds of mobile platform. When people experience different feelings from different softwares, the software makers have got a huge benefit from the service they provided at the same time. The development of games on mobile platform has been marked with the characteristics of short cycle, low cost, high risk and high profit, which has attracted a lot of developers to attempt to explore this field. So Cocos2d-x engine was born, which is an open source game framework of mobile2D developed with C++. It is based on OpenGL ES and Cocos2d-iphone. The cross-platform feature makes the engine has a unique advantage in the mobile platform software development.In this paper, the design and development of the game named "Fish Hunter" is studied and summarized, the game is developed with Cocos2d-x engine and is a stand-alone game on the mobile platform. The study in this paper basically reflects the development process and technical standards of a standard stand-alone game. The author served as the client programmer in the whole process of project development in the game, and has completed the tasks of the implementation of most part of the game modules, the implementation of the special requirements on Android platform, and the implementation of all channel SDK(Software Development Kit), to ensure the update and maintenance of this game. This paper has made a detailed analysis and description for the the design and implementation of some big function modules, which perform particular and have an outstanding technical features. Besides, the paper also has made a detailed description of the technical support on frame animation, flash animation, particle effects of Cocos2d-x engine. The complete UI control supports and effective memory management in this engine are also reached. On the other hand, this paper also made a detailed introduction of the special implementation on the Android platform. At last, the use of design patterns in the process of project development and the problems and the solutions for problems are described and summarized.At present, this game "Fish Hunter" has been successfully operating in the mainstream of the Android market, due to the lovely game style, the gorgeous game effects and the attractive game playing of this game, it makes the game has its place in the field of fishing game. |