From 9479825078e23b7354130df0f2d2e02ab2682575 Mon Sep 17 00:00:00 2001 From: yuki Date: Tue, 11 Nov 2025 20:10:03 -0300 Subject: [PATCH] add game wide f2 breakpoint --- main.lua | 4 ++++ rooms/CircleRoom.lua | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/main.lua b/main.lua index 11f6e89..8147762 100644 --- a/main.lua +++ b/main.lua @@ -68,6 +68,10 @@ function love.update(dt) if current_room then current_room:update(dt) end input:update(dt) if input:pressed('f1') then gotoRoom('CircleRoom') end + if input:pressed('up') then + -- debug breakpoint + print('break') + end if input:pressed('f3') then camera:shake(4, 60, 1) end if input:pressed('f12') then print("-------------------------------------") diff --git a/rooms/CircleRoom.lua b/rooms/CircleRoom.lua index 48b3254..a4588e7 100644 --- a/rooms/CircleRoom.lua +++ b/rooms/CircleRoom.lua @@ -35,11 +35,6 @@ function CircleRoom:update(dt) end end - if input:pressed('up') then - -- debug breakpoint - print('break') - end - self.timer:update(dt) end