Spielerando

Let frost spread from the edges of a window and clear where a hand touched

A freezing room is told by the window: frost grows from the corners towards the middle, and a hand wipes a clear patch that slowly closes again. The usual shortcut, a fading white layer, shows none of that. Here is how to get the growth, the uneven edge and the patch that refreezes, with melt faster than frost.

Why this works

Glass is coldest at the rim, so frost starts there and spreads inward when it stays cold. It melts faster than it forms, and a warm hand clears a patch that slowly freezes over again.

When not to use it

Skip it when the window is a view the player must see through, such as a lookout or a puzzle with a clue outside. Let the frost be a thin edge only, or give the player a way to wipe it all at once.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 3 common mistakes and the fix
  • 53 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 frost spread from the edges of a window and clear where a hand touched" (read_entry frost-creeps-in-from-the-edges-of-a-window) 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