Mouse Coordinates [Feature Request]

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

Mouse Coordinates [Feature Request]

Post by horsethief » Thu May 15, 2014 12:24 am

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: 4723
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mouse Coordinates [Feature Request]

Post by Vadi » Thu May 15, 2014 7:19 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests