diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-11-24 02:25:48 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-11-24 02:42:09 -0300 |
commit | 61803e6ea2e0ff2e19f2e74cc51dac521c214277 (patch) | |
tree | 06d31297566697398aac52b35d4d38183ee81b51 /src | |
parent | ec2c885fe7eae2408c63169b97894927a67014c4 (diff) |
Add draw.bola table from love.graphics.draw()
Diffstat (limited to 'src')
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua | 25 |
1 files changed, 14 insertions, 11 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 393e447..0417221 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 @@ -54,15 +54,18 @@ function love.draw() love.graphics.scale(windowProfile.scale.x, windowProfile.scale.y) love.graphics.print('FPS: ' .. love.timer.getFPS(), 0, 0) - love.graphics.draw( - metaSprites.bola.image, - quad.bola, - character.bola.position.x, - character.bola.position.y, - character.bola.orientation, - character.bola.scale.x, - character.bola.scale.y, - character.bola.origin.x, - transform.bola.origin.y - ) + + draw = { + bola = love.graphics.draw( + metaSprites.bola.image, + quad.bola, + character.bola.position.x, + character.bola.position.y, + character.bola.orientation, + character.bola.scale.x, + character.bola.scale.y, + character.bola.origin.x, + transform.bola.origin.y + ) + } end |