summaryrefslogtreecommitdiff
path: root/Userland/Games
diff options
context:
space:
mode:
authorMitchel Humpherys <mitch.special@gmail.com>2021-08-20 14:53:23 -0700
committerAndreas Kling <kling@serenityos.org>2021-08-21 00:25:43 +0200
commit2fb26299bb63f559e78ff66294c461d52efdc414 (patch)
treea7794514abec3e9d6ad6313534f953798edb2d12 /Userland/Games
parent9721b7b2dd8bd30bfeb86d906fb64b1791ecf3c2 (diff)
downloadserenity-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.h2
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;
}