SFML community forums
Help => General => Topic started by: Felshire on February 18, 2012, 07:58:52 am
-
How do you get the real mouse coordinates??
I know how to get the mouse coordinates relative to the window, but I need the coordinates from the (0,0) point of the actual game. (Not window)
Ive been trying for like 3 hours
:C
-
Hint: the window has a function to convert local mouse coordinates to global ones according to the current view.
enjoy!
-
NVM
TOOK ME 4 HOURS
But I finally got it
Might want to update document because it says nothing about event MouseButton