Compare commits
No commits in common. "b050a985babf03e7d788b9b003fc19826dbded5f" and "2a29240aeaf651e3b3c17ce97d04191fcac1b5ff" have entirely different histories.
b050a985ba
...
2a29240aea
17
README.md
17
README.md
|
@ -1,24 +1,9 @@
|
|||
<!--- WARNING --->
|
||||
<!--- THIS IS AN AUTO-GENERATED 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.
|
||||
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`.
|
||||
|
||||
# License
|
||||
|
||||
```
|
||||
Copyright (c) 2018-2024 Jon Michael Aanes
|
||||
|
||||
All rights reserved.
|
||||
```
|
||||
|
|
2
init.lua
2
init.lua
|
@ -1,4 +1,4 @@
|
|||
local _VERSION = '0.1.3'
|
||||
local _VERSION = '0.1.2'
|
||||
|
||||
local lib = require ((...) .. '.spritesheet')
|
||||
lib._VERSION = _VERSION
|
||||
|
|
|
@ -1,16 +1,7 @@
|
|||
--[[-- # 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`.
|
||||
--]]
|
||||
--- 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.
|
||||
|
||||
local error_original = error
|
||||
local error, error_internal do
|
||||
|
|
Loading…
Reference in New Issue
Block a user