Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the for loop or algorytm for a 2D array of tiles that I would render the tiles back to front like this:

share|improve this question
up vote 3 down vote accepted

It's the opposite of how you would draw them front to back.

share|improve this answer
The opposite of that is You just have to decrement instead of increment. – API-Beast Aug 30 '12 at 12:34
NVM figured it out. – Trixmix Aug 30 '12 at 12:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.