C++ SFML - How to make bouncing sprite?
<p>I try to make 2D game with C++ using SFML. I have drawn sprite and now I want to make that sprite moving automatically to random direction and when it hit wall then it bounce away and change direction. I don't know how to do auto moving sprite what bounce from wall... So please help me.</p>