diff options
author | Jorge <jorginho@riseup.net> | 2016-11-23 20:47:41 +0100 |
---|---|---|
committer | Jorge <jorginho@riseup.net> | 2016-11-23 20:47:41 +0100 |
commit | 95f1c940148afff52622bf1086790f9dc4eeb1c1 (patch) | |
tree | ea4d46924b22fd61755735bbae24e657adc0750d /src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/run.lua | |
parent | f549bdf5d2596339fc203421cb49166c3dec90f2 (diff) |
Modularize character.bola.crouch, charancter.bola.run, character.bola.walk and character.bola
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/run.lua')
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/run.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/run.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/run.lua new file mode 100644 index 0000000..42846e5 --- /dev/null +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/run.lua @@ -0,0 +1,12 @@ +return { + love.graphics.newQuad(sprites.bola.x * 0, sprites.bola.y * 1, sprites.bola.x, sprites.bola.y, sprites.bola.image:getDimensions()), + love.graphics.newQuad(sprites.bola.x * 1, sprites.bola.y * 1, sprites.bola.x, sprites.bola.y, sprites.bola.image:getDimensions()), + love.graphics.newQuad(sprites.bola.x * 2, sprites.bola.y * 1, sprites.bola.x, sprites.bola.y, sprites.bola.image:getDimensions()), + love.graphics.newQuad(sprites.bola.x * 1, sprites.bola.y * 1, sprites.bola.x, sprites.bola.y, sprites.bola.image:getDimensions()), + love.graphics.newQuad(sprites.bola.x * 0, sprites.bola.y * 1, sprites.bola.x, sprites.bola.y, sprites.bola.image:getDimensions()), + love.graphics.newQuad(sprites.bola.x * 3, sprites.bola.y * 1, sprites.bola.x, sprites.bola.y, sprites.bola.image:getDimensions()), + love.graphics.newQuad(sprites.bola.x * 4, sprites.bola.y * 1, sprites.bola.x, sprites.bola.y, sprites.bola.image:getDimensions()), + love.graphics.newQuad(sprites.bola.x * 3, sprites.bola.y * 1, sprites.bola.x, sprites.bola.y, sprites.bola.image:getDimensions()), + start = 1, + fps = 12, +} |