PcoWSkbVqDnWTu_dm2ix
Using Particles for Explosions
Part 1 - Getting Started
Using Particles for Explosions
Part 1 - Getting Started

Previously, you worked with particles that played continuously, like smoke from a volcano. Particles can also be used in a single burst, such as explosions. This course will show you how to create a trap that emits a burst of particles and kills a player.

Emitter Setup

The explosion will use a ParticleEmitter with some changed properties that will create a burst.

  1. Design a dangerous looking trap. Then, insert a ParticleEmitter named Explosion into the part.

  2. Create an electric spark effect using these properties.

    Property Value Description
    Texture rbxassetid://6101261905 Electric spark texture.
    Drag 10 How fast particles lose speed.
    Lifetime 0.2, 0.6 Makes explosion particles exist for a short time.
    Speed 20, 40 Compensates for the short lifetime.
    SpreadAngle 180, 180 Fires particles in all directions.
  3. So the trap doesn’t emit particles constantly toggle Enabled to off.

    alt

Testing Particle Bursts

To test the particle burst, you can use a Studio plugin developed by Roblox.

  1. Go to the Marketplace page for the Emit() Plugin Plugin. On that page, click the Install button.

    alt

  2. When Studio opens, the plugin should install automatically.

    alt

  3. Select the Explosion emitter and notice the plugin UI that appears in the top left of the game window. In the number box, type 100 (the amount of particles to emit) and press Enter.

    alt

  4. Press the Emit button to test the emitter.

Color and Transparency

Some extra steps can make the explosion look more impressive.

  1. Open the sequence window for the emitter’s Color by clicking the three dots next to the property. Then, create keypoints in the window to make a color gradient.

    alt

  2. For Transparency, use a number sequence that increases transparency over a smooth curve to show a gradual fade out.

    alt

    A finished particle effect may look like below.

    alt


Next Page Emitting Particles with Scripts