Comments (4)
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.
from raylib-go.
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)
from raylib-go.
It think it is currently not possible to compile for the web with raylib-go. Have a look at these issues for more information:
from raylib-go.
Appreciate all the replies you saved me a ton, thanks! I'll close this issue for now.
from raylib-go.
Related Issues (20)
- cgo-builtin-prolog:1: stddef.h: No such file or directory HOT 3
- `<nil>` body from `physics.GetBodies()` HOT 4
- `raygui` TextBox textsize property has no effect HOT 1
- Inconsistency in Return Type of ExportImage Function in raylib-go HOT 1
- Request to Expose Additional Compute Shader and SSBO Management Functions in raylib-go HOT 4
- Question (not issue) - Should there not be a link to the Raylib Discord in the Readme? HOT 1
- Try to use raylib gui but go fail to buid HOT 4
- `raygui.TextBox()` does not update text HOT 1
- `raygui.TextBox()` space character not working properly HOT 1
- Android build failing, undefined symbol: internal_storage_path & asset_manager HOT 6
- [IMPORTANT] GLFW error and wrong (0,0) position HOT 11
- WASM HOT 1
- Building for Android arm64 HOT 2
- Intermittent SIGBUS: bus error When uploading a custom mesh to gpu HOT 1
- log android HOT 2
- how get jni acces? HOT 9
- cannot locate symbol "internal_storage_path" HOT 12
- Dear IMGUI support HOT 1
- 2 or 3 second build times? HOT 2
- Misleading use of color type RGBA. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raylib-go.