To remove all Löve Frames objects you can call this function: loveframes.util.RemoveAll(). As for the text input lag issue, what is it bringing your fps down to and how much text exactly is in it?thekingdf wrote:Im trying to remove all the objects on the screen like this
for key, value in pairs(loveframes.base.children) do
value:Remove()
end
But this is only removing 1 of each type of object. So if theres 2 buttons it will only remove 1 of them.
I have no idea why.
Also, you got any ideas on how to stop the textbox from destroying my FPS when theres a lot of text inside it?
Löve Frames - A GUI Library
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
- KingRecycle
- Prole
- Posts: 44
- Joined: Thu May 24, 2012 1:01 am
Re: Löve Frames - A GUI Library
I just noticed I get an error caused by Love Frames when I try to run my game as a .love.
But when I run it outside the folder I get a different error that has to do with Love Frames.
Appreciate the help.
But when I run it outside the folder I get a different error that has to do with Love Frames.
Appreciate the help.
- Attachments
-
- ProjectLearn.love
- (6.42 MiB) Downloaded 219 times
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
You need to change the setting loveframes.config["DIRECTORY"] in init.lua to reflect the directory in which Löve Frames is installed. In this case you have Löve Frames installed in "libraries/LoveFrames" and you have loveframes.config["DIRECTORY"] set to "libraries/loveframes", so all you need to do is change that setting to "libraries/LoveFrames" and it should work.KingRecycle wrote:I just noticed I get an error caused by Love Frames when I try to run my game as a .love.
But when I run it outside the folder I get a different error that has to do with Love Frames.
Appreciate the help.
- KingRecycle
- Prole
- Posts: 44
- Joined: Thu May 24, 2012 1:01 am
Re: Löve Frames - A GUI Library
Ahh, those types will get you every time. Thanks!Nikolai Resokav wrote:You need to change the setting loveframes.config["DIRECTORY"] in init.lua to reflect the directory in which Löve Frames is installed. In this case you have Löve Frames installed in "libraries/LoveFrames" and you have loveframes.config["DIRECTORY"] set to "libraries/loveframes", so all you need to do is change that setting to "libraries/LoveFrames" and it should work.KingRecycle wrote:I just noticed I get an error caused by Love Frames when I try to run my game as a .love.
But when I run it outside the folder I get a different error that has to do with Love Frames.
Appreciate the help.
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
No problem!KingRecycle wrote:Ahh, those types will get you every time. Thanks!Nikolai Resokav wrote:You need to change the setting loveframes.config["DIRECTORY"] in init.lua to reflect the directory in which Löve Frames is installed. In this case you have Löve Frames installed in "libraries/LoveFrames" and you have loveframes.config["DIRECTORY"] set to "libraries/loveframes", so all you need to do is change that setting to "libraries/LoveFrames" and it should work.KingRecycle wrote:I just noticed I get an error caused by Love Frames when I try to run my game as a .love.
But when I run it outside the folder I get a different error that has to do with Love Frames.
Appreciate the help.
- dreadkillz
- Party member
- Posts: 223
- Joined: Sun Mar 04, 2012 2:04 pm
- Location: USA
Re: Löve Frames - A GUI Library
This is a nice looking library and great demo presentation. However in the demo, there is something wrong with the text window. I can't bring the text window to the top when its out of focus unless I click the top blue bar.
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
Thanks!dreadkillz wrote:This is a nice looking library and great demo presentation.
That's because I haven't added the ability for the text object to move it's base parent to the top when gets clicked. I will likely add this feature in the next update.dreadkillz wrote: However in the demo, there is something wrong with the text window. I can't bring the text window to the top when its out of focus unless I click the top blue bar.
Re: Löve Frames - A GUI Library
very nice library, I use it in my application.
Re: Löve Frames - A GUI Library
I've been using this for maybe 20 minutes and I must say this is absolutely brilliant and easy to use. It took me no time at all to figure out how to use frames and panels, and how to begin adding buttons and lists among other critical GUI items. I attempted to use the likes of wxWidgets to make a GUI for my chat program experiment and I've done more with this in a few minutes than I have all day with the alternatives.
Kudos to you sir for making an easy to use good looking GUI. I will use this for many projects to come!
Kudos to you sir for making an easy to use good looking GUI. I will use this for many projects to come!
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
Thanks!vernon wrote:very nice library, I use it in my application.
Thanks, I'm glad to see that you find my library useful and easy to use! I hope it works well with your projects!Ensayia wrote:I've been using this for maybe 20 minutes and I must say this is absolutely brilliant and easy to use. It took me no time at all to figure out how to use frames and panels, and how to begin adding buttons and lists among other critical GUI items. I attempted to use the likes of wxWidgets to make a GUI for my chat program experiment and I've done more with this in a few minutes than I have all day with the alternatives.
Kudos to you sir for making an easy to use good looking GUI. I will use this for many projects to come!
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests