---
title: "How many frames an explosion effect needs"
description: "A one-shot explosion usually needs 32 to 64 frames, most of them on the fast start. Let the last frames fade out so the effect does not pop at the end."
canonical: https://appliedmanifold.com/guides/frames-for-explosion-effect/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Guides](https://appliedmanifold.com/guides/)
3.  Frames for explosions

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.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [See the examples →](https://appliedmanifold.com/docs/pyrofx/examples/)

-   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](/bakes/fireball/poster.webp)

Fireball, 9.4 x 13.4 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-fireball)

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](/bakes/impact/poster.webp)

Impact, 3.5 x 2.8 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-impact)

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.

04 // RELATED

## Related pages

-   [Frames for fireChoose a frame count for a fire flipbook from loop length, playback rate and screen size, with a real 64-frame example.](https://appliedmanifold.com/guides/frames-for-fire-effect/)
-   [Frames for smokePick a frame count and rate for smoke flipbooks, with real 4 second loop and 5 second one-shot examples at 64 frames.](https://appliedmanifold.com/guides/frames-for-smoke-effect/)
-   [One-shot explosion Godot 4Build a GPUParticles3D explosion in Godot 4 that plays once and frees itself, by hand or from a wired fireball scene.](https://appliedmanifold.com/guides/godot-one-shot-explosion/)
-   [Explosion sprite sheetThe fireball and impact compiles as one-shot explosion sprite sheets, layered with smoke and dust and played once in each engine.](https://appliedmanifold.com/effects/explosion-sprite-sheet/)
-   [Loop vs one-shotLooping effects repeat until stopped and one-shot effects play once and fade out, and each needs its own frames and settings.](https://appliedmanifold.com/learn/loop-vs-one-shot/)
-   [Godot fireball Godot 4A fireball that bursts from the ground and rolls upward in 3.7 seconds, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-fireball/)
-   [OutputsWith the default export, each view writes four sheets, `<view>_pos.png`, `_neg.png`, `_colour.png` and `_aux.png`, plus `layout.json`, two still previews, the animated `preview_anim.png` and `bake_report.json`. Sheets are 8 x 8 tiles of 256 px by default.](https://appliedmanifold.com/docs/pyrofx/outputs/)

[All pages in Guides →](https://appliedmanifold.com/guides/)

[← Frames for smoke](https://appliedmanifold.com/guides/frames-for-smoke-effect/)[Flipbook frame rate →](https://appliedmanifold.com/guides/flipbook-frame-rate/)

05 // FAQ

## Explosion frame questions

[All questions →](https://appliedmanifold.com/faq/)

**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.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Outputs →](https://appliedmanifold.com/docs/pyrofx/outputs/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
