Explosions

A quieter space for design discussion of long-term projects
FluffyFreak
Posts: 1310
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Explosions

Post by FluffyFreak » Mon Mar 24, 2014 10:49 pm

Currently this is a straight port of the Paragon explosion effect.

Things I'm going to change:
Reduce size of the textures (they're 1024x1024!), reduce number of textures (There's 64 of them == 32MiB on DISK!), change the textures used (PING Nozmajner), spawn multiple billboards for the effect(Worth it?)

Generally clean up the code too so that it loads as many textures as there are rather than loading a fixed number etc.

robn
Posts: 300
Joined: Mon Jul 01, 2013 1:11 am
Location: Melbourne, Australia
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Explosions

Post by robn » Mon Mar 24, 2014 10:57 pm

Brilliant, I've been meaning to get on to that for a while. Thanks!

nozmajner
Posts: 1031
Joined: Mon Jul 01, 2013 3:25 pm
Location: Budapest HU
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Explosions

Post by nozmajner » Tue Mar 25, 2014 8:10 am

Can you give me a build I can play with the textures?

FluffyFreak
Posts: 1310
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Explosions

Post by FluffyFreak » Tue Mar 25, 2014 10:29 am

I'll try to take 15 mins this lunchtime to do some of those (easier) changes, might be able to do a build later tonight or tomorrow for you :)

FluffyFreak
Posts: 1310
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Explosions

Post by FluffyFreak » Tue Mar 25, 2014 1:05 pm

Halved number of textures, reduced size to 256x256 (that might still be overkill!) from 32MiB to 1.8MiB on Disk, obvioously even smaller in memory.
Got a couple of ideas for spawning other billboards heading off in random directions but run out of lunch time to work now.

Will try to do a build later tonight for you Noz :)

nozmajner
Posts: 1031
Joined: Mon Jul 01, 2013 3:25 pm
Location: Budapest HU
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Explosions

Post by nozmajner » Tue Mar 25, 2014 1:49 pm

Thanks :)

FluffyFreak
Posts: 1310
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Explosions

Post by FluffyFreak » Tue Mar 25, 2014 9:28 pm

Well, that only took smashing my face against my screen for a while: grab it here :)

The files are named image0.png to image31.png, there's no flexibility on that at the moment but that's something we can discuss!

nozmajner
Posts: 1031
Joined: Mon Jul 01, 2013 3:25 pm
Location: Budapest HU
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Explosions

Post by nozmajner » Wed Mar 26, 2014 6:54 am

Oh, so it's a frame-by-frame animation. Neat! It will be interesting to animate.
For some reason I thought it will be billboard particles of several kind, without any frame-by-frame.

FluffyFreak
Posts: 1310
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Explosions

Post by FluffyFreak » Wed Mar 26, 2014 12:34 pm

It is at the moment although I did think that adding in particles heading outwards from it might also look good.

Also this only works for a spherical explosion but the particle spawn might look better for anything that isn't spherical... like our spaceships ;)

In the future are we likely to want to have "destroyed" models of our ships left over? Drifting along for us to plunder for equipment / cargo / survivors?
Or the ability to target specific sections of a ship like just it's drives / life support /soup-vending-machine?
In which case having explosions which originate on the collision mesh and spawn particles (with their own frame animations?) would look better I think.

For now I think "this will do" has to be the rule ;) but it's a good idea to discuss it further whilst I'm working on it.

DraQ
Posts: 149
Joined: Sun Mar 23, 2014 10:02 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Explosions

Post by DraQ » Fri Apr 11, 2014 10:37 pm

FluffyFreak wrote:It is at the moment although I did think that adding in particles heading outwards from it might also look good.
Particles and lots of debris.

Would be good to vary the colour temperature of the explosion (and particles) - from bright, bluish-lilac flash, to quickly expanding yellow-gold then darkening red.

Maybe an expanding transparent gas shell that could be illuminated by light sources.
In the future are we likely to want to have "destroyed" models of our ships left over? Drifting along for us to plunder for equipment / cargo / survivors?
I would definitely love that. First I have long since grown tired of ships just popping and disappearing in spacesims, especially that it doesn't make sense, second devastated wreckage can look cool and add to the perceived physicality of the action.
Not to mention, having the wreckage and debris tumble down to the surface trailing smoke and explode again would be really cool when fighting in the atmosphere.
I always loved when metal alloy debris did that in Frontier.
Or the ability to target specific sections of a ship like just it's drives / life support /soup-vending-machine?
Definitely. Waiting for the progress bar (shields/hull) to deplete isn't my definition of interesting combat and subsystem targeting and damage would open up both tactical possibilities and interesting soft failure modes for player.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest