add game wide f2 breakpoint

This commit is contained in:
yuki 2025-11-11 20:10:03 -03:00
parent 465258b240
commit 9479825078
2 changed files with 4 additions and 5 deletions

View file

@ -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("-------------------------------------")

View file

@ -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