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


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

| improve this answer | |
  • \$\begingroup\$ The opposite of that is pastebin.com/86WvUdBs You just have to decrement instead of increment. \$\endgroup\$ – API-Beast Aug 30 '12 at 12:34
  • \$\begingroup\$ NVM figured it out. \$\endgroup\$ – Trixmix Aug 30 '12 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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