GUIDE // UNREAL ENGINE

How to play an explosion flipbook once in Unreal Engine

Set your Niagara emitter's Loop Behavior to Once, spawn a single particle with a burst at time zero, and make its lifetime the clip's length so the Sub UV Animation module runs the frames once, first to last. Spawn the system at the hit point with Auto Destroy on, and it removes itself when the particle dies.

  • Godot 4 Available
  • Unity Manual setup
  • Unreal Engine Manual setup
  • Roblox Studio Manual setup
  • three.js Available

A draft compile is from $0.05, and new accounts start with $5 of usage.

FIREBALLFINAL
First frame of the fireball bake
Fireball, 9.4 x 13.4 m, compiled with Spatial Compiler. Spec →

01 // HOW TO

Set up the fireball

  1. In Emitter State, set Loop Behavior to Once and Loop Duration to 4, the time the fireball's 64 frames span.
  2. Use Spawn Burst Instantaneous with Spawn Count 1 at time 0, and no Spawn Rate.
  3. In Initialize Particle, set Lifetime to 4 and a square Sprite Size from metres_per_tile in layout.json, times 100 for centimeters.
  4. On the Sprite Renderer, set Sub Image Size to 8 x 8. In Particle Update, set Sub UV Animation to Linear over the 64 frames for a first test.
  5. For the real timing, disable Sub UV Animation and set Particles.SubImageIndex with the Float from Curve dynamic input, read by normalized age, with one key per frame time from layout.json. The compile packs more frames into the first moments of the blast, which a straight line plays too slowly.
  6. In your Blueprint, call Spawn System at Location with the system as System Template and Auto Destroy checked, at the point where the blast happens.

02 // REAL OUTPUT

A short one-shot for shell hits

Impact is a flash, thrown earth and a little smoke, with frames spanning 3.2 s. Use 3.2 for its Loop Duration and Lifetime.

IMPACTFINAL
First frame of the impact bake
Impact, 3.5 x 2.8 m, compiled with Spatial Compiler. Spec →

03 // THE LAST FRAME

Stop on the final frame

Linear mode and the curve both reach the last frame just as the particle dies. A one-shot compile runs until the effect has faded, so the fireball's frame 63 is nearly empty and nothing hangs in the air.

To hold a frame on a sheet that ends on a solid image, give the particle a longer lifetime and end the curve with a flat stretch at frame 63, or set Particles.SubImageIndex with a New Expression such as min(Particles.Age * 16, 63).

05 // FAQ

Niagara one-shot explosion questions

All questions →

README.UNREAL_EXPLOSION_PLAY_ONCE
How do I play an explosion flipbook once and stop on its final frame in Unreal Engine?

Set Loop Behavior to Once and particle lifetime to the clip length. Play frames with Sub UV Animation or clamp Particles.SubImageIndex at 63 to hold.

Why does my Unreal Engine flipbook keep playing after one pass?

The emitter is still on Loop Behavior Infinite or Spawn Rate keeps creating particles. Set Loop Behavior to Once, remove Spawn Rate and burst one particle.

How do I add an explosion flipbook in Unreal Engine?

Import the explosion sheet, build a Niagara emitter that plays it once on one sprite and spawn it with Spawn System at Location.

How do I make a fireball explosion in Unreal Engine?

Play a precomputed fireball sheet once on a Niagara sprite with an additive flame material and add a Light Renderer so the blast lights the ground.

Compile your first effect

You pay per compile and see the price before it runs. New accounts start with $5 of usage.

All effects, guides and explainers →