BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Google Released LiquidFun 1.1, Open-source 2D Physics Engine

| by Sergio De Simone Follow 4 Followers on Jul 18, 2014. Estimated reading time: 1 minute |

Google announced 1.1 release of LiquidFun, an open-source 2D physics engine including fluid simulation. The engine opens new possibilities to both game developers and UI designers, says Google. LiquidFun now officially supports iOS in addition to Android, Linux, and OS X.

LiquidFun is based upon Box2D, a physics engine that performs constrained rigid body simulation, and adds particle-based fluid simulation on top of it. LiquidFun can be used as a drop-in replacement for Box2D, which makes it easy to integrate it in any program written in C++, Java, or JavaScript, says Google. The library is written in platform independent C++ and this makes possible to use it on any platform that has a C++ compiler. Google provides a method to build the LiquidFun library, example applications, and unit tests for Android, Linux, OS X and Windows.

Version 1.1 of LiquidFun adds the following new features, among others:

  • Browser compatibility: Google translated LiquidFun into JavaScript using Emscripten.
  • iOS support.
  • Performance optimization: LiquidFun 1.1 improves performance on ARM processors thanks to code partially written in NEON.

The new release also includes two physics-based, open-source games from Google: VoltAir, written in C++, and LiquidFunPaint, written in Java via SWIG bindings. Both programs are currently available in the US Play Store and their source code is released as open source to provide developers with examples of how to integrate the engine in their apps.

LiquidFun can be useful not only to game developers but to UI designers as well, says Google. Game developers can use physics to drive new game mechanics and add realistic physics, while designers can use this library to build interactive experiences that feel real by adding behaviors such as gravity, springs, and liquid simulation to their user interfaces.

Since its introduction in March 2014, LiquidFun has been integrated in several existing game engines, including Cocos2d-X, Corona Pro, and YoYo Games' GameMaker: Studio.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT