BOOMKIT, a TypeScript Game Library
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!
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!
boomkit({
background: "darkSalmon",
debug: true,
burp: true,
// and more useful opts, like burp is
});
debug.log("Press (B) button to burp!");
const bomb = add([
sprite("bomb"),
pos(center()),
health(5),
body(), // adds physics
area(), // adds collisions
]);
setGravity(1000);
bomb.jump();
bomb.onCollide("spikes", () => {
bomb.hurt(5);
bomb.destroy();
shake(5);
flash("#cc425e", 0.2);
});
// returns an object
const spillTheBombs = (count) => ({
id: "chaos",
add() { /* code */ },
});
add([
spillTheBombs(30),
// adds chaos :O
]);
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),
]);
No more long nested methods like obj.position.transform.translate(10, 20)
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!
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!
BOOMKIT has a very intuitive and easy to use API that makes gamedev a breeze compared to other alternatives.
We rebuilt our prototype in one afternoon with BOOMKIT. The blocks API just clicks — our whole team got it instantly.
BOOMKIT is the result of a great community effort. You can support us, too, by contributing or donating.