mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
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.
This commit is contained in:
parent
9721b7b2dd
commit
2fb26299bb
Notes:
sideshowbarker
2024-07-18 05:26:41 +09:00
Author: https://github.com/mgalgs 🔰 Commit: https://github.com/SerenityOS/serenity/commit/2fb26299bb6 Pull-request: https://github.com/SerenityOS/serenity/pull/9538
@ -65,7 +65,7 @@ private:
|
||||
|
||||
void flap()
|
||||
{
|
||||
const float flap_strength = 15.0f;
|
||||
const float flap_strength = 10.0f;
|
||||
velocity = -flap_strength;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user