3 ms·
Beautiful game, thanks for sharing. Koblas's comment caught my eye and I will definitely be poking around the github actions code to learn how to compile Golang
by NortySpock 4y ago
Beautiful game, thanks for sharing. Koblas's comment caught my eye and I will definitely be poking around the github actions code to learn how to compile Golang to WASM.
- m110 4y agoThank you! Go makes it ridiculously easy: GOOS=js GOARCH=wasm go build -o web/game.wasm
- arriu 4y agoThis is true but the rendering engine has done the heavy lifting to map calls to the gpu correctly. More build info here: https://ebitengine.org/en/documents/webassembly.html https://ebitengine.org/en/documents/webassembly.html