I would like to create a real-time cross-platform online multiplayer game, but with an emphasis on mobile. Is there any official Defold tutorial?
Yes, it is possible. Check out
I mentored an intern here at King a couple of weeks ago and he wanted to play around with a real time multiplayer game in Defold. This got me into researching different solutions and while there are professional solutions such as PhotoStorm, Gamelift and similar I wanted something simpler for a small project. Luckily I came across a Lua and Node.js multiplayer solution called NoobHub which was super easy to setup and use. It has support for Corona, LÖVE and Moai (and all based on LuaScokets) so it was trivial to create a Defold implementation as well. I have the Defold implementation on a fork of NoobHub.
NoobHub is barebones but I believe it’s enough to build upon if you want something more advanced. The creator of NoobHub has a test server up and running that you can use, but it shouldn’t be hard to setup your own as well on an Amazon EC2 free tier instance.