Guified – Simplifying GUIs in LOVE2D

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
zalander
Citizen
Posts: 76
Joined: Mon Jan 09, 2023 5:58 am
Location: India
Contact:

Guified – Simplifying GUIs in LOVE2D

Post 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
Attachments
Guified
Guified
Screenshot 2024-12-09 193932.png (8.96 KiB) Viewed 975 times
Using LOVE to make everything except games :crazy:

Code: Select all

astring = "pog"
print(astring)
--pog
User avatar
dusoft
Party member
Posts: 654
Joined: Fri Nov 08, 2013 12:07 am
Location: Europe usually
Contact:

Re: Guified – Simplifying GUIs in LOVE2D

Post by dusoft »

Looks good. Are more screenshots available? I think that would help Github users.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 5 guests