1
General / Re: Getting window not responding error when program starts
« on: November 22, 2015, 10:48:28 pm »Could you try building from the master branch on GitHub? Your code looks fine (ignoring some weird ways to do some things ).I uninstalled the package downloaded from dnf and built SFML from the Github master branch, the error window still shows up. Could it be an error with Fedora or something else? What I have noticed is that sometimes the program starts with a barely scaled down resolution. I have a perfect circle on screen and when that happens I can see how that circle gets a little bit distorted, when this happens the error window does not show up but it does when the program starts with normal resolution. It's hard to try to replicate this though, it happens like 1 out of 20 times of clicking run.
If you want to flip a boolean value, you could just use paused = !paused;. Also note that you should at least draw something while the game is paused, you could just skip game logic handling to achieve a "paused" game (don't forget to still check for unpausing).
And you are right about the pause boolean value and that it should draw when paused, thanks for telling me.