PDA

View Full Version : particle volcano


Ben H
12-31-2004, 03:00 PM
I was just messing around with physics and I came up with this...

If you make anything cool from it let me know!

Ben H
12-31-2004, 03:20 PM
Here is a new version http://www.kirupa.com/forum/images/smilies/wink.gif

Now particles don't get stuck in a line on the middle of the volcano (There is no code on the volcano, the particles just got stuck in a line)

Coppertop
01-01-2005, 02:35 AM
Are you using MX 2004? Because when I open it up in MX it says "unexpected file format".

evileks
01-01-2005, 04:18 AM
It must be in 2004, because I can open and I use MX 2004.
I think it could be used for some tiki based webiste, or something.
I converted it into MX format for you, not sure if it still will work.

Ben H
01-02-2005, 05:49 AM
Are you using MX 2004? Because when I open it up in MX it says "unexpected file format".
Yeah, I'm using mx 2004 pro

GreenLantern
01-02-2005, 06:13 AM
That's fun. Thanks.

:thumb:

Ben H
01-02-2005, 06:42 AM
np, I'm working on a particle waterfall now, with rocks that the water slides off or over.

Thx for your feedback

Ben H
01-02-2005, 11:21 AM
New version of volcano: It's draggable and the ground becomes where ever the volcano's base is, so everything bounces there, anything below it just slides slowly to the bottom.

There's a flash mx version too

Coppertop
01-02-2005, 03:22 PM
thanks :D

but you know, it would be easier to just export an swf :thumb:

EDIT: Hey, this volcano is pretty cool!

Voetsjoeba
01-02-2005, 03:51 PM
I've edited this effect a little bit to optimize it, and customised it a bit too. Probably the biggest improvement is that each particle now has a built in self-destruction timer. The original self-destruction condition was to have moved out of the screen. But if you have a lot of particles moving quite slowly, then it can get sluggy. That's why I implemented it.

Using this self-destruction timer, I made them only appear for the bursting out (approximately) a short fall and the disappear to prevent the screen from getting filled with particles and the CPU knocking itself out.

I also did some coding cleanup, for example combining if statements and dividing and subtracting instead of multiplying and adding.

Ben H
01-02-2005, 04:08 PM
Thanks voets,

GreenLantern
01-02-2005, 05:43 PM
Can someone change voets's file to an mx format for me?

tucker
01-02-2005, 09:22 PM
New version of volcano: It's draggable and the ground becomes where ever the volcano's base is, so everything bounces there, anything below it just slides slowly to the bottom.

There's a flash mx version too


neither one work for me in flash mx :(

Kyri
01-03-2005, 01:33 AM
me either...."Unexpected File Format"

Ben H
01-04-2005, 01:58 PM
That's weird...
I saved as MX,

You'll have to get someone else to do it...
Sorry :*(

paddy.
01-04-2005, 02:55 PM
Hey check it out:
Give it a while.

.swf]width=500 height=400

paddy.
01-04-2005, 03:29 PM
Okay, it's broke.

Just click here (http://paddyduke.co.uk/volcano.html).

Coppertop
01-04-2005, 05:26 PM
it didn't quite work the first time, so I refreshed it and it was fine.

cool idea! Next thing you should do is have the stickmen regenerate and destruct on impact with one of the magma bits.

paddy.
01-04-2005, 05:59 PM
Wudgajustlistentoyourself? I can't do that. That's all AS and stuffs. I can barely make the stickmen run. And that's using tweens. Regenerating and destructing aren't in my repitoire of party tricks.

Coppertop
01-04-2005, 07:08 PM
:lol:

ah, I see. I wasn't paying attention :whistle:

J-Sun
01-04-2005, 08:52 PM
Great work om3ga!

I like the effect - I think it could be applied to a bunch of different graphics - I'm thinking along the lines of fireworks... the gears are turning...

:)

Ben H
01-05-2005, 04:53 AM
@Flash Gordon: Nice work!
@J-Sun: I'm making a waterfall right now...

base_
01-28-2005, 06:07 AM
this is really cool. i am trying to get the effect to only occur once you click a button but i dont know how to implement this...would someone be able to help me out here?

e-sarbak
01-28-2005, 08:21 AM
Nice nice nice
Very cool

J-Sun
01-30-2005, 06:19 PM
@J-Sun: I'm making a waterfall right now...

Hi!
I diappearred for a while...


How is the waterfall coming?
:)

evileks
01-30-2005, 10:39 PM
Can someone change voets's file to an mx format for me?

Here you go GreenLantern:

hee_hah_dude
02-12-2005, 04:29 AM
it looks cool