Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rxi/autobatch
Small LÖVE module to automate the use of SpriteBatches
https://github.com/rxi/autobatch
Last synced: 30 days ago
JSON representation
Small LÖVE module to automate the use of SpriteBatches
- Host: GitHub
- URL: https://github.com/rxi/autobatch
- Owner: rxi
- License: mit
- Created: 2016-07-16T12:03:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T19:24:48.000Z (over 6 years ago)
- Last Synced: 2024-11-02T09:31:46.192Z (about 1 month ago)
- Language: Lua
- Size: 14.6 KB
- Stars: 108
- Watchers: 8
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-love2d - Autobatch - Small LÖVE module to automate the use of SpriteBatches. (Drawing)
README
# autobatch
![](https://cloud.githubusercontent.com/assets/3920290/22617987/7d6bf71e-eac9-11e6-98ad-449224a8b7c0.gif)A small [LÖVE](https://love2d.org/) (0.10.x) module which automatically uses
[SpriteBatches](https://love2d.org/wiki/SpriteBatch) when drawing the same image
multiple times in a row.## Usage
The [autobatch.lua](autobatch.lua?raw=1) file should be dropped into an existing
project, and the following line put at the top of your `main.lua` file:```lua
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](LICENSE) for details.