Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.19 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.19 KB

liquidfun.js

liquidfun.js is a direct port of the Liquidfun 2D physics engine to JavaScript, using Emscripten. I started this since the JavaScript Port of liquidfun provided by Google was incomplete and manually written. This project is translated directly to JavaScript, without human rewriting, so functionality should be identical to the original Liquidfun.

Download

https://github.com/doebi/liquidfun.js/releases

To directly play with and test the library you can use my precompiled version, or build it from source as described below.

Building

  • Install Emscripten
  • Clone this repo with it's submodules: git clone git@github.com:doebi/liquidfun.js.git --recursive
  • Compile it using emscripten: emmake make

Usage

There are some slight differences in Usage compared to the manual emscripten port provided by Google. Take a look at https://github.com/doebi/liquidfun.js-demo for more details.

online demo: https://doeberl.at/liquidfun.js-demo/

Credits