User profile: long int main

User info
User name:long int main
Number of posts:58
Latest posts:

sfml rotate
I'm trying to make it rotate to point towards the mouse, and when I press up, it moves towards the m...

sfml rotate
I can't use guy.move because it will just unlimitedly move it, I can't use guy.SetPosition because i...

sfml rotate
Sorry, I still have a problem.

sfml rotate
Thanks everyone! [code]guy.setRotation(atan2(mousepos.y-guypos.y,mousepos.x-guypos.x)*180/pi);[/code...

sfml rotate
Sorry, that didn't work for me. I found one of my old programs that can detect the mouse position. :...