Hello,
I'm looking for a way to get the x and y coordinates of a tile that has been clicked with the mouse. I need the actual grid coordinates, not the canvas coordinates.
I need to override a game method to perform an action with the specific coordinates on each click on a tile.
Thank you for enlightening me !
I'm looking for a way to get the x and y coordinates of a tile that has been clicked with the mouse. I need the actual grid coordinates, not the canvas coordinates.
I need to override a game method to perform an action with the specific coordinates on each click on a tile.
Thank you for enlightening me !