-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to make the Editor as PWA? #70
Comments
Hi @NickChowHK I think the stronger feature of PWA is that the editor can work offline. But it is not possible right now, especially when you run the game for testing it. We can do offline stuff with the editor, but the game will run as a normal Phaser game, requesting files from the server. Right now I don't have in mind any solution about it, maybe it is possible, we should work on it. However, in the meantime, to get a more desktop-like experience you can do the following:
|
What we have in mind is to create a version of the editor that runs inside Electron. But we should think more about it. |
Thanks for your prompt reply. Your solution works fine for me already. |
I was thinking more about this issue with PWA and I think we can have a fully PWA offline version of the editor. So users can download the project as a zip file or save it in something like dropbox or drive. It is another option to run the editor. Web technology is so flexible! I will keep this issue open. Thanks. |
@NickChowHK I keep thinking on this and I am exciting about the Native Filesystem API. I think I will create a complete PWA version of the editor that is hosted in our servers but can be used to build projects stored locally, in the user system. |
As captioned, the editor is fully web-based now. It would get many benefits from the PWA way, such as more portable, open directly from Icon, and update easily. Will it? I am new to PWA and no idea how difficult to achieve this.
Does it need the native-file-system to be achieved?
https://web.dev/native-file-system/
The text was updated successfully, but these errors were encountered: