A simple game to learn Go and Ebitengine.
https://darellanodev.github.io/tryitonline/jetpack/index.html
Execute with ./run_build_web.sh It would generate jetpackgame.wasm and wasm_exec.js inside build_web folder
After building for web, use a web server like XAMPP or Live Server extension in VSCode ./build_web/index.html
- All resources are embedded into the wasm file. The browser must wait to load the entire wasm file. For that, the game can not have a preloading inside wasm.
Execute run.sh or go run . command
Execute run_tests.sh or go test command
Check out the contribution guidelines here.
You can use this settings into VSCode keybindings.json:
{
"key": "ctrl+t",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "./run_tests.sh\u000D"
},
},
{
"key": "ctrl+r",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "./run.sh\u000D"
},
},
