Skip to content
/ autobatch Public

Small LÖVE module to automate the use of SpriteBatches

License

Notifications You must be signed in to change notification settings

rxi/autobatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

autobatch

A small LÖVE (0.10.x) module which automatically uses SpriteBatches when drawing the same image multiple times in a row.

Usage

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.

License

This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.