Skip to content

mfaella/JLiquidFun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JLiquidFun 1.1

Ready-to-use Java bindings for LiquidFun, including the pre-compiled library for Android architectures.

Instructions to use JLiquidFun in your Android Studio project:

  • Copy the content of java into your folder <project root>/app/src/main/java
  • Copy the content of libs into your folder <project root>/app/src/main/jniLibs

In your onCreate method, load the library:

System.loadLibrary(“liquidfun”);
System.loadLibrary(“liquidfun_jni”);

Then, you can create a World, add Body objects to it, etc.

Release notes

  • 1.1. May 2021. Added ray casting and triangular shapes.
  • 1.0. 2016. First release.

Background

LiquidFun adds particle systems to Box2D. LiquidFun comes with barebone Java bindings (generated by Swig), which only support a small set of functionalities. This project provides more support, adding the basic types of joints and the ability to listen to collisions.

Notice that a complete Java rewrite of LiquidFun exists, called JBox2D.

This project is developed for educational purposes at the University of Naples "Federico II", Italy.

About

Improved Java interface to LiquidFun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages