I've developed an small game for a ONG and we want to host in its web.
All works quite Ok but closing the browser tab when exiting the game. Also I was not able to start the game in fullscreen, but this is another war.
Honestly, we have no idea about webs, html neither java, so we got the godot exported files and put in a subdomain, to directly serving the game.
I've started a local server with python and the behaviour confuse me a lot:
- If I run from the HTML icon in the editor, works perfectly and close the tab.
- If I export to html5 and put the files in the server main directory and type localhost in Firefox, exiting the game doesn't work.
Here you have the temporal game link (Sorry the language, the ONG and myself are from Spain. Last button, "Salir", means quit):
So, should we change something in Godot, or the exported files to have the correct behaviour?
Thanks in advance.