diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-22 22:20:00 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-22 22:20:00 +0200 |
commit | a8c3aba91e994c29b224279d401691ae39412db1 (patch) | |
tree | 6dd3a0ebeed4f2d8ca365745d5851efdd8dfb610 | |
parent | 97286c4456282048085f1a6641e01715a4f7fc5f (diff) | |
download | roflnauts-a8c3aba91e994c29b224279d401691ae39412db1.zip roflnauts-a8c3aba91e994c29b224279d401691ae39412db1.tar.gz roflnauts-a8c3aba91e994c29b224279d401691ae39412db1.tar.bz2 |
Emo request
-rw-r--r-- | ground.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ function Ground:draw (offset_x, offset_y, scale, debug) local debug = debug or false -- sprite draw love.graphics.setColor(255,255,255,255) - love.graphics.draw(self.sprite, (self.body:getX()-math.ceil(self.sprite:getWidth()/2)+offset_x)*scale, (self.body:getY()+offset_y)*scale, 0, scale, scale) + love.graphics.draw(self.sprite, (self.body:getX()+offset_x)*scale, (self.body:getY()+offset_y)*scale, 0, scale, scale) -- debug draw if debug then love.graphics.setColor(220, 220, 220, 100) |