tweak grid color

This commit is contained in:
jill 2021-09-19 22:14:06 +03:00
parent db634d768a
commit cb133e4c63

View file

@ -68,7 +68,7 @@ function self.render()
love.graphics.rectangle('line', x, y, w, h) love.graphics.rectangle('line', x, y, w, h)
-- grid -- grid
love.graphics.setColor(0.2, 0.2, 0.4, 0.2) love.graphics.setColor(0.2, 0.2, 0.3, 0.2)
local gridsize = 64 local gridsize = 64
for gx = 1, gridsize - 2 do for gx = 1, gridsize - 2 do
love.graphics.line(x + margin + gx * w/gridsize, y + margin, x + margin + gx * w/gridsize, y + h - margin) love.graphics.line(x + margin + gx * w/gridsize, y + margin, x + margin + gx * w/gridsize, y + h - margin)