Spielerando

Make the liquid in a bottle slosh and tilt when the bottle is dragged

In a pouring puzzle the liquid should sway and wobble as the player drags the bottle, not stay as a flat bar. A surface that follows the drag instantly looks stiff, one that spills over the edge of the glass breaks the picture. Here is a small spring that sloshes with weight and always stays inside the bottle.

Why this works

Liquid is lazy: it stays behind when the bottle speeds up and swings on after it stops. Aiming the surface at where it would settle and letting it spring there gives the overshoot people expect, and the volume stays the same.

When not to use it

Skip it when the liquid must really flow, spill or mix, such as pouring into other glasses, or when the bottle is nearly full or empty. A single tilted line cannot show a splash or a separate drop.

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
  • 31 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 "Make the liquid in a bottle slosh and tilt when the bottle is dragged" (read_entry liquid-in-a-bottle-sloshes-when-the-bottle-is-moved) 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