Search found 6 matches
- Thu Dec 14, 2017 2:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to call label with button NameError: global name 'from_current' is not defined
- Replies: 10
- Views: 1573
Re: Unable to call label with button NameError: global name 'from_current' is not defined
Posted on Dev thread: viewtopic.php?f=8&t=47009
- Thu Dec 14, 2017 1:59 am
- Forum: Development of Ren'Py
- Topic: Unable to Call label with button NameError: global name 'from_current' is not defined
- Replies: 0
- Views: 636
Unable to Call label with button NameError: global name 'from_current' is not defined
Using Call() from a button to call a label will result in the error: NameError: global name 'from_current' is not defined Test case: screen testscreen(): textbutton "test" action Call("test") label start(): "Game starts." show screen testscreen() "The program doesn't stop just because you show a scr...
- Tue Dec 12, 2017 10:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to call label with button NameError: global name 'from_current' is not defined
- Replies: 10
- Views: 1573
Re: Unable to call label with button NameError: global name 'from_current' is not defined
Has this been confirmed as a bug? I've experienced this issue too.
- Tue Dec 12, 2017 10:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Show buttons when hovered over another button?
- Replies: 5
- Views: 812
Re: Show buttons when hovered over another button?
Thanks Remix, that was the issue. Setting an action makes the hover events work. I also added a mousearea to resolve the focus issue, which works great!
- Tue Dec 12, 2017 3:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Show buttons when hovered over another button?
- Replies: 5
- Views: 812
Re: Show buttons when hovered over another button?
I switched to using Show() instead, but nothing still shows up. Am I using hover correctly? I'm thinking maybe that's not firing.
- Tue Dec 12, 2017 1:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Show buttons when hovered over another button?
- Replies: 5
- Views: 812
Show buttons when hovered over another button?
I have an imagebutton, and when I hover over it, I want the player to see two smaller imagebuttons appear on top. The player should be able to click on the smaller buttons while the mouse is still hovered over the larger imagebutton. When the mouse moves away from the larger imagebutton, the smaller...