Lesson 4
Particles
Goal: Build an effect that still runs on a phone.
about 5 min3 practice exercises
Sparks, smoke, dust and magic are ParticleEmitters. Add one to a part and particles appear across the part. Add it to an Attachment and they come from that exact point.
The properties that shape an effect:
| Property | What it controls |
|---|---|
| Texture | The image on each particle |
| Rate | Particles per second |
| Lifetime | How long each one lasts, in seconds |
| Speed and SpreadAngle | How fast and how wide they fly |
| Size, Color, Transparency | Can change over a particle's life |
| Acceleration and Drag | Gravity-like pull, and slowing down |
| LightEmission | At 1, particles blend additively and look like they glow |
Make particles fade in or out with Transparency. Roblox notes this avoids them popping into view.
Roblox sets hard limits: Rate tops out at 400 per second, or 100 on mobile, and Lifetime is capped at 20 seconds.
For performance, Roblox's advice is to keep the rate as low as you can and get the look from size and the other properties instead. Large particles and many overlapping see-through ones cost the most to draw.
Setting Enabled to false stops new particles. The ones already flying finish their lifetime.
Go deeper on Rodex
Sources
Checked against Roblox's documentation on . The lesson is in our own words; these pages are the source of truth.