Forget simple 2D physics. Why not add some fluid excitement to your game? LiquidFun is an easy to use physics simulator that includes fluid and soft body simulation.
The main thing about LiquidFun, a Google project in C++, is that it is an extension of the well known Box2D physics engine. It makes use of OpenGL and it can be built for Android, Linux, OSX and Windows. The team behind this open source project are clearly intending it for Android use and they would like you to include a tracking code so that they can find out how much effort to put into developing and tuning it further.
If you already know Box2D then you can already program general ridged body movement and now you can add to this particle models.
You can create particles that by default behave like a liquid but you can set other behaviours. For example a group of solid particles keeps other things outside on its surface and are good for implementing objects like balls. Powder particles scatter like dust. Spring particles behave as if they were joined by springs. Tensile particles have surface tension and viscous particles cling to one another to produce a sticky liquid - and so on.
If you want to see it in action, there is a video for that:
If, after seeing this video, you are not inspired to write something then I don't know what is going to get you moving. Of course it is "just" 2D physics and this restricts the gameplay but you can argue that this is a game category that has hardly been explored and there may be many simple but engaging 2D physics based games to be discovered. After all, what was the recent Flappy Bird phenomenon but a 2D physics game - and now you can have fluids!
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
When it first appeared on the scene, Github was one of a kind and a true visionary amongst its rivals still using Subversion, Bazaar or Mercurial as their source control system.
After an outcry from its existing customers when it announced a new a subscription service for its range of desktop developer tools, JetBrains has now settled on a pricing model that includes a Perpetual Fallback Licence. Is this enough?
- PowerShell Replaces Command Prompt
- Revealing the Who and Why of Node.js Use
- Uber Drivers Gaming the Algorithm
- Competitive Self-Play Trains AI Well
- Microsoft Showcases Key Value Store
- Top 10 From Around The Web: More Angular Resources
- Google Invests $22 Million In A Fork Of Firefox OS
- Microsoft Open Sources PowerShell And It Runs On Linux
- SQL Server Development Edition For Free
- Go 1.7 Goes Faster and in More Directions
- Help Choose Next EE4J Name
- Microsoft's Astoria Android Emulation Might Not Happen
- Algorithms & Data Structures MicroMasters