Remove reset key bind
This commit is contained in:
@@ -754,15 +754,6 @@ end
|
|||||||
function love.keypressed(key, scan_code, is_repeat)
|
function love.keypressed(key, scan_code, is_repeat)
|
||||||
if key == 'escape' then
|
if key == 'escape' then
|
||||||
love.event.quit()
|
love.event.quit()
|
||||||
elseif key == 'r' then
|
|
||||||
game.next_bubble.x = game.launcher_x
|
|
||||||
game.next_bubble.y = game.launcher_y
|
|
||||||
game.next_bubble.velocity_x = 0
|
|
||||||
game.next_bubble.velocity_y = 0
|
|
||||||
game.next_bubble.bubble_type = get_next_bubble_type(
|
|
||||||
game.next_bubble_index, {1,2,3,4,5,6,7,8}
|
|
||||||
)
|
|
||||||
game.paused = false
|
|
||||||
elseif key == 'space' then
|
elseif key == 'space' then
|
||||||
game.paused = not game.paused
|
game.paused = not game.paused
|
||||||
elseif key == 'n' and game.paused then
|
elseif key == 'n' and game.paused then
|
||||||
|
|||||||
Reference in New Issue
Block a user