BOOMKIT, a TypeScript Game Library

The fun and open source game library for HTML5 Games

๐Ÿ‘‹ Hey! State of BOOMKIT #1 is out! Check out the latest features and the Jam results!

BOOMKIT (/หˆbuหm.kษชt/) is a JavaScript and TypeScript game library that makes it easy to create games for the web. It's free, open-source and fun.

Press Space to jump!

An enjoyable API
based on blocks

BOOMKIT is a lot of fun to use and easy to learn. It was uniquely designed with blocks and functions to make it intuitive and engaging. Just take a look at the examples below and experience it for yourself!

Start game

boomkit({
  background: "darkSalmon",
  debug: true,
  burp: true,
  // and more useful opts, like burp is
});

debug.log("Press (B) button to burp!");

Add an object

const bomb = add([
  sprite("bomb"),
  pos(center()),
  health(5),
  body(), // adds physics
  area(), // adds collisions
]);

Kill destroy an object

setGravity(1000);
bomb.jump();
bomb.onCollide("spikes", () => {
  bomb.hurt(5);
  bomb.destroy();
  shake(5);
  flash("#cc425e", 0.2);
});

Add custom components

// returns an object
const spillTheBombs = (count) => ({
  id: "chaos",
  add() { /* code */ },
});

add([
  spillTheBombs(30),
  // adds chaos :O
]);

Say goodbye

const bubble = add([
  anchor("center"),
  pos(center()),
  rect(400, 100, { radius: 8 }),
  outline(4, BLACK),
]);

bubble.add([
  anchor("center"),
  text("ohhi, I mean.. oh bye!", { size: 26 }),
  color(BLACK),
]);

Plus many more simple and fun to use methods and functions

No more long nested methods like obj.position.transform.translate(10, 20)

Voices of
BOOMKITers

Don't just take our word for it, see what our users say about BOOMKIT! We're proud to have such a great community. Join our Discord to be a part of it!

BOOMKIT API is incredibly intuitive and easy to read. I love how it combines simplicity with power, it's a truly innovative library that brings HTML5 games to life!
@pixeldev
Indie game developer
BOOMKIT is the best framework to teach programming and create fast and furious video games. My students ship a game in their very first lesson!
@indiegamecoach
Game Design Teacher
BOOMKIT has a very intuitive and easy to use API that makes gamedev a breeze compared to other alternatives.
@jscreator
JavaScript content creator
We rebuilt our prototype in one afternoon with BOOMKIT. The blocks API just clicks โ€” our whole team got it instantly.
@ghostshq
Representative of the Ghosts community