SpriteBatch draw order

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
chrism
Prole
Posts: 21
Joined: Wed May 25, 2011 6:17 pm

SpriteBatch draw order

Post by chrism »

Quick question: Are elements added to a SpriteBatch guaranteed to be rendered in the order that they were added?
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: SpriteBatch draw order

Post by Taehl »

Yes.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
chrism
Prole
Posts: 21
Joined: Wed May 25, 2011 6:17 pm

Re: SpriteBatch draw order

Post by chrism »

Excellent, thank you.
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: SpriteBatch draw order

Post by Taehl »

You're welcome. Good luck with your endeavor.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests