C++ Client Library Release for Nakama
To ring in Q1 of 2019, we’re releasing a new C++ client library for Nakama. This new library allows you to fully take advantage of the flexibility of Nakama, and implements the full API and socket options.
With Nakama you have unparalleled flexibility to build the game of your dreams, features include:
- Client-authoritative and server-authoritative gameplay.
- Complex matchmaking.
- Tournaments / leaderboards.
- Friends and clans.
- Social login.
- Customise and override server behaviour using Lua or Go Plugins.
- User accounts and storage.
And more which allows you to build anything from a Clash Royale, to a Fortnite, Hearthstone, Poker, etc.
As with all of our client libraries, it is fully open-source and we welcome contributions from the community. The library has been designed to be a generic C++ client to allow all engines to be integrated with it and is compiled with C++11. You can build from source, but we also make releases available for those wanting to integrate immediately.
The releases are available on GitHub to download for the following platforms:
- Windows x86, x86_64 (32bit and 64bit)
- Android 4.1 and later.
- Linux (Ubuntu 14.04)
- MacOS High Sierra or later.
- iOS 5.0 or later.
We’ve built this library to enable developers to integrate Nakama into any C++ project as the base design uses the most generic C++ libraries to ensure compatibility with new and existing build systems.
Similarly to our .NET client (which is used in our Unity Client), this library will be the basis for our upcoming client libraries for Unreal 4 Engine, as well as Cocos2d-x.
You can use the library with Godot engine via an interaction with GDScripts. Or alternatively use the .NET Client with the C# support built into Godot.
Below we’ve included some code samples on how to get started with the new library including authentication, RPC functions, using the real-time components, and storage APIs. You can find the full client guide here.
At Heroic Labs our goal is to democratise game development on a scalable level, with the core server of Nakama being open-source, as well as all of our related client libraries, this gives you as the developer the power to build your dream games without lock-in.
Members of our team will be attending GDC in San Francisco, Quo Vadis in Berlin, and Reboot Develop in Dubrovnik over the next few months.