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

What would I need to do to compile for the web? #69

Closed
jakelacey2012 opened this issue Jan 6, 2019 · 4 comments
Closed

What would I need to do to compile for the web? #69

jakelacey2012 opened this issue Jan 6, 2019 · 4 comments

Comments

@jakelacey2012
Copy link

Silly question but I've really only just seen raylib and it looks great I'm just wondering specifically for go, how would I get it compiling for the web?

@raysan5
Copy link

raysan5 commented Jan 6, 2019

Not sure if it could help for raylib-go but raylib Wiki includes some information on Web compilation: https://github.com/raysan5/raylib/wiki/Working-for-Web-(HTML5)

@dbriemann
Copy link

It think it is currently not possible to compile for the web with raylib-go. Have a look at these issues for more information:

#22
#28

@gen2brain
Copy link
Owner

It is not possible to build for web. Raylib uses emscripten for that, in Go there is an option with GopherJS and WASM but that works only with "pure" Go, not with C code. With JS bindings for raylib, i.e. bindings created with embind from emscripten something can probably be done, with GopherJS/WASM wrapper for that bindings, but currently not possible.

@jakelacey2012
Copy link
Author

Appreciate all the replies you saved me a ton, thanks! I'll close this issue for now.

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

4 participants