1. Relationship between pomelo projects on GitHub 1. the pomelo project pomelo is a game server framework that allows you to create server-side projects. 2. The chatofpomelo-websocket project chatofpomelo-websocket is a server project created by the pomelo Server framework. This project with pomelo-cocos2dc
1. Relationship between pomelo projects on GitHub 1. the pomelo project pomelo is a game server framework that allows you to create server-side projects. 2. The chatofpomelo-websocket project chatofpomelo-websocket is a server project created by the pomelo Server framework. This project with pomelo-cocos2dc
I. Relationship between pomelo projects on GitHub
1. pomelo Project
The pomelo Project isGame server framework, You can use it to createServer Project.
2. chatofpomelo-websocket Project
The chatofpomelo-websocket Project is a server project created by the pomelo Server framework. This project, along with the pomelo-cocos2dchat project, implements a simple chat room function.
3. pomelo-cocos2dchat Project
This project was created by the Cocos2d-x Game EngineClient Project. This project matches the chatofpomelo-websocket project on the client and server.
4. libpomelo Project
This project is actually a third-party library, the Cocos2d-x project to communicate with the pomelo-based server, it needs the support of this third-party library.
2. Implementation Process of mobile online games
Mobile Online Game implementation flowchart
A mobile network game consists of two parts: the client and the server. The client and the server can communicate through a websocket interface, for example.
The Cocos2d-x engine provides a template for creating a Cocos2d-x project. After adding necessary library files to a new project, you can get the client program for the game by implementing code on the project.
The same is true for server programs. The pomelo framework provides templates for pomelo projects. After creating a pomelo project, you can implement the code on the server side. Start the server and then start the client to run the game.
Pomelo and Cocos2d-JS Development Environment Construction
Solution for connecting libpomelo to the Cocos2d-x on Mac
Cocos2d-js native web configuration under v3.0-rc0
Teach you how to add the pomelo client component libpomelo to the Cocos2d-x 3.0 Project (Windows, Android, iOS platform)
Source: http://www.cnblogs.com/tangyikejun/p/3981042.html