summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-07-30 15:06:04 +0200
committerAki <nthirtyone@gmail.com>2016-07-30 15:06:04 +0200
commit5a99dc2ebdba42e6fc069c2503eda985c5342c5d (patch)
treec4a2d2ba4bdffd7d8494dcbbc76d12756412d522
parent85c35b1874f62005fdcb174a07a45d985d580fc1 (diff)
downloadroflnauts-5a99dc2ebdba42e6fc069c2503eda985c5342c5d.zip
roflnauts-5a99dc2ebdba42e6fc069c2503eda985c5342c5d.tar.gz
roflnauts-5a99dc2ebdba42e6fc069c2503eda985c5342c5d.tar.bz2
Debug color
-rw-r--r--ground.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/ground.lua b/ground.lua
index 6800944..8b83af3 100644
--- a/ground.lua
+++ b/ground.lua
@@ -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(220, 220, 220, 100)
+ love.graphics.setColor(180, 180, 180, 120)
love.graphics.polygon("fill", self.world.camera:translatePoints(self.body:getWorldPoints(self.shape:getPoints())))
end
end \ No newline at end of file