โ still very work in progress โ and has frequent, breaking changes. Not worrying about backwards compatability with updates. Use at own risk.
- Lightweight framework to be easily used for GameJam games
- Foster should run in the Browser and in Electron without any changes on the game-side
- ES6 all the way. No interest in being ES5 / backwards compatible.
- Scene -> Entity -> Component structure
- Frame-based animation, with atlas loading (Aseprite, Texture Packer, etc)
- AABB Collision system, with simple Physics component to handle motion
- BlendModes (additive, multiply, subtract, etc)
- Comment everything (and generate Docs somehow?)
- Use ES6
import/export
and put it into aFoster
namespace - Make NPM package?
- Add lots of helper / usability methods (ex. Audio fade in/out, built in screen transitions, more atlas loaders, etc)
- foster.js : compiled JS file
- foster.d.ts : typescript definition file to reference from your game (ex.
/// <reference path="foster.d.ts"/>
)
- Clone the repo
- Run
npm install
- Compile the typescript to the
bin
directory withtsc