Remove reset key bind
parent
2ed5c40518
commit
536ec12107
9
main.lua
9
main.lua
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue