Challenge - 5 Problems
Particle Effects Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ Predict Output
intermediate2:00remaining
Particle System Emission Rate Effect
What will be the output behavior of the particle system when the emission rate is set to 0?
Unity
var ps = GetComponent<ParticleSystem>(); var emission = ps.emission; emission.rateOverTime = 0f; ps.Play(); // Observe the particle count over 5 seconds
Attempts:
2 left
💡 Hint
Think about what setting emission rate to zero means for particle generation.
✗ Incorrect
Setting emission rate to zero stops new particles from being created, so no particles appear after Play is called.
🧠 Conceptual
intermediate1:30remaining
Why Particle Size Affects Visual Impact
Why does increasing the size of particles in a particle system create a stronger visual effect?
Attempts:
2 left
💡 Hint
Think about how size changes what the eye sees.
✗ Incorrect
Bigger particles take up more space on screen, so the effect looks more noticeable and impactful.
🔧 Debug
advanced2:30remaining
Fixing Particle Color Not Changing
Given this code snippet, why does the particle color not change as expected?
Unity
var ps = GetComponent<ParticleSystem>(); var main = ps.main; main.startColor = Color.red; ps.Play();
Attempts:
2 left
💡 Hint
Remember how Unity modules work as structs.
✗ Incorrect
The main module is a struct copy; modifying it does not affect the particle system unless reassigned.
📝 Syntax
advanced2:00remaining
Correct Syntax to Change Particle Lifetime
Which option correctly changes the start lifetime of a particle system to 3 seconds?
Unity
var ps = GetComponent<ParticleSystem>();
Attempts:
2 left
💡 Hint
Remember that ParticleSystem.MainModule is a struct and needs reassignment.
✗ Incorrect
The main module is a struct; you must modify it and assign it back to ps.main to apply changes.
🚀 Application
expert3:00remaining
Creating a Burst Effect with Particles
Which code snippet creates a burst of 50 particles emitted instantly at start?
Unity
var ps = GetComponent<ParticleSystem>();
Attempts:
2 left
💡 Hint
Think about how to emit many particles instantly at time zero.
✗ Incorrect
Setting a burst at time 0 with 50 particles causes all to emit instantly when Play is called.