//From while (true){ drawMap(); FlipScreen(); UpdateEntities(); while (GetTime()-last_time < frame_time);}//Towhile (true){ drawMap(); FlipScreen(); UpdateEntities(); while (GetTime()-last_time < frame_time) { drawMap(); FlipScreen();//without this line it would still chop. }}