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

132ikl 89a20c4fb4 Add cursor focus at end of input element and ctrl+backspace for input element 5 years ago
Gspot.lua 89a20c4fb4 Add cursor focus at end of input element and ctrl+backspace for input element 5 years ago
README.md 8e85770a53 Adapt code to love2d 11.0 (#9) 6 years ago
conf.lua 8e85770a53 Adapt code to love2d 11.0 (#9) 6 years ago
img.png d4c866261a first commit 12 years ago
main.lua 465bb5ef4e Allow tooltips to be multiline (with \n) 6 years 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