| In order to make it easier for people to learn cooking skills, based on the Cocos2d-x open source game engine developed a kitchen mobile applications-Virtual kitchen. The software design is on the VS platform using the Cocos2d-x open source game engine, SQLite database, C/S architecture, the five functions of system with system management, user management, menu management, food management and score management etc.. This paper mainly introduces the realization of the system from the aspects of system requirement analysis, system design and realization. The system improves the user interest in cooking to a great extent, there is a great value, at the same time by running the system is reliable, and provides a platform for the user to learn reasonable, efficient and convenient recipes, so the development of this system is feasible.Development tools and technology is the premise of system development, this paper first introduces several technologies required for the system of software development, including the development of language, development tools and data storage system. This project uses C++ as a development language, it uses class inheritance, overloading and polymorphism, derived from the unique characteristics of software reuse, and later makes the large software system maintenance becomes more simple and effective. VS 2012 integrated development environment is selected for project development, which could be applied by individuals or a variety of scale development team, emphasizing teamwork, but also effectiveness in the development of the program. Cocos2d-x is one of the main technologies of the project, using C++ as the development language, with cross platform characteristics,and the development of fast, simple, comprehensive function. The system data is mainly based on local storage, and the project chooses SQLite as the data storage tool.In order to make clear the development goal of the system, it is necessary to analyze the system requirement. According to the existing mobile kitchen application related content and its implementation, and then put forward the relevant ideas and ideas for this article, made a specific demand analysis, combing out the overall demand of the system. The system analyses of the project simulated kitchen system was phased, detailed description of the analysis of the process of the project, in each stage of process analysis of use case diagram or figure description of process analysis, provide the basis for system design and development of the follow-up pad.Design and implementation of the functional modules of the system: firstly, the overall architecture design and database system, and introduces the Android system design of APP Cocos2d-x based on open source game engine; followed by the study of the functional modules of the system, and the function of each module is designed in detail; finally realized the virtual kitchen application. System implementation need to configure the development environment, including the JDK environment, Python environment, Cocos2d-x environment and SQLite database system, the environment configuration is mainly through the registration of the environmental variables and the configuration of the system files. Function realization can be divided into user registration and login, dishes browsing, simulated cooking, kitchen interface, data management module, the paper discussed the key code and interface effects of the module implementation.By building its own test platform, the system functional and non-functional testing, through the above test results show that the system in the process of operating speed, friendly interface, the scope have reached the desired effect. There are still some deficiencies in the system, which can be further analyzed andimproved. For example, the user’s registration function, to achieve docking with QQ or We Chat, you can provide a better user experience. |