# How to do explosions in my space game?

This topic is 5172 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi, I'm making a fairy simple 3d space sim. And I'm having a little trouble in deciding how to do explosions. Like say when a ship or a missle is to explode, should I instantly make the explosion to a certain radius then retract, or should it grow in size, then retract in size? And what do you think on how I should apply damage? Have some attenuation from the centre? Maybe a hot spot within the radius, where a set amount of damage is given? Should I have a certain radius around the explosion where its just gases, that sends nearby objects flying away? Does anyone have any suggestions on this, or any more ideas to add? Thanks

##### Share on other sites
I know Descent 3 may be a relatively old game, but it had some nice zero-G physics involving explosions and damage related to explosions. Might be a good point of reference.

##### Share on other sites
EXPLOSIONS:

An explosion has two "active parts":
- the fire ball - which heavily damages everything in range
- the blast - hot air with some debris which evolves very fast, damages everything that is not "heavy armored"/protected.

The fire ball and the blast starts at the same time with different expanding speed. They always grow, something cannot just appear there at its biggest size and then retract. Explosions never retract they just fade.

There are some types of "fireballs" - the light white globe (like manga), the normal fire explosion (see the beginning of Star Wars: Episode III) and I think there is more but I don't remember now.

A large ship can break aparts with small normal fireballs or can blow up in a light globe. A small ship always explodes with a normal fire explosion (even that
can be blue or green).

DAMAGE:

You may have a linear damage distribution over range or an exponential one. Hot spot (maximum damage) can be in the middle or at the bounds (with interesting results).

Good luck!

##### Share on other sites
Ships don't normally Implode in space (the explosion going within), since unlike underwater (lots of pressure) there's a complete absense of pressure in space, so ships would explode outward and keep on going. Fire doesn't behave the same way in space either, and tends to be more spherical in shape (because of the lack of gravity), in microgravity it can sometimes be almost undetectable (here's a few links for some info and a picture of flame in zero-g).

You could always have a ship simply break appart with or without small flames, or go for a sphere of fire that fades as it expands and disapates. Having an invisible radius of gasses that move nearby objects away would also fit with how an explosion in space would occur (the force of the decompressed gasses accelerating out of the ship would bounce off nearby objects and push them away).

• ### Game Developer Survey

We are looking for qualified game developers to participate in a 10-minute online survey. Qualified participants will be offered a \$15 incentive for your time and insights. Click here to start!

• 16
• 11
• 24
• 42
• 75