0.1.15 • Published 9 years ago
squidlegs v0.1.15
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 need -Loop- userequestAnimationFrameto setup your main game loop -Canvas,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 canvas -KeyboardandKeyboardMovement- handleswasd/ ↑→↓← events, and translation to location deltas and facing degrees -Sprite- loads a sprite sheet image, stores it in an offscreen canvas (to allow for rotation), and draws to a canvas -Font- loads and displays simple pixel fonts in the format of (one section per line) -0..9-A..Z-Extrasgulpfile.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!
0.1.15
9 years ago