Skip to content
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

Web port #189

Open
rollerozxa opened this issue Mar 9, 2025 · 0 comments
Open

Web port #189

rollerozxa opened this issue Mar 9, 2025 · 0 comments

Comments

@rollerozxa
Copy link
Collaborator

Getting a version of Principia playable in a web browser would be very cool. While the full sandbox experience likely will not work, one usecase would be to directly play a level from the community site from any device, and having the basic play experience figured out would be a good goal.

Currently the game compiles with emscripten and gets to the menu, but crashes when trying to go in-game due to GL errors. WebGL is some form of OpenGL ES which we do support but seem to have some quirks to them.

There is also likely going to be some issues with communicating with the community site. cURL does not support Emscripten, and looking at how minetest-wasm does it they have some shims and run some kind of proxy to forward requests.

I have a folder with buildscripts for building the necessary dependencies for the game with Emscripten which I can push to a repo if anyone is interested in picking this up.

The Dear Imgui dialog backend would also be useful for this.

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

No branches or pull requests

1 participant