Make bubbles rise at their own speed, wobble and merge into bigger ones
Bubbles that all rise at the same speed with the same wiggle look like a pattern, not like water. Big and small bubbles behave differently, and when two touch they should become one without the screen suddenly gaining or losing bubble material. Here is how size drives the motion and the merge.
Why this works
Real bubbles differ by size in everything at once: bigger ones rise faster but only a little, swing wider and slower, and joining keeps the amount of air, not the width. Letting size drive every property makes the whole group feel consistent.
When not to use it
Skip it for a large crowd of bubbles, such as a foam or a fizzy drink, because checking every pair gets slow. Use a cheaper look there: no merging, just a few sizes drawn in layers.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- 54 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 bubbles rise at their own speed, wobble and merge into bigger ones" (read_entry bubbles-rise-wobble-by-size-and-merge-when-they-touch) 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