EFFECTS // GODOT 4

How to make a window fire in Godot 4

Ask your agent for a window fire venting flame and smoke from a burning room, and it arrives in your Godot 4 project ready to play. You get 64-frame sprite sheets, and wire places them in a scene with a shader that relights the smoke from your sun.

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

WINDOW_FIREFINAL
First frame of the window_fire bake
Window fire, 3.9 x 4.7 m, compiled with Spatial Compiler. Spec →

01 // WHAT YOU GET

What you get for window fire in Godot 4

The window fire is a burning room venting flame and smoke through a window. Three obstacles in the spec make the wall and the opening, so the flames curl out and up the way they do from a real window. The effect is about 3.9 m wide and 4.7 m tall and loops every 2 seconds.

You get four PNG sheets of 64 frames, a layout.json with the timing, and previews, played for you by the scene wire writes.

02 // HOW TO

Add the window fire to your Godot 4 scene

  1. Get a free API key and connect your agent to the hosted MCP server (see Install via MCP).
  2. Ask for the effect in plain words, for example "a fire venting from a second-floor window that loops". Your agent starts from the window_fire example and compiles it at draft quality (from $0.05) to check the look, then at final quality (from $0.10).
  3. Your agent calls wire with an output folder inside your project. It installs the lighting shader, sets the texture imports and writes a scene: a square quad sized from the compile's meters per tile, with its origin on the ground.
  4. Instance the scene where the window fire burns. It plays on its own and loops every 2 s, for as long as the node is in the tree.
  5. For many copies at once, ask your agent to wire it with set: ["node=particles"], which writes a GPUParticles3D that plays the same sheets.

03 // ADJUST IT

Adjust the window fire for your scene

Place it against a building so the flames come out of a window in your model. Only the fire and smoke are in the sheets, so your own building model supplies the wall. Ask for a wider window or heavier smoke to match the building.

04 // SETTINGS

Settings in the window fire spec

Three obstacles make the building: a block, the room carved out of it and the window carved through its front. The fire burns on the room floor.

window_fire.pyro.toml (excerpt)
# The building: fills the back of the box from the floor to the top. Its front is at Z = -0.5,
# which leaves 3 m of open air in front for the flame to roll out into.
[[obstacles]]
shape = "box"
position_m = [0, 4, -1.5]
size_m = [2.5, 4, 1.0]

# The room inside it, with a wall 0.2 m thick in front.
[[obstacles]]
shape = "box"
carve = true
position_m = [0, 1.3, -1.5]
size_m = [1.3, 1.1, 0.8]

# The window through that wall.
[[obstacles]]
shape = "box"
carve = true
position_m = [0, 1.5, -0.6]
size_m = [0.7, 0.65, 0.25]

Full window_fire spec →

06 // FAQ

Questions about window fire in Godot 4

All questions →

README.GODOT_WINDOW_FIRE
Is there a ready window fire effect for Godot?

Yes. Ask your agent for a looping fire venting from an upper window and it compiles from window_fire into a ready Godot scene.

How do I loop a window fire in Godot without visible popping?

Use a compile built as a loop. The window fire compile blends its last 12 frames into its first so it wraps smoothly every 2 s.

How do I make a realistic window fire in Godot?

Start from a simulated room fire instead of manual particles. Three obstacles shape the wall, room and window opening around the burning floor.

How do I keep the window fire in proportion in Godot?

The wired scene handles scale automatically with a square quad sized from meters per tile in layout.json and its origin on the ground.

Should the first and last frames of a window fire loop match in Godot?

Yes. The window fire compile blends its last 12 frames into its first so frame 64 leads smoothly back to frame 1 every 2 s.

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 →