Space Jump is a Nextpeer-Cocos2dx sample project
C++ C JavaScript Lua Objective-C Objective-C++ Other

README.md

Nextpeer-Cocos2dx-Sample

Nextpeer is the easiest way to play with your friends on mobile devices. Get the SDK and start challenging the world.

Get started by going to our guide. The sample code is submodeling Nextpeer's Cocos2d-X plugin.

Feel free to contact us on any question. support@nextpeer.com.

Check the branch tree for Cocos2d-x 3.0 support.

Trying it out

Pull the sample and its submodules from GitHub:

`git clone --recursive https://github.com/Nextpeer/Nextpeer-Cocos2dx-Sample.git`

Android port

In order to test the Android project, you'll be have to set the C++ build enviroment variables to the right location. Right click on the project "NextpeerSample" -> Properties -> C/C++ Build -> Environment. Make sure each variable points to the right path (such as NDK_ROOT, ANDROID_SDK_ROOT and so on).