🙋♂️ Made by @olso_uznebolo, olso.space
Works with Chrome for Android! Thank you @twifkak
Demo at https://olso.space/go-wasm-cat-game-on-canvas/index.html
Companion codebase to article https://medium.com/@martinolsansky/webassembly-with-golang-is-fun-b243c0e34f02
Docker or local Go 1.12-rc
docker build .
twifkak's golang fork
make build_go
to build with Go compiler; produces megabytes version 😿
make build_twifkak
to build with golang fork which makes it work on Chrome+Android
make serve
to run static http server
https://twitter.com/olso_uznebolo
- WebAssembly is not enabled in iOS Simulator
- I had to use twifkak's Golang fork to instantiate in on phone, default Golang Wasm currently allocates too much memory
- For some reason, there is an
Audio
play()
delay on Android