Social Infrastructure At Scale

C++ Client Library Release for Nakama

Alim

Alim Jaffer

12 Mar 2019

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:

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:

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. If you’d like to arrange a meeting, please feel free to reach out!