When Godot comes to the web on PC and Mobile, will the site be able to be used offline through a browser like Construct?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By HammerFox

I would be fine with paying the 100 every year for Construct 3, but I really want to use an engine that is as flexible as I may need (with 3D support for later) and can be used with C++, as that’s my favorite language. Construct 3 with its JS scripting looks alright, and I love the fact that it’s usable across any device. Being able to use it offline even on my phone is really impressive! I’d love the same for Godot. If anyone on the team sees this, thank you for looking!

Could you please elaborate on what you’re talking about?

Ertain | 2019-08-04 23:16

There is going to be a web based version of Godot. Part of the Mozzila grant was getting the editor working in browsers.

HammerFox | 2019-08-04 23:19

:bust_in_silhouette: Reply From: Calinou

Note: Work on porting the Godot editor to WebAssembly hasn’t started yet, this is just speculation based on my experience as a Web developer.

This can technically be achieved by registering a Service Worker. However, there are file size limits imposed for each origin, which are calculated automatically by the Web browser (usually depending on how actively you use the data). Since the Godot editor will likely be a large WebAssembly module, this could cause the offline data to be removed quite fast.

This may be workable around if the Godot editor can be installed as a progressive Web app. Since there’s an explicit intent from the user to keep the app installed, it likely won’t be removed from the cache automatically. Mobile browsers have been offering this feature for a while, and desktop browsers like Chrome are starting to adopt it.

Thanks for the response!

HammerFox | 2019-08-08 21:28