Questions tagged [liquidfun]

LiquidFun is a 2D rigid-body and fluid simulation C++ library for games based upon Box2D. LiquidFun code can be written in C++, Java, or JavaScript.

LiquidFun is a 2D rigid-body and fluid simulation library for games based upon . LiquidFun code can be written in C++, , or .

References:

29 questions
30
votes
3 answers

Android Studio + Liquid Fun

I'm trying to setup Android Studio + LiquidFun. I follow a lot of tutorials like these: http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/ http://tools.android.com/tech-docs/android-ndk-preview But either isn't comprehensive or…
23
votes
1 answer

Libgdx game crashes on Android

I made a game using libgdx and it runs fine on both desktop and android before. I'm not sure if its because I started using box2d physics engine and liquidfun particles,what basically happens is that when I click play on my game it start loading…
Kevin Bryan
  • 1,846
  • 2
  • 22
  • 45
5
votes
1 answer

How to include liquidfun physics engine with nodejs

I have been making a game with box2dweb and node.js. Everything has been working fine until I decided to switch to Google's LiquidFun engine, which is also based on Box2d. In box2dweb I could export the modules I needed by adding the following to…
two70
  • 51
  • 3
4
votes
0 answers

Filtering collisions between particles and bodies in liquidfun

I created a functioning JavaScript game using the Box2d framework that LiquidFun provides (and implemented filtering effectively). I understand how to filter using maskBits, categoryBits, and groupIndices. I've successfully created one particle, but…
3
votes
1 answer

LiquidFun and cocos creator

I am new to cocos creator and JavaScript programming, recently cocos creator added 'Integrated Box2D physics engine' to its engine. And I was wondering if I can use 'liquidFun' within cocos creator. If it is possible, please tell me how can I…
lino
  • 287
  • 2
  • 12
3
votes
1 answer

libgdx liquidfun integration runtime error

I'm new to this. I generated a new project using libgdx project generator, all worked fine. Then I tried to add liquidfun extension to the library using the following tutorial: https://github.com/finnstr/gdx-liquidfun-extension/wiki/Setup. It…
3
votes
1 answer

Has b2DebugDraw and b2ContactListener been replaced in liquidfun.js?

I'm trying to replace my current Box2D library (box2dweb.js) with Google's LiquidFun library. The major difference seems like they placed all the b2#ClassName# classes in the global scope instead of keeping them modular (in a Box2D.* namespace like…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
2
votes
1 answer

Box2D rigid bodies vs. LiquidFun particles

Prior to LiquidFun, the only way developers could simulate particle-like bodies in vanilla-Box2D was by creating dynamic circular fixtures. What are the main advantages of using LiquidFun over the old method? Does it look better? Is it…
P. Lance
  • 179
  • 2
  • 13
1
vote
0 answers

How do I detect collisions between individual particles in LiquidFunProcessing?

I'm using processing's liquidfun library to simulate particle interactions, such as changing color on collision, but I can't find a contactlistener for individual liquid particles. There's a built in contactlistener for JBox2D objects, but it…
Blue Tube
  • 11
  • 1
1
vote
0 answers

LiquidFun particles being sucked in and shot out of objects

I'm working on a game using LiquidFun with libgdx. The problem is when I try to have an object sink into the particles the particles get sucked into the top side of the object, whichever direction its facing, and shot out the bottom side of the…
Michael
  • 33
  • 8
1
vote
2 answers

Is there a continuous particle generator built-in into LiquidFun?

Is there a continuous particle generator, meaning a type of functionality where I simply can create a bunch of particles and have them regenerate when they die? Thanks!
Moshe Rabaev
  • 1,892
  • 16
  • 31
1
vote
1 answer

Libgdx liquidfan android error

I was trying to add liquidfun to my android studio project. I have done everything from this tutorial except last part in step 3 (because I'm working in android studio, I have done: file > project structure > green plus > import jar/aar package >…
misza
  • 61
  • 1
  • 1
  • 9
1
vote
0 answers

Collision filtering in libgdx using Liquidfun

I successfully implemented liquidfun extension in my libgdx/box2d project, but the particles that are created in the box2d world doesn't seem to collide with anything at all when used in my project. The test code given with the setup works good in…
1
vote
1 answer

Adding library to NDK project - eclipse

Eclipse NDK, NativeActivity project. I ma trying to add a liquidfun(Box2D) library to my existing project. Unfortunately, no one in internet explain how to precisely do. I'am stuck after building library using ndk (following this…
1
vote
0 answers

SKEffectNode shader bug

I'm developing a game using Sprite Kit and Liquid Fun (Google's implementation of Box2d with liquids). After I applied a threshold shader to make the liquid more real, I stumbled in a strange behavior that can be seen on this video: Current…
1
2