jetpack-game

command module
v0.0.0-...-d342830 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 23 Imported by: 0

README

Jetpack game

Jetpack game banner

A simple game to learn Go and Ebitengine.

THIS APPLICATION IS UNDER ACTIVE DEVELOPMENT, BUT STILL CONSIDERED BETA

Github repository

Technologies

Go Ebitengine Bfxr Inkscape Piskel Blender

Screenshots

jet pack game 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"
    },
  },

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL