Hello how to do a sprite creation on mouse click? What I am trying to do is laying out the grid for A* Algorithm so I made a grid and able to snap the walls and the tiles and such to that grid. I am stucked at making sprite on mouse click. How does SFML allow me to do this? I am using SFML 2.
Thanks