You should be more sure of that because you (obviously) forgot to notice and say that the +32px (or whatever size) offset would also happen anyway in your snippets first post proposal. So don't really care which snippet he was using as base right?Roland_Yonaba wrote:I'm unsure, maybe you should post your source. Guessing you're using coffee's snippet as a base-code, take into account that setting x,y at 1 results in this (obviously)
Your code:
Code: Select all
for y=1, #map do
for x=1, #map[1] do
love.graphics.draw(tile[map[y][x]], x * tileWidth, y * tileHeight)
end
end
And "my" snippet was actually Coke's own code where I only fixed the blue screen errors (as intended). I wanted show him why the errors were happening in his original code, nothing more.