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

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