SFML community forums
General => Feature requests => Topic started by: sirGustav on January 05, 2008, 03:53:08 pm
-
Looking at the documentation I cant's seem to find anything related to relative mouseinput or changing the position of the cursor.
This is (especially) useful for first person styled movement like:
sf::Event Event;
App.GetMouseState( Event );
// use Event.Mouse for moving camera
App.MoveCursorTo(width/2, height/2);
-
Mouse coordinates :
float X = App.GetInput().GetMouseX();
float Y = App.GetInput().GetMouseY();
Cursor position (in next release) :
App.SetCursorPosition(X, Y);
-
thanks, propbably should have looked better at the roadmap :)
*goes away to get the rc*
edit: after a few minor tweaks(to my code) the rc works like a charm, now I'm having trouble of finding anything wrong with this library - I really like the cleanness of the design. Thanks for a wonderful library and a great support :)
-
now I'm having trouble of finding anything wrong with this library
Damn, I should really add new bugs to the next release :D
I really like the cleanness of the design. Thanks for a wonderful library and a great support
Thank you ;)
-
Quote:
now I'm having trouble of finding anything wrong with this library
Quote:
I really like the cleanness of the design. Thanks for a wonderful library and a great support
*in British accent*
Too right mate