Mouse cursor invisible on mobile
Posted: Thu May 06, 2021 9:21 am
After updating to the latest version of Ren'py, the mouse cursor is no longer visible on mobile (Android).
Was anything changed about mouse behavior in the last few updates that could be the cause of this?
I upgraded from a few versions back, so it might not even be the latest version of Ren'py that is responsible.
The game has several different mouse cursors configured in "script.rpy", through config.mouse, as seen below:
These different mouse cursors are then called upon in screens during the game for various interactions, as below:
I'm mentioning the way the mouse is being changed, in case we're doing it wrong.
Was anything changed about mouse behavior in the last few updates that could be the cause of this?
I upgraded from a few versions back, so it might not even be the latest version of Ren'py that is responsible.
The game has several different mouse cursors configured in "script.rpy", through config.mouse, as seen below:
Code: Select all
if renpy.mobile:
$ config.mouse = {
"default" : [("mouse.png", 0,0)],
"talk_mouse" : [("images/talk_mouse.png", 42,210)], # mobile: 42, 210 || PC: 14,67
}
else:
$ config.mouse = {
"default" : [("mouse.png", 0,0)],
"talk_mouse" : [("images/talk_mouse.png", 14,67)], # mobile: 42, 210 || PC: 14,67
}
Code: Select all
imagebutton:
idle "buttonname"
mouse "talk_mouse"
action Jump("locationname")
xpos 268
ypos 522