Page 1 of 1

Guified – Simplifying GUIs in LOVE2D

Posted: Mon Dec 09, 2024 2:14 pm
by zalander
Introducing "Guified" – A GUI Library for LOVE2D

Hey everyone,

I’m excited to introduce my new library, Guified, designed to make building user interfaces in LOVE2D a lot easier and more intuitive. It's a lightweight and flexible GUI toolkit that simplifies window management, UI elements, and more.

Key Features:
  • Button, TextBox, Box, and Image Elements: Ready-to-use elements to handle common UI components.
  • Draw and Update Stack Management: Manage your UI elements' behavior and drawing in a structured way.
  • Window Management: Easily set the window to always stay on top (works with Windows).
  • Customizable: Easily update and modify UI elements like position, size, and text.
How It Works:
Guified allows you to create UI elements, register them in the system, and manage them with simple draw and update functions. You can also toggle drawing and updating, giving you control over the UI performance.

Example Usage:

Code: Select all

local guified = require("guified")

-- Create a button
local button = guified.registry.elements.button:new(100, 100, 200, 50, "Click Me!")

-- Register the button
guified.registry.register(button)

function love.update(dt)
	if button.pressed() then
		print("button was pressed !")
	end
end

Download: Github

Re: Guified – Simplifying GUIs in LOVE2D

Posted: Mon Dec 09, 2024 9:53 pm
by dusoft
Looks good. Are more screenshots available? I think that would help Github users.