This commit was automatically generated by [a script](https://gitfub.space/Jmaa/repo-manager)
37 lines
1.1 KiB
Markdown
37 lines
1.1 KiB
Markdown
<!-- WARNING! -->
|
|
<!-- THIS IS AN AUTOGENERATED FILE! -->
|
|
<!-- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN! -->
|
|
|
|
# Spritesheet
|
|
|
|
Library for managing sprite sheets of textures and animations.
|
|
|
|
Has support for both individual images in spritesheets and animations. This
|
|
can be specified from a lua file placed beside the spritesheet image file.
|
|
|
|
## Notes
|
|
|
|
- When drawing an image or animation when a shader is defined the library may
|
|
send certain useful constants along, notably `spritesheet_inverse_width` and
|
|
`spritesheet_inverse_height`.
|
|
- Checks that LÖVE is defined; if not, run in information loading
|
|
mode only.
|
|
|
|
## Dependencies
|
|
|
|
This project requires [PUC Lua 5.1](https://www.tecgraf.puc-rio.br/lua/mirror/versions.html#5.1) or [LuaJIT](https://luajit.org/luajit.html). Newer versions of PUC Lua are not supported.
|
|
|
|
This project does not have any library requirements 😎
|
|
|
|
## Contributing
|
|
|
|
Feel free to submit pull requests. Please follow the [Code Conventions](CONVENTIONS.md) when doing so.
|
|
|
|
## License
|
|
|
|
```
|
|
Copyright (c) 2018-2025 Jon Michael Aanes
|
|
|
|
All rights reserved.
|
|
```
|