Really? Can you suggest how to get the mouse UI coordinates when I am using a mouse move event? I must be missing something, I couldn't find anything built in for this.
All I want to do is move a dialogue around attached to the mouse cursor while the mouse move event is active,
Here is how you get the UI coordinates from the mouse moved event. To move the dialog to the exact cursor's position, you need to know the player's resolution. Simply using the Mouse UI coordinates will not work because dialogs are scaled down in-game depending on the player's resolution and aspect ratio.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@SexLethal: Go
Really cool library SexLethal, great job. This has a lot of potential.
Here is how you get the UI coordinates from the mouse moved event. To move the dialog to the exact cursor's position, you need to know the player's resolution. Simply using the Mouse UI coordinates will not work because dialogs are scaled down in-game depending on the player's resolution and aspect ratio.