Sign in
gwj
/
graphics_tutorial
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Snippets
Download as
Email Patches
Plain Diff
Browse Code »
Commit
8fc93687f7ca8c48ed47f407ec27331aa09f38ce
Authored by
Grzegorz Jabłoński
2020-02-18 19:23:59 +0100
1 parent
88f47d84
Decreased delay
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
03-bullet/cannon.c
04-shoot/cannon.c
05-target/cannon.c
03-bullet/cannon.c
View file @
8fc9368
...
...
@@ -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(10
0
);
36
+ SDL_Delay(10
);
37
37
};
38
38
return 0;
39
39
}
...
...
04-shoot/cannon.c
View file @
8fc9368
...
...
@@ -45,7 +45,7 @@ int main() {
45
45
bullet_distance = 170.0;
46
46
fire_angle = angle;
47
47
}
48
- SDL_Delay(10
0
);
48
+ SDL_Delay(10
);
49
49
};
50
50
return 0;
51
51
}
...
...
05-target/cannon.c
View file @
8fc9368
...
...
@@ -55,7 +55,7 @@ int main() {
55
55
bullet_distance = 170.0;
56
56
fire_angle = angle;
57
57
}
58
- SDL_Delay(10
0
);
58
+ SDL_Delay(10
);
59
59
};
60
60
return 0;
61
61
}
...
...