I'm trying to make a map for my novel. But I ran into the problem that the hotspot is calling on other buildings, and I have a question, is it possible to make a hotspot in the form of a polygon? Here is my code and maps:
screen map:
imagemap:
ground 'images/maps/morning/morning_ground.png'
idle 'images/maps/morning/morning_idle.png'
hover 'images/maps/morning/morning_hover.png'
hotspot (690, 70, 200, 185) action Return("university")
hotspot (528, 100, 120, 90) action Return("my house")
label charapter1:
scene black with dissolve
"Oh, finally I woke up, I had such a terrible dream"
'Must hurry, otherwise I will be late, we must look at the map'
window hide None
call screen map
window show None
if _return == 'university':
'Damn, I'm still late'
return
if _return == 'my house':
'Why did I come home?'
return
Images: morning_hover, morning_idle, morning_ground