Compare commits
No commits in common. "b050a985babf03e7d788b9b003fc19826dbded5f" and "2a29240aeaf651e3b3c17ce97d04191fcac1b5ff" have entirely different histories.
b050a985ba
...
2a29240aea
21
README.md
21
README.md
|
@ -1,24 +1,9 @@
|
||||||
<!--- WARNING --->
|
|
||||||
<!--- THIS IS AN AUTO-GENERATED FILE --->
|
|
||||||
<!--- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN --->
|
|
||||||
|
|
||||||
# Spritesheet
|
# Spritesheet
|
||||||
|
|
||||||
Library for managing sprite sheets of textures and animations.
|
Tiny library for working with textures and animated textures.
|
||||||
|
|
||||||
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
|
## Notes
|
||||||
|
|
||||||
- When drawing an image or animation when a shader is defined the library may
|
- When drawing an image or animation when a shader is defined the library may
|
||||||
send certain useful constants along, notably `spritesheet_inverse_width` and
|
send certain useful constants along, notably `spritesheet_inverse_width` and
|
||||||
`spritesheet_inverse_height`.
|
`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')
|
local lib = require ((...) .. '.spritesheet')
|
||||||
lib._VERSION = _VERSION
|
lib._VERSION = _VERSION
|
||||||
|
|
|
@ -1,16 +1,7 @@
|
||||||
--[[-- # Spritesheet
|
--- Library for managing spritesheets.
|
||||||
|
---
|
||||||
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.
|
||||||
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