GUIDE // ROBLOX STUDIO

How to make a Roblox fire flipbook loop continuously

Set your ParticleEmitter's FlipbookMode to Loop and FlipbookFramerate to the sheet's rate, up to 30 frames per second, the Roblox maximum. Keep one long-lived particle on screen at a time, emit the next one just before the last dies, and fade each in and out with Transparency so the hand-off never pops.

  • 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
Fire, 4.1 x 7.0 m, compiled with Spatial Compiler. Spec →

01 // HOW TO

Keep one fire burning

  1. Add an anchored Part where the fire sits, with Transparency 1 and CanCollide off, and insert a ParticleEmitter into it.
  2. Set Texture to your fire image, FlipbookLayout to Grid8x8, FlipbookMode to Loop and FlipbookFramerate to 30, the most Roblox allows.
  3. Set Rate to 0, Lifetime to 11.2, Speed to 0 and LockedToPart to true, and leave FlipbookStartRandom off.
  4. Set Transparency to a sequence that goes from 1 to 0 over the first 5 percent of the life and back to 1 over the last 5 percent.
  5. Set Orientation to FacingCameraWorldUp, which keeps the side-on flames upright when the camera looks down.
  6. Add KeepBurning.lua to the emitter so a new particle starts every five passes of the loop, 10.67 s.
KeepBurning.lua
local emitter = script.Parent -- the fire ParticleEmitter
local PASS = 64 / 30 -- one pass of the 64 frames at 30 frames per second

while true do
	emitter:Emit(1)
	task.wait(PASS * 5)
end

02 // WHY IT WORKS

Why the hand-off does not show

At 30 frames per second, one pass of the 64 frames takes 2.13 s, a little longer than the 2 s the fire was precomputed at. Five passes take 10.67 s, so each new particle starts on frame 0 at the moment the old one wraps back to frame 0. For the half second the two overlap, they show the same frame while one fades in and the other fades out.

Loop mode wraps from frame 63 to frame 0 by itself. A looping compile from Spatial Compiler blends its last frames into its first, so that wrap looks like any other step.

04 // FAQ

Roblox looping flipbook questions

All questions →

README.ROBLOX_LOOP_FLIPBOOK
How do I make a Roblox fire flipbook loop continuously?

Set FlipbookMode to Loop and FlipbookFramerate to the sheet rate up to 30, then emit overlapping particles with short fades. A 64 frame 2 second fire plays in 2.13 seconds.

How do I make fire particles in Roblox Studio with a flipbook?

Insert a ParticleEmitter in a Part, assign a fire flipbook with FlipbookLayout Grid8x8, set Speed to 0 to keep it in place and set LightEmission to 1.

How do I make realistic fire in Roblox Studio?

Use a precomputed fire flipbook instead of a single still image, add a PointLight to the same Part and pair the flames with a separate smoke emitter.

How do I play a sprite sheet animation in Roblox?

For world effects, use a ParticleEmitter flipbook with FlipbookLayout and FlipbookMode. For 2D interfaces, step an ImageLabel ImageRectOffset and ImageRectSize through the frames from a script.

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 →