In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
-
smollvrn
- Newbie
- Posts: 14
- Joined: Sun Mar 14, 2021 3:24 pm
-
Contact:
#1
Post
by smollvrn » Sat May 22, 2021 7:04 am
in 7.4.4 modal dosent prevent hover
Code: Select all
screen button_with_hoverarea:
imagebutton:
idle Transform("gui/slider/horizontal_idle_thumb.png")
hover Transform("gui/slider/horizontal_hover_thumb.png")
action (Hide("hover"), Show(" buttons_with_modal_true_but_hover_mousearea_still_work"))
xpos 50
ypos 50
mousearea:
area (0, 0, 30, 30)
hovered Show("hover")
unhovered Hide("hover")
screen buttons_with_modal_true_but_hover_mousearea_still_work:
modal True #modal true but dosent work
hbox:
textbutton "Save" action ShowMenu("save")
screen hover:
imagebutton:
idle "gui/button/choice_hover_background.png"
action NullAction()
label start:
show screen button_with_hoverarea
scene bg room
e "after push blue button, in renpy 7.4.2 mousearea hover in top-left corner doesn't work, in 7.4.4 modal true doesnt prevents hover mousearea"
e "You've created a new Ren'Py game."
e "Once you add a story, pictures, and music, you can release it to the world!"
return
-
PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
-
Contact:
#2
Post
by PyTom » Sat May 22, 2021 8:18 pm
Could you please test Ren'Py 7.4.5? It should have a fix for this.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
smollvrn
- Newbie
- Posts: 14
- Joined: Sun Mar 14, 2021 3:24 pm
-
Contact:
#3
Post
by smollvrn » Sun May 23, 2021 10:17 am
PyTom wrote: ↑Sat May 22, 2021 8:18 pm
Could you please test Ren'Py 7.4.5? It should have a fix for this.
no chages with 7.4.4

-
PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
-
Contact:
#4
Post
by PyTom » Sun May 23, 2021 2:45 pm
Ah, I honestly didn't see that this was using a mousearea and not a button.
This is fixed in
https://github.com/renpy/renpy/commit/f ... 8789b6febe , which will be the next nightly and in 7.4.5.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
Users browsing this forum: No registered users