summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-03 19:43:19 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-03 19:43:19 -0300
commit245029aab7bee00eba5fab3bcbc6c7ea77bc2f06 (patch)
treedb931905c44d7c29a3fecd0c2ad2002f23c9f169 /src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button
parent61207011c466bc9cd7d4f275d6befabee1b75ae7 (diff)
Keep the code more KISS - part 4
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/default.lua3
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/player1.lua11
2 files changed, 14 insertions, 0 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/default.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/default.lua
new file mode 100644
index 0000000..dafde7a
--- /dev/null
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/default.lua
@@ -0,0 +1,3 @@
+load.button = function()
+ button = require 'scripts.load.button.player1'
+end
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/player1.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/player1.lua
new file mode 100644
index 0000000..2875f74
--- /dev/null
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/player1.lua
@@ -0,0 +1,11 @@
+return {
+ left = 'a',
+ right = 'd',
+ up = 'w',
+ down = 's',
+ a = 'j',
+ b = 'k',
+ select = 'g',
+ start = 'h',
+ quit = 'escape',
+}