add game wide f2 breakpoint
This commit is contained in:
parent
465258b240
commit
9479825078
2 changed files with 4 additions and 5 deletions
4
main.lua
4
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("-------------------------------------")
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue