From 9a9bdf0232b45db4f0b6fcde8604c8a8a622f608 Mon Sep 17 00:00:00 2001 From: Tyler Scott Date: Wed, 9 Feb 2022 23:24:46 +0700 Subject: [PATCH] Adjust threshold for squeezing bubbles through gaps --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 0ab70c0..689304c 100644 --- a/main.lua +++ b/main.lua @@ -149,7 +149,7 @@ local function move_bubble(x, y, velocity_x, velocity_y) local diff_x = new_x - slot.x local diff_y = new_y - slot.y local dist = math.sqrt(diff_x * diff_x + diff_y * diff_y) - if dist <= game.bubble_diameter - 3 then -- -3 to allow squeezing through + if dist <= game.bubble_diameter - 6 then -- -6 to allow squeezing through should_stop = true break end