{"repo":"heroiclabs/nakama-defold","free":true,"listed":false,"github":"https://github.com/heroiclabs/nakama-defold","clone":"git clone https://github.com/heroiclabs/nakama-defold.git","description":"Nakama Defold Client SDK","language":"Lua","stars":103,"topics":["lua","defold","defold-module","chat","multiplayer","nakama-server","backend","client","game","nakama"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"Nakama Lua client for Nakama server written in Lua 5.1. Nakama is an open-source server designed to power modern games and apps. Features include user accounts, chat, social, matchmaker, realtime multiplayer, and much more. This client implements the full API and socket options with the server. It's written in Lua 5.1 to be compatible with Lua based game engines. Full documentation is available here. Getting Started You'll need to setup the server and database before you can connect with the client. The simplest way is to use Docker but have a look at the server documentation for other options. 1. Install and run the servers. Follow these instructions. 2. Add the client to your project. In Defold projects you need to add the URL of a stable release or the latest development version as a library dependency to game.project . The client will now show up in nakama folder in your project. 3. Add dependencies to your project. In Defold projects you need to add one of the following dependencies to game.project: https://github.com/defold/extension-websocket/archive/2.1.0.zip (Defold version = 1.2.182) 4. Use the connection credentials to initialise the nakama client. 5. (Optional) Nakama uses base64 decoding for session the session tokens and both base64 encoding and decoding of match data. The default base64 encoder and decoder is written in Lua. To increase performance of the base64 encode and decode steps it is possible to use a base64 encoder written in C. In Defold projects you ","default_branch":null,"files":null,"tree":[],"storefront":"/r/heroiclabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/heroiclabs/nakama-defold/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}