is there a way to get the screen coordinates by the tile position?
Example: I clicked the tile 23,45. What´s it´s screen x, y position (top left)?
I´m getting the mouse position nowadays, but it has the tile width and heigth range that I don´t want.
Screen coordinates
Screen coordinates
Fabio Colombini
Brazil
Brazil
Re: Screen coordinates
You should get the tile's x and y coordinates and play with the localToGlobal or globalToLocal functions provided by Flash.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “OpenSpace v2 discussions and help”
Who is online
Users browsing this forum: No registered users and 26 guests