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

Filipe Reis b3068f0de2 Quite a few crispy changes heh %!s(int64=5) %!d(string=hai) anos
Gspot.lua b3068f0de2 Quite a few crispy changes heh %!s(int64=5) %!d(string=hai) anos
README.md 8e85770a53 Adapt code to love2d 11.0 (#9) %!s(int64=6) %!d(string=hai) anos
conf.lua 8e85770a53 Adapt code to love2d 11.0 (#9) %!s(int64=6) %!d(string=hai) anos
img.png d4c866261a first commit %!s(int64=12) %!d(string=hai) anos
main.lua 465bb5ef4e Allow tooltips to be multiline (with \n) %!s(int64=6) %!d(string=hai) anos

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