Let a forest fire spread tile by tile, with wind, at the same speed on any screen
A burning forest in a story must be readable: where it started, which way the wind pushes it, and how long until it reaches the cabin. Easy versions race along one row in a single frame, favour one direction by accident, or run faster on a fast computer. Here is how to make a fire that spreads fairly and repeats exactly.
Why this works
Fire spreads from what is burning now, not from what burned a moment ago in the same pass. Working in fixed beats and reading from the old picture while writing the new one makes the fire move at the same speed on any machine.
When not to use it
Don't use it for a fire that is a scripted set piece with an exact path or time, like a burning bridge in a chase. Animate the path by hand there, because chance would spoil the timing.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- 61 lines of example code with 4 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "Let a forest fire spread tile by tile, with wind, at the same speed on any screen" (read_entry wildfire-spreads-by-fixed-ticks) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP