Jesus people is there a way to make a game where I click on the map and a building appears there????
Mouse coordinates can be received using the "mouse moved" event. Alternatively you could just get the mouse position on "mouse click". The latter would be ideal, because it causes less lag. Just set a point variable to "position from X/Y" and then set the x and y values to "mouse X word position" and "mouse Y world position".
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
To post a comment, please login or register a new account.
Mouse coordinates can be received using the "mouse moved" event. Alternatively you could just get the mouse position on "mouse click". The latter would be ideal, because it causes less lag. Just set a point variable to "position from X/Y" and then set the x and y values to "mouse X word position" and "mouse Y world position".