diff options
-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 |