0.0.7 • Published 3 years ago

freerunner v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Freerunner

Frerunner is an event driven game engine.
Frerunner is a entity component system based game engine.
Frerunner is...

well...

Honestly at this early stage it is not much more than a typescript wrapper around Crafty. If you have tried craftyjs you know what a wonderful engine it is and how powerful yet simple the ecs pattern is for game development. Sadly crafty never made it to 1.0.0 and hasn't seen a commit in the last 4 or so years. Crafty has decent api documentation and most of it applies on Freerunner.

Getting started

Install

npm i freerunner

Usage

game.ts

import Freerunner from 'freerunner'
const F = Freerunner() // F is you new Crafty object
F.init()
F.e('2D, Color').attr({x:10, y:10, h:20, w:20}).color('hotpink')

See Platformer demo for a working example.
And did I mention it's based on Crafty?

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago