Search found 4 matches

by mcload89
Mon May 27, 2024 5:37 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I make hover textbutton stay hovered until another textbutton is hovered over?
Replies: 6
Views: 326

Re: How can I make hover textbutton stay hovered until another textbutton is hovered over?

Thanks this seems to work great, is there a way i could make one of the buttons already "active" with the background without having to hover over it, but still hide, when hovered over a different button? Yeah, just set the screen variable to this button's "id" so to speak when i...
by mcload89
Mon May 27, 2024 6:11 am
Forum: Ren'Py Questions and Announcements
Topic: How can I make hover textbutton stay hovered until another textbutton is hovered over?
Replies: 6
Views: 326

Re: How can I make hover textbutton stay hovered until another textbutton is hovered over?

I managed to get the background on the textbutton using "style", any ideas how to achieve above mentioned effect? I mean I would just use a screen variable that remembers which button is currently prominent. screen myscreen(): default active = None vbox: textbutton "Play": actio...
by mcload89
Mon May 27, 2024 4:30 am
Forum: Ren'Py Questions and Announcements
Topic: How can I make hover textbutton stay hovered until another textbutton is hovered over?
Replies: 6
Views: 326

Re: How can I make hover textbutton stay hovered until another textbutton is hovered over?

screen hover_button(): zorder 10 imagebutton: idle "button_idle.png" hover "button_hover.png" selected_idle "button_selected.png" action Jump("label_name") label start: show screen hover_button I'm sorry but this is not at all what i'm looking for.
by mcload89
Sun May 26, 2024 4:23 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I make hover textbutton stay hovered until another textbutton is hovered over?
Replies: 6
Views: 326

How can I make hover textbutton stay hovered until another textbutton is hovered over?

Hi there. I'm trying to make a text button's background stay selected when hovered, and only change when another text button is hovered over, making it the new selected button. This should continue as the user moves between text buttons. Here's an example so it's better to understand what i'm trying...