diff --git a/anaglymtd.lua b/anaglymtd.lua index d01e1a9..1d4d641 100644 --- a/anaglymtd.lua +++ b/anaglymtd.lua @@ -6,9 +6,10 @@ function init_event() ground:setColor(0, 1, 0) grid_texture = ag.loadTexture("grid.png") - grid = ag.createBox(16, 16, 1, {static = true}) + + grid = ag.createQuad(0, 0, 0, 8, 0, 0, 0, 8, 0) grid:setTexture(grid_texture) - grid:setPosition(0, 0, 1) + grid:setOffset(1) ag.setCamera(2, -12, 10) end