Skip to content

Feature request: Containerization or web version #15

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

Open
gromenauer opened this issue Feb 7, 2021 · 6 comments
Open

Feature request: Containerization or web version #15

gromenauer opened this issue Feb 7, 2021 · 6 comments

Comments

@gromenauer
Copy link

Please add some containerization isolation (docker, snap, flatpack, ...) or publish it in web, the game seems fantastic but downloading a binary from the internet is a little harsh nowadays.

@blinry
Copy link
Member

blinry commented Feb 9, 2021

Having a web version would be really neat! The Shell class encapsulates how interaction with the game environment works, and it seems feasible to extend this with some kind of virtualized Javascript environment. People at FOSDEM suggested to have a look at wasm-git.

We'll probably not get to this soon, but if there's anyone motivated to try this, we'd love that!

@blinry blinry changed the title Feature request: Containerization Feature request: Containerization or web version Feb 9, 2021
@olberger
Copy link

One blocker is the availability of git commands underneath AFAIU, but I think this could be feasable with some Linux in the browser, that would run both git and the godot runtime. I think @blinry mentioned that in the FOSDEM video.

You may have a look at https://codecast.wp.imt.fr/weblinux-2/ which embeds Linux and GCC in a browser. I expect Git to operate similarly to GCC in such a context.

I haven't myself played with wasm enough to judge, but this seems possible.

@AnomalRoil
Copy link

AnomalRoil commented Mar 19, 2021

Have you tried exporting from Godot to an HTML5 game already?
https://docs.godotengine.org/en/stable/getting_started/workflow/export/exporting_for_web.html

Last time I used Godot it was one of the default export option.
But granted if you are using stuff at the OS level it might complicate things.

But if that works, then adding that on itch.io is a breeze: https://itch.io/docs/creators/html5

@MoralCode
Copy link

MoralCode commented Jan 29, 2024

Have you tried exporting from Godot to an HTML5 game already

Just tried this and it seems like, after exporting the game to HTML and using a browser with webGL and everything else, the game loads, but the main menu buttons have no text in them and inspect element has errors saying ERROR: Unimplemented OS: HTML5, so it seems like it may not be that straightforward

@MoralCode
Copy link

MoralCode commented Jan 13, 2025

#197 is related to this

Also #44

@MoralCode
Copy link

Just tried this and it seems like, after exporting the game to HTML and using a browser with webGL and everything else, the game loads, but the main menu buttons have no text in them and inspect element has errors saying ERROR: Unimplemented OS: HTML5, so it seems like it may not be that straightforward

retried this with some patches i lifted from the godot4 branch and was able to get the levels menu to load, but buttons like toggle music didnt work, and it seems like the code implementing the web "OS" from that patch isn't complete and there doesnt seem to be a simple way forward since the web is a different paradigm, so things like storing scores, and running subprocesses may need retooling just to work on the web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants