/propel-js

Simple serialisable deterministic 2d physics engine

Primary LanguageTypeScriptMIT LicenseMIT

propel-js - Tiny Open Physics Library.

A free, open source, teeny weeny physics library for typescript. Mostly just some utilities for making games.

Documentation

Examples

Install

    npm install propel-js

    or 

    yarn add propel-js

Why?

When working with networked physics games it's useful to be able to seralize state to send across the wire. Other physics engines do this by providing a seralizer but doing this regularly can be expensive. propel-js aims to keep physics state in serializable structures with functions/resolvers outside of the data.

Features

  • Rectangles
  • Circles
  • Joints
  • Compound Bodies
  • Sensors

More added as time permits.

Rune Compatible

This was built to support physics in networked games on the Rune Platform

Credits