• Register

Game engine for 2D games I've been working on as a hobby.

Add media Report RSS Broken Mug Engine - destructible 2D terrain and objects
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

After 5 years finally a new Broken Mug Engine video and I will use it to mark the beginning of this ModDB page. 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 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
- debris - fake voronoi triangulation, particle effects, decals
- support for holes and enclosed environments
- preservation and destruction of joints