(Press SPACE to start)

This is the demo game for 2B2D, my home-grown game engine.

2B2D is a very simple 2D-only game engine heavily inspired by Bevy, written in Typescript, rendered in WebGPU, with no dependencies.

But really, it was my attempt to answer the question, "what does it take to make a very basic game engine from scratch." It's an academic exercise which is likely of little to no practical use.

More information about 2B2D can be found on github: https://github.com/mrdrbob/2b2d

Controls

  • Use A and D to move left and right respectively.
  • Space to jump!
  • Space to start the game from the menu.
  • (Sorry, no controller support yet)

Warning

This game is rendered via WebGPU, which is not available or enabled in all browsers. It appears to work in the latest versions of Chrome and Edge.

This engine / game is an academic exercise and has bugs and rough edges. For example, the main menu music sometimes doubles up. This is mostly just a proof-of-concept.

---

Graphic assets used in the example game (platform-bg-tiles.pngplatform-characters.png, and platform-tiles.png) are from the Pixel Platformer asset collection by Kenny. License: Creative Commons Zero, CC0.

Development log

Leave a comment

Log in with itch.io to leave a comment.