diff options
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game')
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua | 5 | ||||
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/frames.lua | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua index c9e513b..cab3b73 100644 --- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua @@ -40,10 +40,7 @@ function love.update(dt) character.bola.walk.start = character.bola.walk.start + (dt * character.bola.walk.fps) frames = { - bola = { - stand = # character.bola.stand, - walk = # character.bola.walk, - } + bola = require 'scripts.bola.frames' } game = { diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/frames.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/frames.lua new file mode 100644 index 0000000..dc499dd --- /dev/null +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/frames.lua @@ -0,0 +1,4 @@ +return { + stand = # character.bola.stand, + walk = # character.bola.walk, +} |