---
title: "Loop a fire sprite sheet in Godot 4 without a pop"
description: "A fire loop pops when the sheet does not wrap or every particle restarts at once. Fix the sheet, turn on Loop and stagger the particles in Godot 4."
canonical: https://appliedmanifold.com/guides/godot-loop-fire-sprite-sheet/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Guides](https://appliedmanifold.com/guides/)
3.  Loop a fire sheet

GUIDE // GODOT 4

# How to loop a fire sprite sheet in Godot 4 without a pop

You need a sheet whose last frame flows into its first, played with looping on and nothing restarting in sync. In Godot 4 that means Loop on in AnimatedSprite3D or Particles Anim, Explosiveness at 0 and some Preprocess time on the emitter. Ask your agent for a looping fire and the sheet comes already blended at the wrap.

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

**FIREFINAL**

![First frame of the fire bake](/bakes/fire/poster.webp)

Fire, 4.1 x 7.0 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-fire)

01 // WHY IT POPS

## Where the pop comes from

-   If the sheet's last frame does not lead into its first, the flame jumps at the wrap, and no engine setting fixes that.
-   With Explosiveness above 0, a whole batch of particles is born and dies on the same frame, so they all restart together.
-   An emitter that starts empty grows the fire from nothing for one lifetime after the scene loads. Preprocess runs that time before the first frame.
-   A particle that ends at full opacity blinks out at its brightest. Fade alpha to 0 at the end of the Color Ramp.

02 // HOW TO

## Loop one campfire with AnimatedSprite3D

For a single fire in one spot, an `AnimatedSprite3D` plays a looping sheet with fewer settings than particles.

1.  Add an `AnimatedSprite3D` and create a new `SpriteFrames` resource in Sprite Frames.
2.  In the SpriteFrames panel, click Add Frames from Sprite Sheet, pick your sheet and set Horizontal and Vertical to the grid, 8 and 8 for 64 frames.
3.  Select all frames in order and add them.
4.  Set the animation speed to frames divided by loop length, 32 FPS for 64 frames over 2 seconds, and turn on Loop.
5.  Turn on Autoplay on Load for the animation, set Billboard to Enabled or Y-Billboard, and leave Shaded off so scene light does not darken the flame.
6.  Run the scene and watch the wrap for a full minute. If it still jumps, the sheet itself does not wrap.

For a fire built from many particles, keep the sheet looping in Particles Anim > Loop, set Explosiveness to 0 so births spread over the lifetime, and set Preprocess to one lifetime.

03 // WITH SPATIAL COMPILER

## Get a sheet that already wraps

Ask your agent for a looping fire. With `export.loop = true` the compile blends its last frames into its first (`loop_blend_frames`, 8 by default and 12 in the example fire) after a warm-up, so the flame is already burning in frame one. The report your agent reads flags a visible seam and names the setting to change.

In Godot 4 your agent drops the fire into a scene for you, and it loops on its own when it plays. The example fire is a 2 second loop of 64 frames, about 1.5 m across.

04 // REAL OUTPUT

## Fire loops from the example compiles

All three are 2 second loops; watch the wrap.

**FIRE\_WHIRLFINAL**

![First frame of the fire\_whirl bake](/bakes/fire_whirl/poster.webp)

Fire whirl, 4.4 x 7.1 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-fire_whirl)

**WINDOW\_FIREFINAL**

![First frame of the window\_fire bake](/bakes/window_fire/poster.webp)

Window fire, 3.9 x 4.7 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-window_fire)

05 // RELATED

## Related pages

-   [Godot steady fire Godot 4A steady fire about 1.5 m across that loops every 2 seconds, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-steady-fire/)
-   [First and last loop framesWhy the last frame of a loop should lead into the first rather than copy it, and how to blend a loop that wraps cleanly.](https://appliedmanifold.com/guides/loop-first-last-frame/)
-   [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/)
-   [Loop a flipbook in Unity UnityKeep a fire or smoke flipbook looping in a Unity Particle System by matching particle lifetime to whole cycles of the clip.](https://appliedmanifold.com/guides/unity-loop-flipbook/)
-   [Loop a flipbook in Niagara Unreal EngineLoop a fire or smoke flipbook without end in Niagara by looping the emitter at the clip length and bursting one particle per loop.](https://appliedmanifold.com/guides/unreal-loop-flipbook/)
-   [Loop a flipbook in Roblox Roblox StudioKeep a precomputed fire flipbook looping in Roblox Studio with Loop mode, one long-lived particle and a short Transparency cross-fade.](https://appliedmanifold.com/guides/roblox-loop-flipbook/)
-   [Bake and wireCall `bake` with a `.pyro.toml` spec and an output folder, then `wire` to write a Godot 4 scene with the six-way shader. `check`, `schema` and `sweep` support the loop.](https://appliedmanifold.com/docs/pyrofx/bake-and-wire/)

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

[← Flipbook on GPUParticles3D](https://appliedmanifold.com/guides/godot-flipbook-gpuparticles3d/)[Random start frame →](https://appliedmanifold.com/guides/godot-random-flipbook-start-frame/)

06 // FAQ

## Fire loop questions

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

**README.GODOT\_LOOP\_FIRE\_SPRITE\_SHEET**

### How do I make a fire particle system loop without visible popping in Godot?

Set Explosiveness to 0, give the emitter Preprocess time and fade each particle out at the end of its Color Ramp.

### How do I make fire particles rise and flicker instead of moving straight?

Give the process material a small upward velocity and turn on Turbulence so each particle wanders while the looping sheet supplies its own flicker.

### How do I make fire particles fade from yellow to orange to transparent?

Add a Color Ramp to ParticleProcessMaterial from yellow to orange to zero alpha and enable Vertex Color Use as Albedo on the draw material.

### How do I build a campfire effect in Godot?

Place one looping fire sheet on a billboard at the fire pit with an OmniLight3D above it and a thin smoke loop rising overhead.

### How many frames does a looping fire sheet need?

Multiply loop seconds by frames per second; the example fire loops 2 seconds across 64 frames, playing at 32 frames per second.

## 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) [Bake and wire →](https://appliedmanifold.com/docs/pyrofx/bake-and-wire/)

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