Commit 8fc93687f7ca8c48ed47f407ec27331aa09f38ce

Authored by Grzegorz Jabłoński
1 parent 88f47d84

Decreased delay

03-bullet/cannon.c
... ... @@ -33,7 +33,7 @@ int main() {
33 33 angle -= 1.0 * (M_PI/180.0);
34 34 if(gfx_isKeyDown(SDLK_LEFT))
35 35 angle += 1.0 * (M_PI/180.0);
36   - SDL_Delay(100);
  36 + SDL_Delay(10);
37 37 };
38 38 return 0;
39 39 }
... ...
04-shoot/cannon.c
... ... @@ -45,7 +45,7 @@ int main() {
45 45 bullet_distance = 170.0;
46 46 fire_angle = angle;
47 47 }
48   - SDL_Delay(100);
  48 + SDL_Delay(10);
49 49 };
50 50 return 0;
51 51 }
... ...
05-target/cannon.c
... ... @@ -55,7 +55,7 @@ int main() {
55 55 bullet_distance = 170.0;
56 56 fire_angle = angle;
57 57 }
58   - SDL_Delay(100);
  58 + SDL_Delay(10);
59 59 };
60 60 return 0;
61 61 }
... ...