I want player to follow the path (minigame) you can see it on the image. If the player move the cursor outside of the area, minigame is closed.
I'm trying to do it with mousearea but I don't know how to combine more areas to "describe" whole path.
This is what I have:
Code: Select all
screen zamek1:
zorder 4
modal True
add "dress_up/20/zamek1_background.webp"
imagemap:
ground "dress_up/20/bludiste1_ground.png"
hover "dress_up/20/bludiste1_hover.png"
mousearea:
area [45, 470, 232, 120]
hovered [NullAction()]
unhovered [Hide("zamek1"), SetVariable("zamekpokrok", 0)]
mousearea:
area [276, 515, 1008, 30]
hovered [NullAction()]
unhovered [Hide("zamek1"), SetVariable("zamekpokrok", 0)]So... is there a way ho to combine more mouseareas??
I think this can be also solution but I don't know how to implement it...
"The Mousearea screen language statement now respects the focus_mask style property, making it possible to have non-rectangular mouseareas."
Thank you