I have a screen with 5 imagebuttons (focus_mask True) that is larger than my physical screen (which is 1600x900).
I use viewport and edgescroll to make the whole virtual screen accessible.
In windowed mode everything works fast and fine. Even when I maximize the window (in 4k).
But if I switch to fullscreen mode with ALT+Enter or in the options menu, the scrolling starts to stutter (Windows 10, 4k resolution, 150% scaled).
The only workaround I found so far is to set focus_mask to False.
https://drive.google.com/file/d/1whOOft ... sp=sharing
Code: Select all
screen bedroom():
viewport id "bedroom":
child_size (2115, 900)
side_xpos 0
side_ypos 0
xinitial 0
edgescroll (650, 800)
add "jpa_bedroom_bg_g.webp"
text "click on an item to quit"
imagebutton:
focus_mask True
xpos 16
ypos 154
idle "jpa_bedroom_door_g.webp"
hover im.MatrixColor("jpa_bedroom_door_g.webp", im.matrix.brightness(.1))
action Return()
imagebutton:
focus_mask True
xpos 220
ypos 240
idle "jpa_bedroom_mirror_g.webp"
hover im.MatrixColor("jpa_bedroom_mirror_g.webp", im.matrix.brightness(.1))
action Return()
imagebutton:
focus_mask True
xpos 688
ypos 542
idle "jpa_bedroom_bed_g.webp"
hover im.MatrixColor("jpa_bedroom_bed_g.webp", im.matrix.brightness(.1))
action Return()
imagebutton:
focus_mask True
xpos 1466
ypos 202
idle "jpa_bedroom_wardrobe_g.webp"
hover im.MatrixColor("jpa_bedroom_wardrobe_g.webp", im.matrix.brightness(.1))
action Return()
imagebutton:
focus_mask True
xpos 1652
ypos 457
idle "jpa_bedroom_desk_g.webp"
hover im.MatrixColor("jpa_bedroom_desk_g.webp", im.matrix.brightness(.1))
action Return()
label main_menu:
call screen bedroom