Jetpack game
A simple game to learn Go and Ebitengine.
THIS APPLICATION IS UNDER ACTIVE DEVELOPMENT, BUT STILL CONSIDERED BETA
Github repository
Technologies
Screenshots
Try it online
https://darellanodev.github.io/tryitonline/jetpack/index.html
Build for web
Execute with ./run_build_web.sh
It would generate jetpackgame.wasm
and wasm_exec.js
inside build_web folder
Play in web browser
After building for web, use a web server like XAMPP or Live Server extension in VSCode ./build_web/index.html
Notes for web browser
- 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 locally
Execute run.sh
or go run .
command
Execute the unit tests
Execute run_tests.sh
or go test
command
How to contribute
Check out the contribution guidelines here.
Customize keybindings.json in VSCode
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"
},
},