Skip to content

Koebiten is a 2D game engine that runs on TinyGo. It’s inspired by Ebitengine and is characterized by its simple API.

License

Notifications You must be signed in to change notification settings

sago35/koebiten

Repository files navigation

koebiten

The API is not yet fixed.

Koebiten is a package for making simple games. Koebiten was heavily influenced by a package called Miniten when development began. Since then, additional features have been inspired by Miniten's foundation, Ebitengine.

games/flappygopher

For now, koebiten only works on zero-kb02 and macropad-rp2040. It needs some improvements to run in a more general environment.

$ tinygo flash --target ./targets/zero-kb02.json --size short ./games/flappygopher
$ tinygo flash --target gopher-badge --size short ./games/flappygopher

games/jumpingopher

$ tinygo flash --target ./targets/zero-kb02.json --size short ./games/jumpingopher
$ tinygo flash --target gopher-badge --size short ./games/jumpingopher

more info : ./games/jumpingopher

Others

The other games are located under ./games.

Refer to the Makefile for instructions on how to build.

hardware

The currently supported hardware is as follows.

Add new hardware

When adding new hardware, please refer to #7. If the hardware you're adding is not a simple, off-the-shelf product like zero-kb02, you'll need a build tag such as go:build zero_kb02. For more details, see #8.

Tags

koebiten_benchmark

If you specify the koebiten_benchmark tag, it will display the time taken to render 32 frames every 32 frames in microseconds (us). If the processing is light enough, the displayed value should be around 1024us. If this value becomes significantly larger, it indicates that the frame rate is unstable.

$ tinygo flash --target ./targets/zero-kb02.json --size short --tags koebiten_benchmark ./games/flappygopher

link

About

Koebiten is a 2D game engine that runs on TinyGo. It’s inspired by Ebitengine and is characterized by its simple API.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •