Ninjas Practicing Multidimensionality
Miss any of our Open RFC calls?Watch the recordings here! »

splatjs

0.0.0 • Public • Published

SplatJS

A 2d HTML5 Canvas game engine

SplatJS is a 2d game engine made for creating multi-platform games entirely in JavaScript.

Features

  • Rectangles!
  • Keyboard, mouse, and touch input
  • Sounds and music (Web Audio API and HTML5 Audio)
  • Sprite animation
  • Asset loading, and built-in loading screen
  • Games work well on phones, tablets, and desktop browsers.
  • A* Pathfinding
  • Particles

Supported Platforms

  • Chrome (desktop & mobile)
  • Firefox
  • Internet Explorer (desktop & mobile)
  • Safari (desktop & mobile)
  • iOS using Ejecta
  • Chrome Web Store

SplatJS works in PhoneGap/Cordova, but it seems like the apps it produces lack hardware acceleration, making games unplayable.

Install through NPM

$ npm install --save splat

Then require SplatJS into your game:

var Splat = require("splat-ecs");

Then use browserify to bundle your game as a single JavaScript file for the browser.

Games using SplatJS

Send a pull request to add your game to the list!

Install

npm i splatjs

DownloadsWeekly Downloads

10

Version

0.0.0

License

MIT

Last publish

Collaborators

  • avatar