J2ME SOFT-BODY PHYSICS

Bloft (BLobby and sOFT) is a 2D physics engine for J2ME devices with MIDP support. It supports soft bodies only in contrast with the DyMiX Engine. The soft body is a body which can be deformated - like a gummy ball or a plastic bag filled with liquid for example. I used this library in my game Gish Mobile, so if you want to see it in action it's good to start there.

The library is open source. It means you can use it in your projects free of charge and change it to better fit your needs. See the License.txt file included in the source distribution for more informations.

I have developed the engine as a part of my Bachelor's degree work at the Faculty of Mathematics and Physics of the Charles University. You can read the thesis here, but only in the czech language.

The library was designed with the low performance of mobile phones in mind. As such it uses fixed-point math only and minimizes memory allocations to prevent frequent GC calls. A visibility culling mechanism preventing objects out of the camera view to be updated was implemented as well.


Support This Project

Bloft Features

  • Soft body dynamics
  • High robustness
  • High speed
  • Fast fixed-point calculations
  • Friction simulation
  • Additional Vector2, Matrix2x2 classes and other math functions