---
title: "Game effect guides: flipbooks, loops and lighting"
description: "Step-by-step answers for game effects: loop a fire sprite sheet, play an explosion once, randomize frames and light smoke in Godot, Unity, Unreal and more."
canonical: https://appliedmanifold.com/guides/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  Guides

GUIDES // EFFECTS

# Game effect guides, one question each

You can follow numbered steps for a specific effects job, such as looping a fire sprite sheet in Godot 4, playing an explosion once in Unity or setting a Roblox flipbook grid. Each guide answers one question with steps that work today and shows a real effect to try them on.

[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 // ALL GUIDES

## Guides by engine

### Godot 4

Steps that work by hand today, plus the path where your agent sets up the scene.

-   [Flipbook on GPUParticles3D Godot 4Set up a GPUParticles3D, ParticleProcessMaterial and Particle Billboard material so each particle in Godot 4 plays a flipbook sheet.](https://appliedmanifold.com/guides/godot-flipbook-gpuparticles3d/)
-   [Loop a fire sheet Godot 4Find why a fire loop pops in Godot 4 and fix it in the sheet, the AnimatedSprite3D or the GPUParticles3D emitter settings.](https://appliedmanifold.com/guides/godot-loop-fire-sprite-sheet/)
-   [Random start frame Godot 4Use Animation Offset and Particles Anim Loop in Godot 4 so each particle starts its flipbook on a different frame.](https://appliedmanifold.com/guides/godot-random-flipbook-start-frame/)
-   [Smoke and scene lighting Godot 4Light smoke particles in Godot 4 with a lit material, Backlight and normal maps, or six-way sheets that follow the sun.](https://appliedmanifold.com/guides/godot-smoke-scene-lighting/)
-   [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/)
-   [Dust puff on landing Godot 4Trigger a one-shot dust puff in Godot 4 when a CharacterBody3D lands, with ground-hugging particles and an optional precomputed dust ring.](https://appliedmanifold.com/guides/godot-dust-landing-effect/)
-   [Fire that lights the scene Godot 4Light the area around a fire in Godot 4 with a flickering OmniLight3D and make the flame bloom with WorldEnvironment glow.](https://appliedmanifold.com/guides/godot-fire-light-nearby-objects/)
-   [Particles facing the camera Godot 4Pick the right billboard mode in Godot 4 so particle quads face the camera, stay upright or lie on the ground.](https://appliedmanifold.com/guides/godot-billboard-particles/)
-   [Smoke that is not flat Godot 4Diagnose why smoke particles look like flat cards in Godot 4 and fix each cause with Proximity Fade, randomness and lighting.](https://appliedmanifold.com/guides/godot-smoke-not-flat/)
-   [Particle performance Godot 4Find and cut the real costs of particle effects in Godot 4: overdraw, shadows, off-screen work and oversized sprite sheets.](https://appliedmanifold.com/guides/godot-particle-performance/)
-   [Drive an effect from code Godot 4Pause, slow, rewind or sync a flipbook effect from GDScript in Godot 4 by driving its clip time from your own clock.](https://appliedmanifold.com/guides/godot-drive-effect-from-code/)
-   [Import a sprite sheet Godot 4Import a PNG sprite sheet into Godot 4, choose the import settings that matter for effects and cut the grid on the node.](https://appliedmanifold.com/guides/godot-import-sprite-sheet/)
-   [Explosion sound and shake Godot 4Fire an explosion, its 3D sound and a decaying camera shake together in Godot 4, with the sound delayed by distance.](https://appliedmanifold.com/guides/godot-explosion-sound-shake/)
-   [Dust along the ground Godot 4Keep dust particles low and flat in Godot 4 with Flatness, damping, Proximity Fade, flat cards and terrain collision.](https://appliedmanifold.com/guides/godot-dust-along-ground/)
-   [Varied explosions Godot 4Keep repeated explosions in Godot 4 from looking identical with random variants, small scale and timing changes and mixed layers.](https://appliedmanifold.com/guides/godot-varied-explosions/)

### Unity

Enable Texture Sheet Animation on the built-in Unity Particle System to play sprite sheets.

-   [Import a flipbook in Unity UnityBring a PNG fire or smoke flipbook into Unity with the right import settings and a single RGBA texture for the particle material.](https://appliedmanifold.com/guides/unity-import-flipbook/)
-   [Texture Sheet Animation UnityConfigure the Unity Particle System Texture Sheet Animation module for an 8 x 8 flipbook, by hand or with a short C# script.](https://appliedmanifold.com/guides/unity-texture-sheet-animation/)
-   [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/)
-   [Play an explosion once UnityMake a Unity Particle System play an explosion flipbook a single time and destroy itself, with a prefab and a spawn script.](https://appliedmanifold.com/guides/unity-play-explosion-once/)
-   [Random start frame UnityGive each Unity flipbook particle a random start frame so many copies of one looping fire or smoke stop moving in sync.](https://appliedmanifold.com/guides/unity-random-start-frame/)
-   [Fire glow in Unity UnityMake Unity fire flipbooks glow with an additive HDR material and Bloom, while the smoke stays on a separate alpha-blended material.](https://appliedmanifold.com/guides/unity-fire-glow/)
-   [Lit smoke in Unity UnityLight flipbook smoke in Unity with a URP lit particle material and a precomputed lighting channel chosen to match your sun.](https://appliedmanifold.com/guides/unity-smoke-lighting/)
-   [Flipbook blending in Unity UnityCross-fade between flipbook frames in Unity with Flip-Book Blending and two custom vertex streams, and see where motion vectors fit.](https://appliedmanifold.com/guides/unity-flipbook-blending/)

### Unreal Engine

Set Sub Image Size and add the Sub UV Animation module in Unreal Niagara.

-   [Import a sprite sheet in UE5 Unreal EngineImport PNG fire and smoke sprite sheets into Unreal Engine 5 with the right texture settings for a Niagara material.](https://appliedmanifold.com/guides/unreal-import-sprite-sheet/)
-   [Niagara Sub UV setup Unreal EngineSet Sub Image Size, a Particle SubUV material and the Sub UV Animation module so a Niagara sprite plays an 8 x 8 flipbook.](https://appliedmanifold.com/guides/unreal-niagara-subuv/)
-   [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/)
-   [Play an explosion once Unreal EngineMake a Niagara emitter play an explosion flipbook a single time and clean itself up, with an optional hold on the last frame.](https://appliedmanifold.com/guides/unreal-explosion-play-once/)
-   [Random start frame Unreal EngineGive Niagara flipbook particles a random start frame with a spawn-time offset and a wrapped Sub Image Index expression.](https://appliedmanifold.com/guides/unreal-random-start-frame/)
-   [Sub UV blending Unreal EngineCross-fade Niagara flipbook frames with Sub UV blending, and see what motion vectors and mip settings add.](https://appliedmanifold.com/guides/unreal-subuv-blending/)
-   [Emissive fire in Niagara Unreal EngineMake a flipbook fire glow in Unreal Engine with an unlit additive material that decodes flame color and brightness from two sheets.](https://appliedmanifold.com/guides/unreal-emissive-fire/)
-   [Lit smoke in Unreal Unreal EngineLight flipbook smoke in Unreal Engine with a translucent Default Lit material, and see what full six-way relighting would take.](https://appliedmanifold.com/guides/unreal-lit-smoke/)

### Roblox Studio

Set FlipbookLayout on a Roblox ParticleEmitter to play uploaded flipbook sheets.

-   [Import a flipbook in Roblox Roblox StudioUpload a fire or smoke flipbook to Roblox Studio as one 1024 px RGBA image and assign it to a ParticleEmitter.](https://appliedmanifold.com/guides/roblox-import-flipbook/)
-   [Roblox flipbook layout Roblox StudioChoose the right FlipbookLayout for a Roblox ParticleEmitter, and re-tile sheets whose grid Roblox does not accept.](https://appliedmanifold.com/guides/roblox-flipbook-layout/)
-   [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/)
-   [Play a flipbook once Roblox StudioTrigger an explosion flipbook a single time in Roblox Studio with OneShot mode, Emit and Debris cleanup.](https://appliedmanifold.com/guides/roblox-play-flipbook-once/)
-   [Random start frame Roblox StudioStart each Roblox flipbook particle on a random frame with FlipbookStartRandom, and vary one-shot explosions with separate emitters.](https://appliedmanifold.com/guides/roblox-random-start-frame/)
-   [Roblox flipbook framerate Roblox StudioWork out and set FlipbookFramerate for a Roblox ParticleEmitter, and see why OneShot mode uses Lifetime instead.](https://appliedmanifold.com/guides/roblox-flipbook-framerate/)
-   [Fire glow in Roblox Roblox StudioMake flipbook fire glow in Roblox Studio with LightEmission, Brightness, a BloomEffect and a PointLight.](https://appliedmanifold.com/guides/roblox-fire-glow/)
-   [Lit smoke in Roblox Roblox StudioMake flipbook smoke in Roblox Studio respond to scene light with LightInfluence and a precomputed light direction that matches your sun.](https://appliedmanifold.com/guides/roblox-smoke-lighting/)

### three.js

Code for sprites and sprite sheets, plus a documented snippet that plays the packed sheet on a Sprite.

-   [Load a sprite sheet three.jsLoad a PNG fire or smoke sprite sheet in three.js and show one frame on a camera-facing sprite.](https://appliedmanifold.com/guides/threejs-load-sprite-sheet/)
-   [Sprite sheet UV math three.jsTurn a frame number into texture offset and repeat values for a three.js sprite sheet, in JavaScript and in GLSL.](https://appliedmanifold.com/guides/threejs-sprite-sheet-uv/)
-   [Loop a sprite animation three.jsLoop a fire or smoke sprite sheet in three.js from elapsed time, so it plays at the same speed on every screen.](https://appliedmanifold.com/guides/threejs-loop-sprite-animation/)
-   [Play an explosion once three.jsPlay an explosion sprite sheet once in three.js, then remove the sprite and free its material and texture.](https://appliedmanifold.com/guides/threejs-play-once/)
-   [Random start frame three.jsPlay one looping sprite sheet on many three.js sprites out of step with a random frame offset per sprite.](https://appliedmanifold.com/guides/threejs-random-start-frame/)
-   [Additive fire three.jsMake a three.js fire flipbook glow with additive blending and a ShaderMaterial that decodes flame color and brightness.](https://appliedmanifold.com/guides/threejs-additive-fire/)
-   [Smoke blending three.jsBlend flipbook smoke over a three.js scene with normal blending, no depth writes and a small shader that reads the sheet.](https://appliedmanifold.com/guides/threejs-smoke-blending/)
-   [Sprites that face the camera three.jsKeep three.js fire and smoke facing the camera with THREE.Sprite or an upright Y-axis billboard that suits side-on sheets.](https://appliedmanifold.com/guides/threejs-sprites-face-camera/)

### Any engine

Frames, frame rate, seams, blending and resolution.

-   [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/)
-   [Frames for explosionsChoose a frame count for a one-shot explosion flipbook and check its first and last frames, with real fireball and impact data.](https://appliedmanifold.com/guides/frames-for-explosion-effect/)
-   [Flipbook frame rateSet a flipbook playback rate from frame count and clip length, with the matching setting in Godot 4, Unity, Unreal, Roblox and three.js.](https://appliedmanifold.com/guides/flipbook-frame-rate/)
-   [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/)
-   [Sprite sheet seamsStop neighboring cells bleeding into a sprite sheet frame with padding, even tile sizes, clamping and mipmap limits.](https://appliedmanifold.com/guides/sprite-sheet-seams/)
-   [Blend flipbook framesBlend flipbook frames with a crossfade or with motion vectors, and where Unity, Unreal, Godot 4 and three.js support each.](https://appliedmanifold.com/guides/blend-flipbook-frames/)
-   [Flipbook stutterTrack down flipbook stutter step by step: grid, frame count, playback rate, loop wrap, screen refresh and frame blending.](https://appliedmanifold.com/guides/flipbook-stutter/)
-   [Sprite sheet resolutionPick a VFX sprite sheet resolution from on-screen size, with tile and sheet dimensions for 128, 256 and 512 px frames.](https://appliedmanifold.com/guides/vfx-sprite-sheet-resolution/)
-   [Make a VFX sprite sheetRender, frame and pack an effect into a VFX sprite sheet by hand, or ask your agent for one precomputed from a simulation.](https://appliedmanifold.com/guides/make-vfx-sprite-sheet/)

02 // FAQ

## Guide questions

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

**README.GUIDES**

### How does a flipbook texture work in a game engine?

The engine draws a quad and shows one cell of the sheet at a time, moving to the next cell as the particle ages.

### How do I set the row and column count for a flipbook?

Match the grid of the sheet, which is 8 rows and 8 columns for these effects across Unity, Niagara, Godot and Roblox.

### Why does my flipbook animation stutter or skip frames?

Usually the playback rate does not match the frame count and lifetime or frames are not blended. Matching both fixes the stutter.

### How do I create a sprite sheet for a VFX effect?

Simulate the effect, render each frame from a fixed camera and pack the frames into a grid. Spatial Compiler automates all three steps.

## 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) [Read the docs →](https://appliedmanifold.com/docs/)

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