Support for integration with server logic?

Hi. I just learned about Defold and am considering the switch, so I was poking around trying to figure out what is possible with the product in its current form. One thing I can’t find a good answer for is how a game made with Defold would communicate with a backend service (something similar to GameSparks, Gamedonia, or if it came to it, Windows Azure for mobile). These days it seems like most games rely on some degree of backend server logic, especially those with any degree of multiplayer capability - how would a developer working with Defold achieve this? Can we write direct http requests to web services? Or is there something more elegant built in?

1 Like

Yes, Defold has a method for making an http request:

Defold also includes luasocket, a library which should allow for some more advanced networking should the need arise.

Good luck!

2 Likes

Hello, Paul Gilmore from PlayFab here. We are a backend solution and we’ve recently partnered up with Defold to provide a top notch backend integration for Defold.

Check out our repo and instructions here:


We’ll be posting a more thorough getting-started guide very soon.

I could talk a lot about all the PlayFab features, but honestly I feel like the Defold forums will convince you better than I can. Just do a search on the forums right here at Defold, and check out the posts about us.

I’m particularly fond of this one:

4 Likes

PlayFab will be my first choice if I ever do a connected game on my own. The API was a joy to work with when I created the PlayFab example project.

3 Likes