Skip to content
A simple HTML5 game engine
JavaScript HTML
Branch: master
Clone or download

Latest commit

Alex McGivern
Latest commit 0292331 Jun 29, 2015


Type Name Latest commit message Commit time
Failed to load latest commit information.
demos Fixed keyDown issue; added key demo. Jan 26, 2012
LICENSE Updated README and added minified version. Nov 21, 2011
README Words. Nov 21, 2011
README.markdown Words. Nov 21, 2011
squarepig.js added Graphiclist.move() and Jun 29, 2015


This is squarepig: a simple game engine for HTML5.

Squarepig is intended to be simple; as comfortable for novice developers making their first Web games as for experienced coders building demos and prototypes. Squarepig takes some inspiration from the excellent Flashpunk ( library for ActionScript.

Right now, Squarepig consists of one file: squarepig-0.1.js (or it's minifed sibling, squarepig-0.1.min.js). That's all you need! You can see a very basic demo working here:

Squarepig is distributed under the zlib license (, so you can use it however you feel like.

That'll do, pig.

You can’t perform that action at this time.