Search found 140 matches

by Nikolai Resokav
Sat Jan 03, 2015 11:36 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

Thank you so much for looking into this Nikolai! Loveframes has been used in numerous past projects and proves vital for this one, and the file that it is called in from is main.lua, though the one that is giving me issues would be CabinGamestate.lua. At the same time, the first one that is opened ...
by Nikolai Resokav
Thu Jan 01, 2015 10:32 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

http://i.imgur.com/Unp9gpM.png This has to do with me calling currentMap = sti.new("maps/desert") in love.load(). Btw, this works just fine if I don't use LoveFrames. If I comment it out or remove that line, I get the next error: http://i.imgur.com/keoFxC1.png This is due to using a timer from HUMP...
by Nikolai Resokav
Thu Jan 01, 2015 4:03 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

Can you post your code for this? I'm having the same trouble but can't figure it out. (Still VERY new to Love2d) What kind of issue are you having? I would love to use this library, but when I include it in my main.lua, it seems to conflict with other libraries like Simple-Tiled and hump. I get str...
by Nikolai Resokav
Mon Dec 22, 2014 10:03 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

vekenti wrote:-Edit-

Does this not work with Love 0.91? it gives me some attempted to call 'NewObject'(a nil value) error coming from loveframes/objects/base
Make sure you are doing require("path.to.loveframes") and not require("path/to/loveframes").
by Nikolai Resokav
Sun Dec 14, 2014 8:50 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

Really awesome library, thanks for your hard work. I'm wondering if there is a way to add a tooltip to an arbitrary area of the screen? Basically I have a grid of images and I would like to add a tooltip to each one, but I can't seem to do it without covering the image with a parent frame: https://...
by Nikolai Resokav
Sun Dec 14, 2014 12:52 am
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

oObjectName = loveframes.Create("___") Since the objects are all created by the time it checks and are all listed in the table I'm referencing by these names, I thought it should work. I'm hoping to be able to compare the string name for the object, retrieved by :GetHoverObject(), and the string na...
by Nikolai Resokav
Fri Dec 12, 2014 8:08 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

I'm trying to retrieve the name of an object using GetHoverObject, but having iterated through the table it returns, the names I gave the objects do not exist. Closest I get is "instance of class loveframes_object_imagebutton" or similar. I'm trying to retrieve the name to match it against a table ...
by Nikolai Resokav
Wed Dec 10, 2014 10:56 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

Doctory wrote:is it possible to rename love frames when requiring it?
Love Frames is returned when you require it, so something like this should work:

Code: Select all

gui = require("path.to.loveframes")
by Nikolai Resokav
Sat Dec 06, 2014 10:12 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

I have the same problem as Rishavs - the .OnClick callback for buttons does not work. Here's my code (relevant parts on top): function love.load() require("lib.Frames") button_circles = loveframes.Create("button") button_circles:SetWidth(200) button_circles:SetText("Toggle Lines") button_circles.x ...
by Nikolai Resokav
Tue Dec 02, 2014 11:27 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 146939

Re: Löve Frames - A GUI Library

The buttons are getting rendered but the click event is not firing. Can you post a .love of your project? I have a game that does some deserializing of data using a serialize.lua library found on the forums. With a os.clock() taken before and after running 1 deserialize() operation, the time is abo...