From 245029aab7bee00eba5fab3bcbc6c7ea77bc2f06 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sat, 3 Dec 2016 19:43:19 -0300 Subject: Keep the code more KISS - part 4 --- .../scripts/load/button/default.lua | 3 +++ .../scripts/load/button/player1.lua | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/default.lua create mode 100644 src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button/player1.lua (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/button') 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', +} -- cgit v1.2.3-54-g00ecf