summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua25
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 8ba5370..3888c3a 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
@@ -44,15 +44,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