What's the big deal?
Code: Select all
sprites = { "sprite1.png", "sprite2.png" }
image = love.graphics.newArrayImage( sprites )
batch = love.graphics.newSpriteBatch( image )
batch:addLayer( #, x, y )
To make any change to the batch, you have to recreate it - just like drawing everything again to a canvas.
With a canvas, the sprites can be any size.
Any speed advantage? Don't think so.
What am I missing?