Let a shooting star cross the sky now and then, never two in a hurry
A shooting star is a small gift in a quiet night scene, a moment of wonder or a sign in a story. Random chance each frame brings clusters of three, then nothing for minutes, and a replay never shows the same sky. Here is how to give the night a calm, repeatable rhythm with a promised minimum gap.
Why this works
Pure chance can bring two shooting stars in a row, which spoils the rarity. If each time slot holds at most one, placed inside the slot with margins, a gap between them is built in and the sky repeats after any time skip.
When not to use it
Don't use it for a meteor shower or a scripted wish, where the player expects many streaks or exactly one at a story moment. Choose the times yourself there, so the sky does what the scene needs.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- 44 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 shooting star cross the sky now and then, never two in a hurry" (read_entry shooting-stars-with-a-guaranteed-gap) 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