I'm just curious about this LÖVE feature.
What are the uses of SpriteBatch? Is drawing a spritebatch faster than just drawing the equivalent images and quads directly, with love.graphics.draw?
SpriteBatch - What is it good for?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
SpriteBatch - What is it good for?
When I write def I mean function.
Re: SpriteBatch - What is it good for?
Yes, it should be. Especially if you don't update the SpriteBatch each frame.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: SpriteBatch - What is it good for?
I see.
I thought that SpriteBatches got "emptied" once they got drawn.
They don't - It makes sense, for example if you want to repeat the same sprite groups again and again, on different positions. Thanks!
I thought that SpriteBatches got "emptied" once they got drawn.
They don't - It makes sense, for example if you want to repeat the same sprite groups again and again, on different positions. Thanks!
When I write def I mean function.
Who is online
Users browsing this forum: Ahrefs [Bot] and 77 guests