(ON HOLD) Pop.Box is an easy to use GUI library for the LÖVE engine, intended for rapid prototyping.
Go to file
2016-04-03 11:47:01 -07:00
demo fixed window title displacement 2016-04-03 00:47:07 -07:00
dummy wip shit probably broken 2016-03-31 16:19:52 -07:00
lib/pop fixed window title displacement 2016-04-03 00:47:07 -07:00
src/pop added ReadMe and getChildren/addChild methods 2016-04-03 11:47:01 -07:00
.gitignore complete rewrite mostly from scratch...mostly the same 2016-03-28 17:59:12 -07:00
build.bat complete rewrite mostly from scratch...mostly the same 2016-03-28 17:59:12 -07:00
build.sh re-organized, mousemove events, extensions 2016-04-01 20:45:43 -07:00
README.md added ReadMe and getChildren/addChild methods 2016-04-03 11:47:01 -07:00
run demo.bat attempted to make things work and failed 2016-02-24 16:25:54 -08:00
todo.txt mostly done re-implementing things I think 2016-02-22 22:10:13 -08:00

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.)