squidlegs
v0.1.15
Published
ES6 Game Framework
Readme
Squidlegs: ES6 Game Framework
Quick and dirty game framework that works with Babel and Gulp so you can write ES6 game code today, instead of ∞ days from now.

It consists of –
1squidlibrary/A basic set of ES6 Javascript classes, designed to be pretty modular so you cannewwhatever you actually needLoop- userequestAnimationFrameto setup your main game loopCanvas,DomCanvas, andVirtualCanvas- wrapper to draw to an onscreen or offscreen canvas (holdscontextand has helpers likerotate)Mouse- handles the conversion between click events and simple coordinates on a canvasKeyboardandKeyboardMovement- handleswasd/ ↑→↓← events, and translation to location deltas and facing degreesSprite- loads a sprite sheet image, stores it in an offscreen canvas (to allow for rotation), and draws to a canvasFont- loads and displays simple pixel fonts in the format of (one section per line)0..9A..ZExtras
gulpfile.jsto translate the framework and your code into ES6 via Babelgame/- where your actual game code might go, currently home to a samplemain.jsindex.html- a test page
It's open source, unstable, and has no tests - it may eat your dog, my dog, or any number of other figurative dogs.
@todo
- Add a cohesive
export/importsystem - currently extending classes depends on ordering thegulpfile– not cool - Add moar things!
