1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
b050a985ba 🤖 Bumped version to 0.1.3
All checks were successful
LÖVE/Lua Library / Test (push) Successful in 6s
LÖVE/Lua Library / Static-Analysis (push) Successful in 3s
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-07-10 21:19:27 +02:00
36dcb7b4af 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-07-10 21:17:31 +02:00
109a51a147
Docstring 2024-07-10 21:14:12 +02:00
4 changed files with 35 additions and 8 deletions

3
LICENSE Normal file
View File

@ -0,0 +1,3 @@
Copyright (c) 2018-2024 Jon Michael Aanes
All rights reserved.

View File

@ -1,9 +1,24 @@
<!--- WARNING --->
<!--- THIS IS AN AUTO-GENERATED FILE --->
<!--- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN --->
# Spritesheet
Tiny library for working with textures and animated textures.
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`.
send certain useful constants along, notably `spritesheet_inverse_width` and
`spritesheet_inverse_height`.
# License
```
Copyright (c) 2018-2024 Jon Michael Aanes
All rights reserved.
```

View File

@ -1,4 +1,4 @@
local _VERSION = '0.1.2'
local _VERSION = '0.1.3'
local lib = require ((...) .. '.spritesheet')
lib._VERSION = _VERSION

View File

@ -1,7 +1,16 @@
--- Library for managing spritesheets.
---
--- Has support for both individual images in spritesheets and animations. This
--- can be specified from a lua file placed beside the spritesheet image file.
--[[-- # 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`.
--]]
local error_original = error
local error, error_internal do