You probably don't want to mix framerate dependent ( *= 0.9 ) and independent ( Velocity ) techniques though. Since I'm using SyncedWithMonitor the deceleration will be slower on monitors with lower refresh-rate / devices with lower performance, while the effective rotation velocity will the constant regardless of framerate.
Also, by changing "-=" and "+=" to "=" the rotation won't stop when you're pressing both left and right at the same time ( which I personally find desirable ).
Kjell - yes, you are right. This was just a simplified "didactic" example of how to achieve such an effect easily. In reality, I would use FPS-independent solution, similar to the attached one. (Optionally, I would maybe access rotation directly, not by velocity.)
Depends a little on how you want to handle this ( technically ). A common way is to hide the Windows cursor and show a sprite instead* Attached is a example on how to do this ( albeit a little awkward, the Font component is actually the easiest way to pull this off ).
*The windows cursor will only be hidden in a standalone executable, not in the Editor.
ok, so i tested it, and works perfectly, however i have a problem, the image shows with black background, and it shouldn´t since the background is trasparent (.png alpha channel)