Thursday, July 8, 2021

Broken Mug Engine - destructible 2D terrain and objects

After almost 5 years finally a new Broken Mug Engine video and playable demo. I was trying to make the code from my 2014 destructible terrain demo work again and I got carried away. It is still based on Box2D, Clipper and Poly2Tri libraries, but is much more advanced. No mugs were actually broken during writing the code and recording this video.


Here are some of the new features:

- support for multiple destructibles

- FBO or polygon based destructibles

- dynamic destructibles with rotation, scaling and proper UV mapping

- splitting of destructibles into new destructibles

- debris - fake voronoi triangulation, particle effects, decals

- support for holes and enclosed environments

- preservation and destruction of joints

You can download the demo from my Google drive or Mod DB:

DOWNLOAD

Mod DB 

1 comment: