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?
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
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.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?
Re: Löve Frames - A GUI Library
Something I haven't understood yet is - what is that so-called "static position" all around objects' code? What does it mean?
I used to be an adventurer like you, but then I took an arrow in the knee.
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
Static x and y are the object's position relative to its parent's position.ixjf wrote:Something I haven't understood yet is - what is that so-called "static position" all around objects' code? What does it mean?
-
- Prole
- Posts: 31
- Joined: Sun Dec 30, 2012 7:14 pm
Re: Löve Frames - A GUI Library
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 :\
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
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.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 :\
-
- Prole
- Posts: 31
- Joined: Sun Dec 30, 2012 7:14 pm
Re: Löve Frames - A GUI Library
Thanks! I think I figured out the most important parts by myself already. I will come back to you when I have a question.Nikolai Resokav wrote: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.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 :\
-
- Prole
- Posts: 16
- Joined: Wed Feb 05, 2014 11:31 pm
- Location: Ohio USA
Re: Löve Frames - change font size?
How do I change font size for a text object in love frames?
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - change font size?
You can create a font with a custom size using the newFont function: http://www.love2d.org/wiki/love.graphics.newFontDarthGrover wrote:How do I change font size for a text object in love frames?
Re: Löve Frames - A GUI Library
Thanks! That makes perfect sense now, don't know how I couldn't figure it out myselfNikolai Resokav wrote:Static x and y are the object's position relative to its parent's position.ixjf wrote:Something I haven't understood yet is - what is that so-called "static position" all around objects' code? What does it mean?
I used to be an adventurer like you, but then I took an arrow in the knee.
Who is online
Users browsing this forum: No registered users and 6 guests