diff options
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua (renamed from test0/main.lua) | 19 | ||||
l--------- | src/gnu_and_bola_-_the_libre_beat_em_up_game/multimedia/famicom/meta_sprites/bola/sheet0_color0_alpha.png | 1 | ||||
-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 | ||||
l--------- | test0/metaspritessheet0_color0_alpha.png | 1 |
5 files changed, 19 insertions, 18 deletions
diff --git a/test0/main.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua index b64ce9b..aa2cc2e 100644 --- a/test0/main.lua +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua @@ -19,24 +19,9 @@ function love.load() love.window.setMode(windowProfile.mode.width * windowProfile.scale.x, windowProfile.mode.height * windowProfile.scale.y) love.window.setTitle(windowProfile.title) - button = { - left = 'a', - right = 'd', - up = 'w', - down = 's', - button0 = 'j', - button1 = 'k', - select = 'g', - start = 'h', - quit = 'escape', - } - + button = require 'scripts.player.1.button' sprites = { - bola = { - image = love.graphics.newImage('metaspritessheet0_color0_alpha.png'), - x = 24, - y = 32, - } + bola = require 'scripts.bola.sprites' } character = { diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/multimedia/famicom/meta_sprites/bola/sheet0_color0_alpha.png b/src/gnu_and_bola_-_the_libre_beat_em_up_game/multimedia/famicom/meta_sprites/bola/sheet0_color0_alpha.png new file mode 120000 index 0000000..d87644a --- /dev/null +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/multimedia/famicom/meta_sprites/bola/sheet0_color0_alpha.png @@ -0,0 +1 @@ +../../../../../../mlt/gnu_and_bola_adventure/fc/gph/spr/bola0/metaspritessheet0_color0_alpha.png
\ No newline at end of file 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', +} diff --git a/test0/metaspritessheet0_color0_alpha.png b/test0/metaspritessheet0_color0_alpha.png deleted file mode 120000 index af63ed9..0000000 --- a/test0/metaspritessheet0_color0_alpha.png +++ /dev/null @@ -1 +0,0 @@ -../mlt/gnu_and_bola_adventure/fc/gph/spr/bola0/metaspritessheet0_color0_alpha.png
\ No newline at end of file |