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. [email protected].
Check the branch tree for Cocos2d-x 3.0 support.
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).