summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/draw.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/draw.lua')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/draw.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/draw.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/draw.lua
new file mode 100644
index 0000000..43266bb
--- /dev/null
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/draw.lua
@@ -0,0 +1,13 @@
+game.draw = function(metaSprites, quad, character)
+ love.graphics.draw(
+ metaSprites.image,
+ quad,
+ character.position.x,
+ character.position.y,
+ character.orientation,
+ character.scale.x,
+ character.scale.y,
+ character.origin.x,
+ character.origin.y
+ )
+end