Quote:
First of all the way he's doing it will cause the terrain to draw itself sideways, and the tiles will be spaced out far too much!

Could you explain this, if possible in different words?
I think it's pretty obvious that "64" stands for the tile size in my example, and I don't get what you mean with "the terrain to draw itself sideways".
Of course there are more things to consider, f.i. you only draw the part of the array that is potentially visible (in a scrolling game).

Quote:
Also you should put the "y" for loop before the "x" for loop to get better caching performance.

What kind of difference is that supposed to make?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends