propel-js
v1.0.24
Published
Tiny Open Physics Engine
Downloads
307
Readme
propel-js - Tiny Open Physics Library.
A free, open source, teeny weeny physics library for typescript. Mostly just some utilities for making games.
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
- This project started as a port and clean up of: https://github.com/xem/mini2Dphysics/tree/gh-pages
- Bjarke Felbo also contributed to the original source: https://github.com/bfelbo