diff options
author | Mitchel Humpherys <mitch.special@gmail.com> | 2021-08-20 14:53:23 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-21 00:25:43 +0200 |
commit | 2fb26299bb63f559e78ff66294c461d52efdc414 (patch) | |
tree | a7794514abec3e9d6ad6313534f953798edb2d12 /Userland/Games | |
parent | 9721b7b2dd8bd30bfeb86d906fb64b1791ecf3c2 (diff) | |
download | serenity-2fb26299bb63f559e78ff66294c461d52efdc414.zip |
FlappyBug: Flap less aggressively
The current flap strength makes the game a lot more difficult than
other flappy games. Decrease the flap strength to make it a little
easier to get higher scores.
Before this change I could only get past 3 or 4 obstacles, now I can
get 15 or 20 in, which seems more on par with other flappy games.
Diffstat (limited to 'Userland/Games')
-rw-r--r-- | Userland/Games/FlappyBug/Game.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/FlappyBug/Game.h b/Userland/Games/FlappyBug/Game.h index 0bffc2d18e..1c56fafec3 100644 --- a/Userland/Games/FlappyBug/Game.h +++ b/Userland/Games/FlappyBug/Game.h @@ -65,7 +65,7 @@ private: void flap() { - const float flap_strength = 15.0f; + const float flap_strength = 10.0f; velocity = -flap_strength; } |