Page 1 of 1

Mouse Coordinates [Feature Request]

Posted: Thu May 15, 2014 12:24 am
by horsethief
Hello,

Feature:
when clicking on a label, the x,y coordinates of the mouse pointer get passed along with any other parameters to a callback function. OR, maybe a left_click right_click event that gets fired if you click anywhere within mudlet. I searched high and low, but couldn't find anything about this, so i apologize if it already exists.

Use case:
I would like to display a mini-map in the corner when in a wilderness area. I would like to left/right click on this mini-map and go to the corresponding x,y coordinates in the game based on where I clicked on this mini-map.

Re: Mouse Coordinates [Feature Request]

Posted: Thu May 15, 2014 7:19 am
by Vadi
Sounds reasonable. Meanwhile, you can try to split up the minimap into a grid of images.