- Dec 8, 2017
- 741
- 2,479
So, for the navigation inside the buildings of my game i decided to use imagemaps.
Everything work as intended with the test i have done, the parts that i want to be highlighted are so, except one thing: the Alpha property. The whole hotspot can be clicked, even tough the aeras wich are tranparent in the hover picture flicker...
My code:
It should work....i searched for an hour but the only guy who had the same problem did not find a solution...
I also attached the whole project in case you need to see it for yourself. The problematic aera is on the right side of the bed.
Thank you in advance.
Everything work as intended with the test i have done, the parts that i want to be highlighted are so, except one thing: the Alpha property. The whole hotspot can be clicked, even tough the aeras wich are tranparent in the hover picture flicker...
My code:
Code:
screen mcbedroom():
imagemap:
idle "mcroommap_idle.png"
hover "mcroommap_hover.png"
alpha True
hotspot (481, 220, 185, 259) action Jump ("hallwaylabel")
hotspot (1298, 372, 101, 73) action Jump ("computerlabel")
hotspot (628, 516, 1283, 562) action Jump ("mcbedlabel")
I also attached the whole project in case you need to see it for yourself. The problematic aera is on the right side of the bed.
Thank you in advance.
Last edited: