Just thought that since some of us don't speak Russian(me neither ), and I hope to give him some exposure here since his work is really useful.
Let me know if this is not appropriate,
Description of the code:
When you hover over the word Finger, the cursor turns into a finger.
When you hover over the word Hand, the cursor turns into a hand.
The end result: You can find the original post here: https://renpyfordummies.blogspot.com/20 ... ost_8.html
The Source image file here: https://yadi.sk/d/9f54K04WpzRSx
Code: Select all
init:
$ config.mouse = {"default" : [("cursorarrow.png", 0, 0)],
"hand" : [("images/cursorhand.png", 2, 8)],
"finger" : [("images/cursorfinger.png", 2, 2)]}
screen Test:
vbox:
align (.5, .35)
textbutton _("Finger"):
xminimum 300
mouse "finger"
action NullAction()
textbutton _("Hand"):
xminimum 300
mouse "hand"
action NullAction()
label start:
scene expression "#001"
show screen Test
"Example of Cursor hand changing when hovering over a button."
return