Code Monkey home page Code Monkey logo

escape-the-punch's Introduction

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:

  1. Mark
  2. 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.

  1. The Kaboom docs. This is gonna be your primary source of information while learning.
  2. The Kaboom Playground. This has a whole bunch of examples to learn the basics of Kaboom.
  3. Intro to Kaboom. This is a tutorial by Kaboom for beginners on remaking the chrome dinosaur game in Kaboom.
  4. Project Based Tutorials on Kaboom. These are some tutorials that teach you how to make full projects in Kaboom.

escape-the-punch's People

Contributors

not-johncena avatar vulcanwm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.