GUIDE // ANY ENGINE

How many frames an explosion effect should use

A one-shot explosion usually needs 32 to 64 frames, and the start deserves the most of them, because the flash and burst change fastest. At 16 frames per second, a blast of 2 to 4 seconds lands in that range. Let your last frames fade to nothing, so the effect does not pop off when it ends.

  • 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 // WHY

An explosion is fast, then slow

The first few tenths of a second hold the flash and the burst, where the shape doubles in size from frame to frame. After that the fireball rolls and darkens into smoke, which changes slowly. Even spacing spends most frames on the slow part.

Two fixes work in any engine. Compile more frames overall and play at a higher rate, or trim the slow tail and hand it to a separate smoke effect that plays at a low rate.

02 // CHECKS

Check a one-shot sheet before use

  • Frame one is small or empty. A sheet that starts full-size pops in.
  • The last frame is empty. A sheet that ends visible pops out when the particle dies.
  • No frame touches the cell edge at the biggest moment, or the fireball is cut off square.
  • Every frame uses the same scale, framed for the largest one, so the blast grows on screen instead of staying one size.

03 // REAL OUTPUT

Frame timing in the example one-shots

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

Spatial Compiler one-shots run 2.0 to 5.0 seconds in 64 frames. The example fireball plays 3.7 seconds and the impact 2.0 seconds, and both give more of their frames to the fast start (export.pacing = "front"), with the time of each frame recorded in layout.json. That suits playback that reads those times, such as the default Godot 4 scene. An engine flipbook that plays at a fixed rate needs even spacing, so ask your agent for pacing = "even" there. A one-shot compile ends when the effect has faded, and the report your agent reads warns when the last frame is still visible or the first is already large.

05 // FAQ

Explosion frame questions

All questions →

README.FRAMES_FOR_EXPLOSION_EFFECT
How many frames should an explosion effect use?

Use 32 to 64 frames for most explosions. Big, close blasts can use more frames, while small hits get by with 16.

Should all frames in an explosion flipbook have the same dimensions?

Yes, every cell must be the same size and framed for the largest moment at the same scale so growth shows on screen.

How do I play an explosion flipbook once instead of looping it?

Map the whole sheet to one particle lifetime and turn looping off. Unity uses Cycles 1, Roblox uses OneShot and Godot uses One Shot.

How do I make an explosion expand quickly and then fade out?

Put the fast growth in the first frames and end on an empty frame. A steep early scale curve on the particle adds to it.

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 →