different behavior of focus mask True between GL/DX

Bug #937162 reported by jack_norton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ren'Py
Fix Released
Medium
Tom Rothamel

Bug Description

I found this bug, is quite simple:
- if you use OpenGL the focus mask works correctly
- if you use DirectX/Angle, the focus mask is ignored and even the transparent part of the image get focus

the code I'm using is just standard imagebutton:
    if isinparty(rei):
        $img=im.FactorScale("gfx/camp/rei.png",0.86)
        imagebutton idle im.MatrixColor(img,im.matrix.brightness(-0.2)) hover (img) action Jump("talk_rei") yanchor 1.0 ypos 1.00 xcenter 0.73 focus_mask True
    if isinparty(karen):
        $img=im.FactorScale("gfx/camp/karen.png",0.86)
        imagebutton idle im.MatrixColor(img,im.matrix.brightness(-0.2)) hover (img) action Jump("talk_karen") yanchor 1.0 ypos 1.0 xcenter 0.58 focus_mask True
    if isinparty(amukiki):
        $img=im.Flip(im.FactorScale("gfx/camp/amukiki.png",0.94), horizontal=True)
        imagebutton idle im.MatrixColor(img,im.matrix.brightness(-0.2)) hover (img) action Jump("talk_amukiki") yanchor 1.0 ypos 1.05 xcenter 0.34 focus_mask True

Revision history for this message
Tom Rothamel (renpytom) wrote :

This will be fixed in 6.13.9.

Changed in renpy:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Tom Rothamel (renpytom)
milestone: none → 6.13.9
Tom Rothamel (renpytom)
Changed in renpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.