Closed Arxcis closed 8 years ago
This happens because time.sleep() dosen't work properly. I just figured out that this could be caused by the built in python buffering. If we somehow could turn off the buffering.
http://stackoverflow.com/questions/107705/disable-output-buffering
Here is an explanation
The code relevant for this issue is here: https://github.com/EmilZach/Sentence-Crusher/blob/master/Game/graphics.py#L45-L52
I need someone to test the program in other environments. I don't run Linux or Mac, so I can't check if it works.
Its not just different operating systems , but also if you run in GIT-bash or cmd or inside PyCharms
I need someone to test the program in other environments. I don't run Linux or Mac, so I can't check if it works.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/EmilZach/Sentence-Crusher/issues/5#issuecomment-202141088
Oh, so you meant terminal environments. I can test on Bash since I don't use PyCharm.
Can confirm it works with cmd and Bash. I'll mark it as closed unless the issue persists.
Issue description: I noen miljøeer som spillet blir kjørt i, så funker ikke animasjonen slik som den skal. Plutselig kommer alle 3 tallene på en gang, istedet for at hvert tall kommer hvert sekund.