hello, i'm making a simple text based strategy game in C++, using ncurses for the ‘terminal screen’ and SFML for audio. I'm using std::chrono for timers. This is the first time i've dealt with a game loop proper and a concept of time in my games. There is 1 game timer, which “ticks” every 5 seconds, and runs all my update functions. The (basic) problem I have now is I need all this to happen silently in the background, while the player goes about their business, navigating text menus etc. Right now as soon as the …
↧