hexgrid: moved grid to start fromcenter
This commit is contained in:
@ -41,8 +41,8 @@ function createGrid()
|
||||
maxX = 10
|
||||
maxY = 1
|
||||
|
||||
centerX = 50
|
||||
centerY = 50
|
||||
centerX= love.graphics.getWidth() / 2
|
||||
centerY = love.graphics.getHeight() / 2
|
||||
for y=1, maxY do
|
||||
for x=1, maxX do
|
||||
if x == 1 then
|
||||
|
Reference in New Issue
Block a user