Page 1 of 1

Rendering isometric using sprite batch

Posted: Wed Apr 10, 2013 2:15 pm
by travispaxton
So I was going over the tutorial located at http://www.love2d.org/wiki/Tutorial:Isometric_Graphics and started working on my own isometric view. Unfortunately, the tutorial appears to be drawing each cell individually, whereas I'm using a sprite batch. Does anyone have any ideas as to how to render the isometric view using a sprite batch?

I've uploaded the .love file I'm currently working off, many thanks!

Re: Rendering isometric using sprite batch

Posted: Wed Apr 10, 2013 3:30 pm
by markgo
Setting up a spritebatch is pretty easy. You just need to make sure you add your quads/sprites to the spritebatch in the right order since draw order is important for isometric view. This link explains the draw order: http://stackoverflow.com/questions/8928 ... ame-worlds

Re: Rendering isometric using sprite batch

Posted: Wed Apr 10, 2013 3:32 pm
by micha
travispaxton wrote:Does anyone have any ideas as to how to render the isometric view using a sprite batch?
There is nothing special about the isometric view that makes it difficult to use with a sprite batch. Where exactly are you having problems? Is it the general use of a sprite batch or is it the isometric view or is it the combination of both?

If you did the tutorial you wrote about and if you did this tutorial, it shouldn't be so hard to combine the two ideas.