Pomelo Server framework for Cocos2d-x

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.