Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Classes
Resources
proj.android
proj.ios_mac
proj.linux
proj.win32
.cocos-project.json
.gitignore
CMakeLists.txt
LICENSE
README.md

README.md

Nakama Cocos2d-x Client Example

Nakama Cocos2d-x client example for Nakama server 2.x.

Nakama is an open-source distributed server for social and realtime games. For more information have a look at the server documentation.

If you encounter any issues with the server you can generate diagnostics for us with nakama doctor. Send these to support@heroiclabs.com or open an issue.

Getting Started

Prerequisites

To build example, you will need the following:

  1. Cocos2d-x Engine 3.17 or greater.
  2. Nakama Cocos2d-x C++ SDK
  3. A compiler for the platform you are developing on, such as Visual Studio on Windows or XCode on OSX.

Supported platforms

Windows, Android, iOS, Mac, Linux

Setup

You'll need to copy the Nakama C++ SDK and cocos2d files you downloaded into the appropriate place. To do this:

  1. Copy cocos2d-x engine folder to example/cocos2d
  2. Copy the nakama-cocos2d-x-sdk folder from the Nakama Cocos2d C++ release you downloaded, to example/nakama-cocos2d-x-sdk.

Folder structure should be as following:

example/
   cocos2d/
   nakama-cocos2d-x-sdk/

Nakama Cocos2d-x Client guide

You can find Nakama Cocos2d-x Client guide here.

License

This project is licensed under the Apache-2 License.

Special Thanks

Thanks to @dimon4eg for this excellent support on developing Nakama C++, Cocos2d-x and Unreal client libraries.

You can’t perform that action at this time.