1
0
Go to file
Jon Michael Aanes cc4d744728
Some checks failed
LÖVE/Lua Library / Lua-Testing (push) Failing after 8s
LÖVE/Lua Library / Static-Analysis (push) Successful in 3s
Use getInfo instead
2025-04-20 17:30:22 +02:00
.gitea/workflows 🤖 Repository layout updated to latest version 2025-04-17 16:40:26 +02:00
test Code quality 2024-04-26 11:56:27 +02:00
.gitignore 🤖 Repository layout updated to latest version 2025-04-17 17:04:38 +02:00
.luacheckrc 🤖 Repository layout updated to latest version 2025-04-17 16:40:26 +02:00
init.lua 🤖 Repository layout updated to latest version 2025-04-17 16:40:26 +02:00
LICENSE 🤖 Repository layout updated to latest version 2025-04-17 16:40:26 +02:00
README.md 🤖 Repository layout updated to latest version 2025-04-17 16:41:45 +02:00
spritesheet.lua Use getInfo instead 2025-04-20 17:30:22 +02:00

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 or LuaJIT. 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 when doing so.

License

Copyright (c) 2018-2025 Jon Michael Aanes

All rights reserved.