Commit 8fc93687f7ca8c48ed47f407ec27331aa09f38ce
1 parent
88f47d84
Decreased delay
Showing
3 changed files
with
3 additions
and
3 deletions
03-bullet/cannon.c
@@ -33,7 +33,7 @@ int main() { | @@ -33,7 +33,7 @@ int main() { | ||
33 | angle -= 1.0 * (M_PI/180.0); | 33 | angle -= 1.0 * (M_PI/180.0); |
34 | if(gfx_isKeyDown(SDLK_LEFT)) | 34 | if(gfx_isKeyDown(SDLK_LEFT)) |
35 | angle += 1.0 * (M_PI/180.0); | 35 | angle += 1.0 * (M_PI/180.0); |
36 | - SDL_Delay(100); | 36 | + SDL_Delay(10); |
37 | }; | 37 | }; |
38 | return 0; | 38 | return 0; |
39 | } | 39 | } |
04-shoot/cannon.c
05-target/cannon.c