Skip to content
Sign upLog in

KaBoom.js Alpha Release!!!

Profile icon

UPDATE: Kaboom.js is officially out right now:


Video game, beautiful thing, so much fun. Games should be fun of course, but game making itself should also be fun, it should be a game on its own! We here at replit are imagining a fun collaberative game programming environment that makes game programming fun again, and here's our first step: KaBoom.js, a JavaScript game library that enables everyone to start making a small game from scratch in an instant!

This is a community alpha release, features and docs are not fully stable yet, we really want to hear everyone's opinions, any suggestions or bug reports please comment below!

try out in the template repl

let's start making that game!

You are viewing a single comment. View All
Profile icon

possibly because text is the name of the built in function, if you name it to something else it should work? also you can update the text value by changing its text field like this:

const score = text("score: 0", { value: 0, // a custom field for storing the score number }); bye("enemy", () => { score.value++; score.text = `score: ${score.value}`; // modify the 'text' field to update visually });

forgot to put that into doc, doing that now