Welcome!
I've been interested in development with Kaboom JS Recently so I decided to make a template for starting a Kaboom project with VSCode It's nothing too fancy but it's enough to get you started on your Kaboom journey!
Getting started
To get started, all your gonna need is NodeJS. After you install it, just clone this repository anywhere you want and run this in your terminal:
npm run dev
Then, go to Localhost:800 and your game should appear. Magic!
Now you can edit main.ts and get to work! Remember to eventually edit the title in index.html.
Adding images
I've added a couple started images but you can't make a game with only those. To add an image, either open up the folder in the file explorer, or in the VSCode explorer, and drop your images in www/sprites. And then an example of loading images would be,
loadSprite("mark", "sprites/mark.png");
The sprites I've included are:
- Mark
- Bean
Everything else
I'm not gonna sit here and talk about everything built into Kaboom. But I am gonna send you some links for happy learning.
- The Kaboom docs. This is gonna be your primary source of information while learning.
- The Kaboom Playground. This has a whole bunch of examples to learn the basics of Kaboom.
- Intro to Kaboom. This is a tutorial by Kaboom for beginners on remaking the chrome dinosaur game in Kaboom.
- Project Based Tutorials on Kaboom. These are some tutorials that teach you how to make full projects in Kaboom.