I made an explosion.......using only beams and instance.news()

Just like the title said made a nuke out of beams without cloning anything. Works perfectly fine and the outcome was better than i anticipated.

image

24 Likes

Planning to open-source it or not?

3 Likes

Wow that looks cool. Is it better for performance to instance.new new beams or just clone?

5 Likes

Looks really good!

I myself thought that the only “good” explosions visuals would usually just be ParticleEmitters or a big mesh, but that proves me wrong.

Keep up the good work! :+1:

6 Likes

way better for performance actually

2 Likes

will do one day, but first i’ll make a community tutorial on it

2 Likes

Did you uses beams for the shockwave? If so how did you do it?

1 Like

Well since its gonna take me a while explaining, I rather to show you the code.

made a part, formed attachments in a circle and connect each attachment with beams, I set the beams properties and then use a loop tween and some math equations to give it a boom effect and a slight arc over the mushroom cloud.

1 Like

Dang. So basically just make a bunch of attachments in a circle and then give them body velocity plus beams

1 Like

well not body velocity, but i used a bit of math and lerping to move them

I have no idea what lerping is lol. Ive heard of it but I dont know what that is.

But I could probably still use body velocity right?

1 Like

nope, attachments arent affected by bodymovers, only baseparts

Oh then I could probably use transparent parts in that case?

Or maybe tween them or something

1 Like

You can definitely tween the attachments

ok good to know. Thanks :slight_smile:


1 Like

but in the video you see all those attachments are in a single part, so moving that single part with a body mover will move the enter cloud/ring

1 Like

Looks epic. I like the detail, very good job.

1 Like

Lerping is like tweening the objects.

1 Like

They both have the same effect as far as I know, they are both creating new parts / Increasing the number of parts so I would image they carry the same effect on the game.

nope. only 1 part. I already thought this through

1 Like