Skip to content

A Port of liquidfun to JavaScript using Emscripten and its WebIDL capabilities.

Notifications You must be signed in to change notification settings

doebi/liquidfun.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7747a67 · Jan 28, 2018

History

14 Commits
Apr 27, 2015
Apr 27, 2015
Apr 27, 2015
Apr 27, 2015
Apr 27, 2015
Jul 14, 2015
Jan 28, 2018
Jan 28, 2018
Apr 27, 2015
Jul 14, 2015

Repository files navigation

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

About

A Port of liquidfun to JavaScript using Emscripten and its WebIDL capabilities.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published