Spielerando

Hallucinations that switch on and off at the edge of a sanity level, again and again

When sanity hovers around a threshold, whispers and visions flicker in and out with every tiny change, which looks broken and wears out the effect. Here is how to give each stage a different way in and way out, and what happens on a big jump.

Why this works

A threshold that is crossed in both directions at the same point flickers whenever the value hovers there. Giving every stage a separate way in and way out, and remembering which stage is active, turns a jittery signal into a calm, readable change.

When not to use it

Skip it when the effect should react instantly and honestly to every change, such as a gauge the player is meant to steer by. A delayed exit would mislead them; show the raw value and let it move freely.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 3 common mistakes and the fix
  • A diagram of every state
  • 20 lines of example code with 3 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "Hallucinations that switch on and off at the edge of a sanity level, again and again" (read_entry narr-hallucination-tiers-hysteresis) 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