SFML community forums
Help => General => Topic started by: Sfnewbie on May 30, 2021, 12:33:29 pm
-
can someone debug it?
i dunno what you're suppossed to do on forums so sorry if i dont follow etiquitte
https://pastebin.com/6UavyR6T
https://pastebin.com/XTdHny0q
https://pastebin.com/84wGe716
-
sorry, no one is going to download the entire code and try to debug it to find the solution for a problem you didn't describe :P
check this (https://en.sfml-dev.org/forums/index.php?topic=5559.0) to help you formulate your question and then post here again
-
its a pastebin link right? you shouldnt need to download it
-
usually it is, but you can also use the
tags
-
It definitely makes it easier when what is happening that isn't correct is stated.
But at a guess, it looks like your animation update function isn't using deltaTime, so the animation doesn't advance frames. Probably a totalTime+=deltaTime; should be in there.