I have background 400x400 with 9 132x132 quads, and o.png for 0 and x.png for x image. 2 pixels are between every quad.
Here is my code for my table(sorry for bad english)
Code: Select all
guad = {}
guad[0] = love.graphics.newQuad(0, 0, 132, 132, 132, 132)
guad[1] = love.graphics.newQuad(134, 0, 132, 132, 132, 132)
guad[2] = love.graphics.newQuad(268, 0, 132, 132, 132, 132)
guad[3] = love.graphics.newQuad(0, 134, 132, 132, 132, 132)
guad[4] = love.graphics.newQuad(134, 134, 132, 132, 132, 132)
guad[5] = love.graphics.newQuad(268, 134, 132, 132, 132, 132)
guad[6] = love.graphics.newQuad(0, 268, 132, 132, 132, 132)
guad[7] = love.graphics.newQuad(134, 268, 132, 132, 132, 132)
guad[7] = love.graphics.newQuad(268, 268, 132, 132, 132, 132)