itch.io is community of indie game creators and players

Devlogs

Fluid-Actor Interactions (0.14.1 Alpha)

Big Block Engine
A downloadable game/game engine for Windows, macOS, and Linux

With this release, when Actors fall into a fluid, they'll now slow down to a maximum velocity based on the density of the fluid involved, but it doesn't happen all at once.  High velocity Actors will shed velocity a bit at a time until they match that maximum.  All of this happens in proportion to how much of the Actor is submerged.

Additionally, working on this today has given me a fun idea on how to modify this to make actors float on fluids, all based on density.  It's just a matter of producing a force based on the density difference and gravity.  It should be a cake walk.

I also found a better way to handle Actors passing through the underside of platforms, so the little push the platform gives the Actor should be much more minimal.

Here's an animated gif of some balls falling into water (sorry for the large file size!):

Files

  • bigblockengine-win-linux-osx-alpha.zip 12 MB
    Version 0.14.1-Alpha
  • bigblockengine-source.zip 3.6 MB
    Version 0.14.1-Alpha
Download Big Block Engine
Read comments (1)