From VbGORE Visual Basic Online RPG Engine
Converts a click position (the pixel position on the screen) to a map tile position. Used to figure out what tile the cursor is over.
- Clicked screen X pixel co-ordinate.
- Clicked screen Y pixel co-ordinate.
- Returned map X tile.
- Returned map Y tile.