A small LÖVE (0.10.x) module which automatically uses SpriteBatches when drawing the same image multiple times in a row.
The autobatch.lua file should be dropped into an existing
project, and the following line put at the top of your main.lua
file:
require "autobatch"
The module overrides love.graphics
and should work automatically without any
additional changes to your code.
This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.