JohnathonNow / kaboom

JavaScript game library

Home Page:https://kaboomjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

kaboom.js is a JavaScript library that helps you make games fast and fun!

doc

Example

<script src="https://kaboomjs.com/lib/0.1.0/kaboom.js"></script>
<script type="module">

// make kaboom functions global
kaboom.global();

// init kaboom context
init();

// define a scene
scene("main", () => {

	// add a text at position (100, 100)
	add([
		text("ohhimark", 32),
		pos(100, 100),
	]);

});

// start the game
start("main");

</script>

Dev

use examples to test / add features

  1. npm run site
  2. go to http://localhost:8000/examples
  3. edit examples in site/pub/examples/

About

JavaScript game library

https://kaboomjs.com

License:Other


Languages

Language:JavaScript 98.7%Language:CSS 1.3%