A stately GUI lib for LÖVE - Keywords: gui library love2d

Pedro Gimeno 4ba024a327 Allow overriding the mouse position in mousewheel events 11 months ago
Gspot.lua 4ba024a327 Allow overriding the mouse position in mousewheel events 11 months ago
README.md 8e85770a53 Adapt code to love2d 11.0 (#9) 1 year ago
conf.lua 8e85770a53 Adapt code to love2d 11.0 (#9) 1 year ago
img.png d4c866261a first commit 7 years ago
main.lua 465bb5ef4e Allow tooltips to be multiline (with \n) 1 year ago

README.md

Gspöt - a stateful GUI lib for LÖVE

Notes

  • Documentation is currently out of date, but demo code is commented, and should provide enough detail to get by. Wiki will be updated asap.

Files

  • Gspot.lua : the lib's only required file
  • main.lua : commented demo
  • conf.lua : LÖVE config for demo
  • img.png : example image

Aims

  • easily implemented GUI elements for games and menus
  • flexibility
  • visual consistency

What it does

  • range of one-line GUI elements, with default functionality and utility functions
  • callbacks for a wide variety of events
  • element grouping and relative positioning
  • cascading element styles
  • timed element-level update functions
  • compatible with LÖVE 0.9.x, 0.10.x and 11.x

Gspot is free to use under the Zlib/libpng license.
Fragments attributed to vrld's Quickie (now SUIT): https://github.com/vrld/SUIT