Web based game with Defold. Loading tile properties from database?

Hi. I’m developing a strategy game with Phaser and it’s in the early stages of UI (been working on the world generation which is made in the back end with Go). The thing is the game is Web mainly and loads the world tile map from a database, along with the pre-rendered map from the static file server.

Is this doable with Defold? Phaser is JS based which I hate but it’s one of the languages you have to at least have basic knowledge nowadays to make some web dev, so I can interface easily with the database in a server, dont see the same from Defold.

Thanks.

Defold supports websocket and http which you can use to get map data from your server. if you need custom js code on your html5 game, you can run js in defold using html5.run() too.

1 Like

Yes it is!

Defold supports setting each tile in a tilemap during runtime.

See here: https://defold.com/ref/stable/tilemap/