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.
demo | ||
dummy | ||
lib/pop | ||
src/pop | ||
.gitignore | ||
build.bat | ||
build.sh | ||
LICENSE.txt | ||
README.md | ||
run demo.bat | ||
todo.txt |
Pop.Box
Do not mix with Cola.
Pop.Box is a GUI library for use in the LÖVE engine, designed to be easy to use and require as little code as possible to set up. It is primarily designed to make it easy to experiment with GUIs during development.
Features
- Quickly set up and align GUI elements.
- Fully customizable alignment / styling.
- Moving/resizing elements takes alignment into account.
- Extensible: Make your own elements, skins, extensions, and everything is automatically loaded.
Usage
The basics:
local pop = require "pop"
-- define LÖVE callbacks here (update, draw, textinput, mouse/key events)
local window = pop.window():align("center"):setTitle("Welcome!")
window:addChild(pop.text("Welcome to Pop.Box()!"))
For more examples, see the code in demo
. For documentation, see docs
.
Documentation
Note: Docs not written just yet. Will be soon.
- Pop Module (The main module/interface.)
- Elements (Basic features of elements/types of elements.)
- Skins (A basic system for quickly applying settings to many elements.)
- Extensions (A way to load custom code in.)
- Drawables (Reference for what can be used as a background/color.)