Timeline for Highlighing and hit detection on a geographic game
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 21, 2016 at 18:10 | comment | added | sjaustirni | There's one more solution to this - put images of countries with overlaying bounding box on top of each other. When mouse has been moved / user has clicked, check the pixel at given position on topmost image for transparency. If it is not transparent, it must be the country on that image. If it is, proceed downwards. | |
May 18, 2016 at 16:45 | history | answered | Nils Ole Timm | CC BY-SA 3.0 |