Firstly, I’d like to thank you for develop/support Defold, it is just brilliant. I am currently starting a new project with some requirements. My team is looking forward to use Defold and we are not too sure if it is possible. Our needs:
Use Github.
Use web services
Databases
Use some tools from A.I., such as recommender systems and pattern recognition. Can we use lua libraries just like we do in traditional lua programs? As for example, Torch.
Can we create (and manage) user accounts using facebook and keep their information in every platform the game runs? Can the users share their achievement with their friends and even play together?
Hello @Euclides_Neto! I’m glad to hear that you are considering Defold for your next project! I’ll try and answer your questions one by one:
Yes. Defold uses Git, but we currently host the code on our own server. But you can set another remote and point that to your GitHub repo instead and work from the command line or an external Git tool when you manage your version controlled code.
Yes. In Defold you can use HTTP/HTTPS via the http module. Defold also includes LuaSocket. With LuaSocket you can easily create UDP and TCP sockets and there are Lua modules built on top of LuaSocket to create SMTP, FTP and HTTP connections.
You want to manipulate a database directly from Lua? If so, then yes if there’s a pure Lua implementation for accessing the specific type of database you need.
Yes, if there’s a pure Lua module for it. You can load any Lua module using require().
I’m not 100% sure I understand what you’re asking. There’s a Facebook module in Defold. The Facebook module is available in mobile and HTML builds. You can use it to sign in a user, request permissions, show dialogs and get the access token to work with Facebook’s Graph API.