Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

harleyrana

Cool Explosions in Particle Systems?

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi i''ve been trying to make a good looking explosion particle system for a java 2D space game. I have the basics working nicely, i also built a simple editor to make complex velocities ect. Right now it looks pretty good with particles coming in a bit, then flying out, going from yellow to red, and from opaque to transparent. I just want to make it better! When you see real explosions they are normally kind of clouds that dissipate. How do you create something that looks more real? Thanks for any advice!

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
I take it you are drawing each particle as a small element (eg a single polygon, or in 2d a small image). So your particles are drawn centred on a position - you update this position each step, according to velocity, and then redraw the image centred on the new position, x. ie you draw

+-+
|x|
+-+

Instead of that you could draw a stretched polygon/image going from the centre of the explosion, c, to the particles position, x. Like this

+------+
c x
+------+

If you do this for each particle you'll fill out the space (do some nice alpha blending!)

Most 2d games would use animated bitmaps for this though.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Sorry that second diagram isn''t good - it should have a c at one end and an x on the other.

Share this post


Link to post
Share on other sites
I think the trick lies in good texturing. Use as many textures as you can get away with, and don''t fade things totally out when you are done - leave some sort of textured smoke behind for a little bit. At least thats what I think would make a better particle explosion.

Moe''s site

Share this post


Link to post
Share on other sites
thanks for the replys.
Streching is an good idea, seen some really nice looking effects.

As far as textures, thats probally the way i need to go to get the kind of effect im looking for. Just not very good at making them.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!