• General Chat
  • Can a Godot app exported to HTML5 be used as a server?

I'm working on a multi-player game and need a scaled-down remote server during development. Just wondering if it is possible (feasible) to build a minimal server in gdscript and export to HTML5 app which will be hosted on a shared hosting service?

Has anyone tried this? I don't want to put a lot of work into something that won't work.

Thanks in advance!

Export, which will require a package to be downloaded. Then export the game using the HTML5 option. Then upload to your FTP and go to your Index Page.

Or Locally Host it using your IDE. Install NPM. Then use the command npm run. If that doesn't work then search it in your browser. You now have to go to localhost:\\. It will now work.

Thanks for your response. After a lot of research I've found what I want to do is not possible. I'm now looking at other options such as Nakama or rolling my own server using PHP, Ruby, or Node.js. For now I'll just run a simple GDScript server app on another PC on my local network.

My biggest challenge is getting Godot to talk to a database since there is no built-in support for it. That makes a server written in GDScript pretty much useless for a full scale roll-out of my game.