KaBoom.js Alpha Release!!!
h
slmjkdbtl

UPDATE: Kaboom.js is officially out right now: https://replit.com/kaboom

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
doc
guide

let's start making that game!

You are viewing a single comment. View All
slmjkdbtl

@EpicGamer007 That won't because the function cannot keep a reference to a number type, timeBetweenSpawn will only get evaluated once at start, if you want to do this you'll have to use recursive wait like

this is also more flexible cuz you easily decide to stop the timer loop (not call the next wait), with loop there's no way to stop the loop yet (there will be shortly)