diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-23 15:41:03 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-23 15:41:03 -0300 |
commit | 46891abb64a80f2649542d6744835b83a25cde7f (patch) | |
tree | 17b5f5fd82a6dd18602f9bbfe86a4405485703a8 /src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts | |
parent | 5c100f942556e519d9a2effd53ff161a5f47cb7b (diff) |
Begin modularize the code
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts')
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/sprites.lua | 5 | ||||
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/player/1/button.lua | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/sprites.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/sprites.lua new file mode 100644 index 0000000..6d74524 --- /dev/null +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/sprites.lua @@ -0,0 +1,5 @@ +return { + image = love.graphics.newImage('multimedia/famicom/meta_sprites/bola/sheet0_color0_alpha.png'), + x = 24, + y = 32, +} diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/player/1/button.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/player/1/button.lua new file mode 100644 index 0000000..2fa1e36 --- /dev/null +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/player/1/button.lua @@ -0,0 +1,11 @@ +return { + left = 'a', + right = 'd', + up = 'w', + down = 's', + button0 = 'j', + button1 = 'k', + select = 'g', + start = 'h', + quit = 'escape', +} |