EFFECTS // UNITY

How to make a fireball in Unity

In Unity, you can play a fireball that bursts from the ground and rolls upward in 3.7 seconds. Your agent makes PNG sprite sheets of 64 frames, and the Particle System's Texture Sheet Animation, with Tiles set to 8 by 8, plays them once.

  • 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 // WHAT YOU GET

What you get for fireball in Unity

The fireball is a fuel explosion that bursts from the ground, swells, rolls at its edge and rises, about 9.4 m wide and 13.4 m tall at its peak. It plays once over 3.7 seconds. More of its 64 frames go to the fast first moments, so the burst does not look choppy.

You get four PNG sheets of 64 frames, a layout.json with the timing, and previews, which Unity plays through a small material.

02 // BY HAND TODAY

Set up the fireball in Unity by hand

  1. Ask your agent for the effect (for example "a fireball about half the size of the example, played once") and download the output folder. Import main_pos.png, main_neg.png and main_colour.png with Wrap Mode set to Clamp and Alpha Is Transparency off. They are data your material reads, not finished pictures, and the alpha of main_neg.png holds flame brightness, which that option would treat as transparency.
  2. Make a material for a Particle System. The quick setup uses the alpha of main_pos.png as opacity and its green channel (light from above) as brightness, tinted with your smoke color, and adds the flame on top: main_colour.png times the squared alpha of main_neg.png times scales.emit_max_hdr from layout.json. Shader Graph's Flipbook node or a small custom shader can read the sheets.
  3. In the Texture Sheet Animation module, set Mode to Grid, Tiles X and Y to 8 and Animation to Whole Sheet.
  4. Turn Looping off, emit one particle with a Burst, set Start Lifetime to 4 s, Cycles to 1 and Stop Action to Destroy. The fireball's frames crowd its fast start, so key Frame over Time from the frame times in layout.json (frame index divided by 64 against time divided by 4 s), or ask for a compile with export.pacing = "even" and keep a linear curve from 0 to 1.
  5. Keep the particle square and set its size to the meters per tile in layout.json, a little over 13.4 m for the fireball, so it shows at its real scale.

03 // ADJUST IT

Adjust the fireball for your scene

Use it for vehicles, fuel tanks and big set pieces. Ask your agent for a smaller fireball, a darker smoke cap, or several seeds so a chain of explosions does not repeat the same shape.

04 // SETTINGS

Settings in the fireball spec

A short burst of hot fuel starts at ground level and burns only where it meets air, so the ball burns at its rolling surface instead of all at once.

Ask your agent to change these and compile again; the full fireball spec lists every value.

06 // FAQ

Questions about fireball in Unity

All questions →

README.UNITY_FIREBALL
Is there a fireball effect for Unity?

Start from the fireball example and ask your agent for a smaller burst that plays once, then use the sheets in Unity.

How do I play the fireball once instead of looping it in Unity?

Turn Looping off, emit one particle with a Burst, set Start Lifetime to 4 s and key Frame over Time from layout.json.

How do I make a realistic fireball in Unity?

Use a simulated fireball instead of manual particles. Hot fuel bursts at ground level and burns where it meets air.

How do I keep the fireball in proportion in Unity?

Keep the particle square because every tile is square. Set 3D Start Size from meters per tile in layout.json, just over 13.4.

How many frames should an explosion fireball effect use in Unity?

The fireball compile uses 64 frames over 3.7 seconds, giving more frames to the fast burst and ending on an empty frame.

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 →