Mouse Coordinates [Feature Request]

Post Reply
horsethief
Posts: 4
Joined: Thu May 15, 2014 12:18 am

Mouse Coordinates [Feature Request]

Post 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.

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mouse Coordinates [Feature Request]

Post by Vadi »

Sounds reasonable. Meanwhile, you can try to split up the minimap into a grid of images.

Post Reply