diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-01 18:06:22 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-01 18:06:22 +0200 |
commit | c2581f62e0cd3b788877f9289964716b071eb7f4 (patch) | |
tree | f3dbd068daf2f7f7bf2eb24da5bc6324d5cdde33 /ground.lua | |
parent | 12af452c3ff9686502c9a83dbd088b88e5b7cefb (diff) | |
download | roflnauts-c2581f62e0cd3b788877f9289964716b071eb7f4.zip roflnauts-c2581f62e0cd3b788877f9289964716b071eb7f4.tar.gz roflnauts-c2581f62e0cd3b788877f9289964716b071eb7f4.tar.bz2 |
Debug colors to fit all maps
Diffstat (limited to 'ground.lua')
-rw-r--r-- | ground.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ function Ground:draw (offset_x, offset_y, scale, debug) 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(180, 180, 180, 120) + love.graphics.setColor(255, 69, 0, 140) love.graphics.polygon("fill", self.world.camera:translatePoints(self.body:getWorldPoints(self.shape:getPoints()))) end end
\ No newline at end of file |