Page 19 of 41

Re: Löve Frames - A GUI Library

Posted: Mon Feb 24, 2014 2:28 pm
by tio
Is there a way to create a frame that will appear on any selected state?

Additionally, if I set a frame to be modal, but its state is not the active one, it is still modal, even if the frame doesn't show on screen. Is this right?

Re: Löve Frames - A GUI Library

Posted: Thu Feb 27, 2014 10:44 am
by Nikolai Resokav
tio wrote:Is there a way to create a frame that will appear on any selected state?

Additionally, if I set a frame to be modal, but its state is not the active one, it is still modal, even if the frame doesn't show on screen. Is this right?
There is not currently a way to display an object across all states, but that would be easy to implement. I'm not sure what to make of the modal issue though, as this is something I didn't really anticipate when implementing the state system. Frame objects certainly don't need to be in modal mode when they are in an inactive state, so I guess it would be best to remove modal mode from frames when switching between states. I'm not really sure though, so I'll need to do some testing.

Re: Löve Frames - A GUI Library

Posted: Sun Mar 02, 2014 3:48 pm
by ixjf
Something I haven't understood yet is - what is that so-called "static position" all around objects' code? What does it mean?

Re: Löve Frames - A GUI Library

Posted: Tue Mar 04, 2014 12:32 am
by Nikolai Resokav
ixjf wrote:Something I haven't understood yet is - what is that so-called "static position" all around objects' code? What does it mean?
Static x and y are the object's position relative to its parent's position.

Re: Löve Frames - A GUI Library

Posted: Thu Mar 06, 2014 8:22 pm
by Ford_Prefect
Is there somewhere a documentation on the state feature? All I can find about it on the website is one paragraph in "Getting Started" and two methods for the base object :\

Re: Löve Frames - A GUI Library

Posted: Fri Mar 07, 2014 12:29 am
by Nikolai Resokav
Ford_Prefect wrote:Is there somewhere a documentation on the state feature? All I can find about it on the website is one paragraph in "Getting Started" and two methods for the base object :\
Thats the only documentation for the state system at the moment. If you need more information or help with something specific you can always post a question here or send me an email.

Re: Löve Frames - A GUI Library

Posted: Sat Mar 08, 2014 4:19 pm
by Ford_Prefect
Nikolai Resokav wrote:
Ford_Prefect wrote:Is there somewhere a documentation on the state feature? All I can find about it on the website is one paragraph in "Getting Started" and two methods for the base object :\
Thats the only documentation for the state system at the moment. If you need more information or help with something specific you can always post a question here or send me an email.
Thanks! I think I figured out the most important parts by myself already. I will come back to you when I have a question.

Re: Löve Frames - change font size?

Posted: Wed Mar 12, 2014 4:58 pm
by DarthGrover
How do I change font size for a text object in love frames?

Re: Löve Frames - change font size?

Posted: Thu Mar 13, 2014 11:57 pm
by Nikolai Resokav
DarthGrover wrote:How do I change font size for a text object in love frames?
You can create a font with a custom size using the newFont function: http://www.love2d.org/wiki/love.graphics.newFont

Re: Löve Frames - A GUI Library

Posted: Sat Mar 15, 2014 1:53 pm
by ixjf
Nikolai Resokav wrote:
ixjf wrote:Something I haven't understood yet is - what is that so-called "static position" all around objects' code? What does it mean?
Static x and y are the object's position relative to its parent's position.
Thanks! That makes perfect sense now, don't know how I couldn't figure it out myself :)