1. Active characters are colored.
2. When mouse-hovered, the character have a glow border.
3. Characters already completed are grayscale.
I've figured out steps 1 and 2 easily enough, but I'm still scratching my head on how to do 3. I can't find any good examples on how to make an imagemap insensitive. Below is my code, just trying this with one character at the moment.
Code: Select all
label start:
$ char1_path = False
$ char2_path = False
$ char3_path = False
$ char4_path = False
$ char5_path = False
$ path = ""
label pickpath:
scene black
call screen path_select(char1_path , char2_path , char3_path , char4_path , char5_path ) with dissolve
$ path = _return
if path == "char1_path ":
n "You have selected Character 1's path."
$ char1_path == True
#make label to jump to relevant path here
jump pickpath
Code: Select all
screen path_select(char1_path , char2_path , char3_path , char4_path , char5_path ):
imagemap:
xalign 0.5 yalign 0.5
idle "images/nav/select_idle.png"
hover "images/nav/select_hover.png"
insensitive "images/nav/select_completed.png"
hotspot(1196, 164, 1727, 1080) action Return("char1_path ")