A 2d HTML5 Canvas game engine
Splat ECS is a 2d game engine made for creating multi-platform games entirely in JavaScript. Splat ECS is built around the Entity Component System pattern, which is flexible and promotes composition of behaviors.
- Rectangles!
- Keyboard, mouse, touch, & gamepad 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
- Tiled map editor support
- Easing
- Chrome (desktop & mobile)
- Firefox
- Internet Explorer (desktop & mobile)
- Safari (desktop & mobile)
- Mac using Electron
- Linux x64 using Electron
- iOS using Ejecta
- Chrome Web Store
Splat ECS works in PhoneGap/Cordova, but it seems like the apps it produces lack hardware acceleration, making games unplayable. Splat ECS may or may not work on other platforms, please let us know what you find out.
Install through NPM
$ npm install --save splat-ecs
Then require Splat ECS into your game:
var Splat = require("splat-ecs");
Then use browserify to bundle your game as a single JavaScript file for the browser.
- Splat ECS starter project
- Polymorphic
- Electropolis
- Cluster Junk
- Zen Madness
- Treatment and Control
- Uprooted
- The Day the World Changed
Send a pull request to add your game to the list!