summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/keypressed.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/keypressed.lua')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/keypressed.lua29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/keypressed.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/keypressed.lua
deleted file mode 100644
index 1035b05..0000000
--- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/keypressed.lua
+++ /dev/null
@@ -1,29 +0,0 @@
-game.keypressed = function(character, key, scancode, isrepeat)
- isrepeat = true
-
- if scancode == button.quit then
- love.event.quit()
- end
-
- if scancode == button.a then
- character.actionA = true
- character.actionDown = false
- character.actionUp = false
- end
-
- if scancode == button.left then
- character.actionLeft = true
- end
-
- if scancode == button.right then
- character.actionRight = true
- end
-
- if scancode == button.up and character.jump.isJumping == false then
- character.actionUp = true
- end
-
- if scancode == button.down and character.jump.isJumping == false then
- character.actionDown = true
- end
-end