Nth Permutation Mathematics
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

This package has been deprecated

Author message:

Renamed to splatjs

splat2d

0.1.0 • Public • Published

Splat

A 2d HTML5 Canvas game engine

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

Features

  • Retangles!
  • 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

Supported Platforms

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

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

Download a standalone Splat.js:

Install through NPM

$ npm install --save splat2d

Then require Splat into your game:

var Splat = require("splat");

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

Games using Splat

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

Install

npm i splat2d

DownloadsWeekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • avatar