Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

sync printing with refresh rate

Name: Anonymous 2012-02-07 14:57

I'd like to make a game in C that runs in a terminal/fb console. How can I get the screen to update only once for each time the screen refreshes?

Name: Anonymous 2012-02-07 15:40

I'm surprised that a terminal game would need to refresh as often as 60fps or so... But seriously, don't bother matching the refresh rate and make your game independent of refresh rate/CPU speed.

If you really want to, you can get the refresh rate by querying X.org.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List