mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
(ON HOLD) Pop.Box is an easy to use GUI library for the LÖVE engine, intended for rapid prototyping.
docs | ||
pop | ||
main.lua | ||
README.md |
Pop.Box
Do not mix with Cola.
Pop.Box attempts to make a GUI system for use in the LÖVE engine that is easy to use, requiring as little code as possible to get working, but also extensible, allowing for complex interfaces to be built in it.
Features
- Quickly set up and align GUI elements.
- Fully customizable alignment / styling.
- Supports moving/resizing things in ways that take the alignment headache away, without trying to do too much and become bloated.
- Supports custom elements/skins, make your own and move them into the appropriate directories for them to be automatically loaded.
Usage
local pop = require "pop"
-- define LÖVE callbacks here (update, draw, textinput, mouse/key events)
local box = pop.box()
Docs: pop Module, Elements, Skins