From 8f871e6dbc079d4f02b8d5f0738ab1ca9d218e4f Mon Sep 17 00:00:00 2001 From: joncloud Date: Tue, 28 Jan 2020 19:32:42 -0800 Subject: [PATCH] Adjusts background speed to be a little faster --- src/Tetrominoes/MatchComponent.cs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Tetrominoes/MatchComponent.cs b/src/Tetrominoes/MatchComponent.cs index 1dc8438..7d26c01 100644 --- a/src/Tetrominoes/MatchComponent.cs +++ b/src/Tetrominoes/MatchComponent.cs @@ -124,18 +124,18 @@ static float GetBackgroundSpeedForRowHeight(int rowHeight) { return rowHeight switch { - 00 => 0.0030f, - 01 => 0.0030f, - 02 => 0.0030f, - 03 => 0.0030f, - 04 => 0.0030f, - 05 => 0.0030f, - 06 => 0.0030f, - 07 => 0.0030f, - 08 => 0.0030f, - 09 => 0.0030f, - 10 => 0.0030f, - 11 => 0.0030f, + 00 => 0.0070f, + 01 => 0.0065f, + 02 => 0.0060f, + 03 => 0.0055f, + 04 => 0.0050f, + 05 => 0.0045f, + 06 => 0.0040f, + 07 => 0.0035f, + 08 => 0.0034f, + 09 => 0.0033f, + 10 => 0.0032f, + 11 => 0.0031f, 12 => 0.0030f, 13 => 0.0029f,