2B2D Example Game
(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.
- Experimental controller support! On an Xbox controller:
- A to jump
- Left analog stick to move.
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. This is mostly just a proof-of-concept.
---
Graphic assets used in the example game (platform-bg-tiles.png
, platform-characters.png
, and platform-tiles.png
) are from the Pixel Platformer
asset collection by Kenny. License: Creative Commons Zero, CC0.
Updated | 26 days ago |
Status | Prototype |
Platforms | HTML5 |
Author | mrdrbob |
Genre | Platformer |
Tags | 2D, Game engine, Pixel Art |
Development log
- Introducing fixed-timestep systems to 2B2D26 days ago
- 2B2D V372 days ago
- Say hello to 2B2DNov 19, 2023
Comments
Log in with itch.io to leave a comment.
wow this is very good bro!! I like the sounds, mechanics/physics, and art work bro!! I was told to sell some of my code as game engine before but chose not to plus i love making my actual game. This seems so cool. whats your plans in the future for this?
My game is Questing 2D Multiplayer Platformer in the making on:
Cyber_Goat - itch.io
done all in hard code without game engine