Map navigation with irregular hotspots?
Posted: Wed Nov 23, 2016 12:21 pm
What I'm trying to do is create a screen where players can navigate to different parts of a town visually. It doesn't need any special features beyond what can be found in an imagemap, but the problem is that, as I understand it, hotspots can only be defined as rectangles. The image is a complex one with buildings partially overlapping, so defining those as rectangles will always look wrong, especially with the highlighting when hovering over a building.
My second thought was to chop the image up into many different imagebuttons. This seems to work in theory, but it turns making the navigation screen into an ugly and tedious jigsaw puzzle. I'm not very familiar with imagebuttons, though, I just tried to work it out with tutorials starting yesterday.
Am I missing a feature or fundamentally misunderstanding something here? Are there any alternative ways to do this? I've tried to search tutorials and threads for more on this, but please do link me if I missed something that already covers the subject.
My second thought was to chop the image up into many different imagebuttons. This seems to work in theory, but it turns making the navigation screen into an ugly and tedious jigsaw puzzle. I'm not very familiar with imagebuttons, though, I just tried to work it out with tutorials starting yesterday.
Am I missing a feature or fundamentally misunderstanding something here? Are there any alternative ways to do this? I've tried to search tutorials and threads for more on this, but please do link me if I missed something that already covers the subject.