mirror of
https://github.com/minetest/minetest_game.git
synced 2024-06-30 14:50:21 +02:00
We add a dirt-like particle (drawn from scratch, uses some colors from default_dirt's palette) to spawn many particles that have collision enabled around the center of the blast. This has the effect of obscuring the center of the blast, as that is a painfully visible empty area when the explosion happens, as there's only a little spark. The dirt particles bounce around the walls and floor a bit, and disappear rapidly, well before the smoke particles disappear. This is a nice visual distraction that obscures the sudden appearance of the gaping hole, and makes it a whole lot more believable.
855 B
16x16px
855 B
16x16px
![](/gitea/minetest/minetest_game/raw/commit/1420376e3224c92eaf8520028e2a9ccac52bb50f/mods/tnt/textures/tnt_blast.png)