mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ private:
|
|||
|
||||
void flap()
|
||||
{
|
||||
const float flap_strength = 15.0f;
|
||||
const float flap_strength = 10.0f;
|
||||
velocity = -flap_strength;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue