Multiplayer Game with Defold and PlayFab

Hi,this is my first post here so I would like to thanks Defold Team for their efforts.
So this is my first time trying to make a game, I settled on a mobile board game. I now know my way around Defold, the game now is actually playable on mobile but only if someone likes to play against themselves :frowning:.
So I wanted to turn it into multiplayer, compared the options and settled on PlayFab and an author authorative server design, because of the Free Tier, I wrote the game logic in Lua and organized the code with the help of the XOXO Nakama tutorial, but I found that PlayFab only C++,C# and Java for the game server.
So my question is how can I communicate between a Defold Client (Lua) and a game server written in one of these languages.
Thanks :smiley:

I’m not very familiar with the custom game server logic in PlayFab, but I believe they use something called CloudScript, which basically is JavaScript running on the server:

For Nakama you can indeed use Lua, TypeScript or Go. You can set up a local Nakama server while developing your game and then move to some cheap hosting of your Nakama game server once you are ready to invite external testers.

2 Likes