So this is my first try animating on my own, without a reference right in front of me. It's not working, I did check some of the projects I've made in the past, but for one those were done with Allegro, and really it should be able to move over to SFML quite easily, but it's not. It does display on the window in the correct place, but there are 3 pictures in the file and I want it to cycle through them, but it shows all three at the same time, and it only works once. if I press space a second time, only one of the pictures shows up, and it doesn't cycle at all. Here is my .cpp file for it, can anyone tell if anything is missing? or what it is I need to change? Any help would be greatly appreciated. (if more info is needed please let me know)
oh that's a good idea, I was thinking of doing it like that somehow but I couldn't think of how to do it, thank you, I will try this and let you know if it works.