Search found 140 matches

by Nikolai Resokav
Sat Nov 29, 2014 11:39 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146494

Re: Löve Frames - A GUI Library

Kenny Do you know if your library plays nice with HUMP? http://vrld.github.io/hump/ I think I am screwing up somewhere in trying to use both the libraries. Here's my entire code ------------------------------------------------ -- Modules ------------------------------------------------ Gamestate = ...
by Nikolai Resokav
Fri Nov 28, 2014 8:33 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146494

Re: Löve Frames - A GUI Library

Hi Kenny I am new to both lua and love2d and was trying to get your library to work. Can you tell me what am i doing wrong here? This works. button:SetSize(200, 100):SetText("Button"):Center() button.OnClick = button:SetText("You clicked the button!") But doing this throws an exception: button:SetS...
by Nikolai Resokav
Wed Nov 12, 2014 4:46 am
Forum: Support and Development
Topic: Can't get love frames to work
Replies: 4
Views: 2328

Re: Can't get love frames to work

On line 5 in main.lua you have: table = love.graphics.newImage("resources/images/table.png") That line of code replaces Lua's built-in table library with your image. Love Frames needs the table library to function correctly, so you should replace that line with something like: tableimg = love.graphi...
by Nikolai Resokav
Tue Nov 04, 2014 3:26 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146494

Re: Löve Frames - A GUI Library

Just tried out this library tonight- it's clean, functional, and, most importantly, well-documented! I've used Gmod's Derma before and though it was an obvious inspiration to this library, Löve Frames has a leg up on it in many situations (most notably a builtin function to remove all elements- mak...
by Nikolai Resokav
Wed Oct 22, 2014 10:42 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146494

Re: Löve Frames - A GUI Library

MrJones wrote:Is there some way of automated layouting? Like GTK+'s box packing or Qt's layout containers. I don't want to base my design on hardcoded pixel-based button positions if possible
Not currently, though I'd like to add something like that in the future.
by Nikolai Resokav
Sat Oct 04, 2014 8:44 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146494

Re: Löve Frames - A GUI Library

Doctory wrote:is there anyway to check if a frame is closed?
You can use the frame.OnClose callback to detect when a frame is closed.
by Nikolai Resokav
Sun Sep 28, 2014 6:33 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146494

Re: Löve Frames - A GUI Library

adnzzzzZ wrote:Anyone knows how to change the color of a button's text?

Image

I wanna make the + green and - red.
You can change their color in the button drawing function in skin.lua.
by Nikolai Resokav
Wed Sep 17, 2014 12:36 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146494

Re: Löve Frames - A GUI Library

I'm here just to thank you for this library. I was going to start programming an editor for my game from sketch but Löve Frames saved my a lot of time. I'm still impressed about how easy it is to make cool stuff with it. Are there any new features you intend to implement in the future? Yes, there a...
by Nikolai Resokav
Sat Sep 06, 2014 4:04 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146494

Re: Löve Frames - A GUI Library

How do I get a slider to constantly update? local volumeslider = loveframes.Create("slider", parentframe) volumeslider:SetPos(275,175):SetSlideType("vertical"):SetHeight(250):SetButtonSize(20,10):SetMinMax(0,10):SetDecimals(10) volumeslider:SetScrollDecrease(1):SetScrollIncrease(1) local increase =...