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!
Rendering isometric using sprite batch
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 3
- Joined: Wed Apr 10, 2013 2:01 pm
Rendering isometric using sprite batch
- Attachments
-
- src.love
- (1018 Bytes) Downloaded 141 times
Last edited by travispaxton on Wed Apr 10, 2013 3:18 pm, edited 1 time in total.
Re: Rendering isometric using sprite batch
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
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?travispaxton wrote:Does anyone have any ideas as to how to render the isometric view using a sprite batch?
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.
Check out my blog on gamedev
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], pgimeno and 15 guests