Search found 6 matches

by pokestat
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...
by pokestat
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!
by pokestat
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.
by pokestat
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...