diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-02 19:28:13 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-02 19:28:13 -0500 |
commit | 2417f30d6863355e82ee6b3618a6ee5af5e9ae74 (patch) | |
tree | cdf5e7f5520ba03c476fcb612424f9bffbb6fae7 /src | |
parent | b628c80f988c1fb250b94b17dca8e082bc4c1d0b (diff) | |
download | tanetane-2417f30d6863355e82ee6b3618a6ee5af5e9ae74.tar.gz tanetane-2417f30d6863355e82ee6b3618a6ee5af5e9ae74.tar.bz2 tanetane-2417f30d6863355e82ee6b3618a6ee5af5e9ae74.zip |
Fixed movement speed to be more like the game
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index b3aee1a..5e5953b 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -32,7 +32,7 @@ void loop(Renderer& renderer) { | |||
32 | 32 | ||
33 | renderer.render(game); | 33 | renderer.render(game); |
34 | 34 | ||
35 | Timer inputTimer(50); | 35 | Timer inputTimer(33); |
36 | Timer animTimer(1000/5);//30fps * 1000 t/s; | 36 | Timer animTimer(1000/5);//30fps * 1000 t/s; |
37 | 37 | ||
38 | size_t lastTime = SDL_GetTicks(); | 38 | size_t lastTime = SDL_GetTicks(); |