From 249f3749b9ca2e89f64989a11f6eda7dc1b0e29b Mon Sep 17 00:00:00 2001 From: yuki Date: Mon, 10 Nov 2025 03:51:08 -0300 Subject: [PATCH] switch circle modes with left --- rooms/Stage.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rooms/Stage.lua b/rooms/Stage.lua index 7f45d3d..471113f 100644 --- a/rooms/Stage.lua +++ b/rooms/Stage.lua @@ -24,6 +24,15 @@ function Stage:update(dt) end end + if input:pressed('left') then + for _, game_object in ipairs(self.area.game_objects) do + if game_object:is(Circle) then + ---@cast game_object Circle + if game_object.mode == "fill" then game_object.mode = "line" else game_object.mode = "fill" end + end + end + end + self.timer:update(dt) end