LÖVE Utility Gear. https://doublefourteen.io
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lorenzo Cogotti 2abcf253ca [color] Add color operations and utilities. 6 days ago
spec [spec/utils_spec.lua] Remove obsolete test. 10 months ago
.gitignore [*] Initial commit. 10 months ago
LICENSE [*] Initial commit. 10 months ago
README.ACKNOWLEDGEMENT [README,camera] Add camera management module. 6 days ago
README.md [README] Update ldoc usage. 9 months ago
algo.lua [algo] Add stable sort algorithm, using merge sort. 6 days ago
camera.lua [README,camera] Add camera management module. 6 days ago
color.lua [color] Add color operations and utilities. 6 days ago
config.ld [config.ld] Add ldoc config.ld to project. 9 months ago
init.lua [init] Fix signal and timer entries, capitalize them since they are classes. 10 months ago
meta.lua [meta] Improve isinstance(). 7 months ago
rect.lua [rect] Make rotatesincos() require() path safer. 9 months ago
shadowtext.lua [shadowtext] Add text with drop shadow utilities. 10 months ago
signal.lua [signal] Fix module name and summary. 6 days ago
strings.lua [strings] Add path utility functions, improve documentation. 8 months ago
timer.lua [timer] Rework new() consistently with other classes. 6 days ago
vec.lua [vec] Add functions to compute angles, minor style fixes. 6 days ago


gear - The LÖVE Utility Gear

gear provides common functionality for LÖVE game development, including:

  • 2D vector algebra
  • Minimal 3D vector algebra
  • 2D bounds (axis-aligned rectangles)
  • General utility math functions
  • Common stateless algorithms

Code is reasonably biased towards speed, at the occasional expense of abstraction.


Code is documented with LDoc.

Documentation may be generated running the command:

ldoc .

ldoc generates a doc directory, open doc/index.html with your favorite browser to read the documentation.

Test suite

The test suite uses busted.

Tests may be run with the command:

lua spec/utils_spec.lua


See LICENSE for details.