hexgrid: moved grid to start fromcenter

This commit is contained in:
Logen Kain 2016-11-27 19:43:46 -07:00
parent 259a96370b
commit 11e2f046c3

View File

@ -41,8 +41,8 @@ function createGrid()
maxX = 10 maxX = 10
maxY = 1 maxY = 1
centerX = 50 centerX= love.graphics.getWidth() / 2
centerY = 50 centerY = love.graphics.getHeight() / 2
for y=1, maxY do for y=1, maxY do
for x=1, maxX do for x=1, maxX do
if x == 1 then if x == 1 then