---
title: "Fire effect for strategy games: burning buildings"
description: "A burning building in a strategy game is a loop that runs for minutes. Use the 2 s window or ground fire loop, keyed to damage and seen from above."
canonical: https://appliedmanifold.com/effects/strategy-fire-effect/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Effects](https://appliedmanifold.com/effects/)
3.  [VFX for games](https://appliedmanifold.com/effects/vfx-for-games/)
4.  Strategy fire

GAMES // STRATEGY FIRE

# Fire effects for a strategy game

In a strategy game a damaged building burns for minutes, so you want a fire loop that never shows its wrap and grows with the damage. Use a 2 s window fire for buildings and a 2 s ground fire for wrecks, and add or enlarge flames as the building's health drops past each threshold.

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

**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)

01 // DAMAGE STATES

## Fire that follows building health

Key the flames to damage in stages like these, with each scene's origin on the ground where it burns:

-   At two-thirds health, one window fire on the side that faces the camera.
-   At one-third health, a second window fire and a ground `fire` at the base, scaled to the footprint.
-   Destroyed, the ground fire alone on the rubble, shrunk away over 20 to 30 s.

Each fire is a 2 s loop that blends its last 12 frames into its first, so it can run for the rest of the match without a visible jump.

02 // CAMERA

## Fire seen from above

The compile camera is side-on by default. Flames rise, so a side-on fire still reads on a camera-facing quad when your camera tilts down 40 to 50 degrees. For a steeper, near top-down camera, ask your agent to add a view with a `pitch_deg` that matches it; each view writes its own sheets.

From 60 m, the 4.7 m window fire is about 55 px tall on a 1080p screen. Compiling with `export.tile_px = 128` (a 1024 px sheet) still holds more detail than the screen can show.

03 // MANY AT ONCE

## Thirty burning buildings

A siege can leave dozens of fires running. Each is a transparent quad, and where they overlap the pixels are drawn again (overdraw), so a burning city block costs more than the same fires spread across the map.

Give each fire a random start inside the 2 s loop so neighboring buildings do not flare together. With `wire` and `set: ["node=particles"]` you get a `GPUParticles3D`. On a by-hand one, the `ParticleProcessMaterial` Animation Offset (Min 0, Max 1) gives every particle its own start frame.

Real lights add up fast. Let the HDR flame and glow carry most fires, and give an `OmniLight3D` only to the few nearest the camera.

04 // REAL OUTPUT

## Window fire and ground fire loops

The window fire includes the wall it vents from. The ground fire is about 1.5 m across at the base.

**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)

05 // RELATED

## Related pages

-   [Godot fire Godot 4A looping fire, from a burning wreck to a fire whirl or a window fire, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-fire/)
-   [Shooter fireSet the side-on window fire loop into the windows of a shooter map, offset each start and light the street.](https://appliedmanifold.com/effects/shooter-fire-effect/)
-   [Tower defense firePlay the 2 s fire loop for exactly as long as a tower defense burn zone lasts, and keep the fire whirl for big attacks.](https://appliedmanifold.com/effects/tower-defense-fire-effect/)
-   [Strategy smokeLoop smoke plumes over strategy wrecks and bases, and check how the wind lean and the units behind them look under your camera.](https://appliedmanifold.com/effects/strategy-smoke-effect/)
-   [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/)
-   [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/)
-   [ExamplesThe hosted pyrofx recipes are fire, fireball, fire\_whirl, window\_fire, smoke\_column, smoke\_plume, dust\_ring, impact, kickup\_soil and kickup\_masonry. The rendered starter library retains its recorded compile version; each example links its report.](https://appliedmanifold.com/docs/pyrofx/examples/)

[All pages in VFX for games →](https://appliedmanifold.com/effects/vfx-for-games/)

[← Strategy explosions](https://appliedmanifold.com/effects/strategy-explosion-effect/)[Strategy smoke →](https://appliedmanifold.com/effects/strategy-smoke-effect/)

06 // FAQ

## Strategy fire questions

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

**README.STRATEGY\_FIRE\_EFFECT**

### How do I randomize the starting frame of each burning building in a strategy game?

Set Animation Offset Min to 0 and Max to 1 on ParticleProcessMaterial or start separate scenes at random time\_s values between 0 and 2.

### Is there a light limit for many fires on a strategy map?

Yes. Renderers cap how many lights affect a view, so light only fires near the camera and let HDR flame glow handle the rest.

### How many frames are needed for a looping strategy fire?

The fire examples use 64 frames over a 2 s loop at 32 frames per second, blending the last 12 frames into the first.

### How do I show a building burning progressively in a strategy game?

Place window fire scenes at windows and ground fire at the base with origins on the ground, switching them on as health drops.

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

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