Docstring
This commit is contained in:
parent
2a29240aea
commit
109a51a147
|
@ -1,9 +0,0 @@
|
||||||
# Spritesheet
|
|
||||||
|
|
||||||
Tiny library for working with textures and animated textures.
|
|
||||||
|
|
||||||
## 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`.
|
|
|
@ -1,7 +1,16 @@
|
||||||
--- Library for managing spritesheets.
|
--[[-- # Spritesheet
|
||||||
---
|
|
||||||
--- Has support for both individual images in spritesheets and animations. This
|
Library for managing sprite sheets of textures and animations.
|
||||||
--- can be specified from a lua file placed beside the spritesheet image file.
|
|
||||||
|
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_original = error
|
||||||
local error, error_internal do
|
local error, error_internal do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user