This is an interesting article that talks about the pitfalls of poorly thought out game loops.
For example this simple one:
bool game_is_running = true; while( game_is_running ) { update_game(); display_game(); }
bool game_is_running = true;
while( game_is_running ) { update_game(); display_game(); }
Read more: The Game Loop, by Koen Witters
Remember Me
a@href@title, b, blockquote@cite, i, strike, strong, sub, u