I’m Mo from Heroic Labs, we’ve had a lot of demand of late to provide an open-source client library for Cocos2d-x from the community to integrate with Nakama. I’m very pleased to announce a new generic C++ client as well as a bespoke Cocos2d-x C++ client library. You can find it open-sourced on GitHub and our documentation here.
For those who aren’t familiar with Nakama, it is an open-source server designed to power realtime and turn-based games of all types. Some of the features include:
- Client-authoritative and server-authoritative multiplayer.
- Complex matchmaking.
- Tournaments / Leaderboards.
- Friends and clans.
- Social login.
- Customise and override server behaviour using Lua or Go Plugins.
- User accounts and storage.
And many more features to build a Clash Royale, Poker, Fortnite, Candy Crush, etc.
The server itself is fully open-source and we welcome any and all contributions! We have games running on Nakama that exceed over 30 billion API calls per month with some of our partner studios. The goal of Nakama has always been to democratise game development so that teams of any size, including indie developers or AAA studios can build their dream games without worrying about scalability and reliability on the backend.
Please feel free to ask any questions you have regarding the Cocos integration here, or join our public community channel in Gitter where fellow developers and our Nakama engineers hang out to answer questions and chat best practices.
We’ll also be at GDC next week, as well as Quo Vadis in Berlin and Reboot Conference in Dubrovnik in April. If you’d like to meet up with us, feel free to drop me a message and we can find some time