From 228ef02cf6a59bc3f929b1d0767c982c858d0196 Mon Sep 17 00:00:00 2001 From: Gregor Klevze Date: Tue, 25 Nov 2025 07:22:25 +0100 Subject: [PATCH] update --- src/core/Config.h | 2 +- src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Config.h b/src/core/Config.h index 538ba90..563d92b 100644 --- a/src/core/Config.h +++ b/src/core/Config.h @@ -28,7 +28,7 @@ namespace Config { namespace Gameplay { constexpr double DAS_DELAY = 170.0; // Delayed Auto Shift delay in ms constexpr double ARR_RATE = 40.0; // Auto Repeat Rate in ms - constexpr float LEVEL_FADE_DURATION = 3500.0f; // Level background fade time in ms + constexpr float LEVEL_FADE_DURATION = 5000.0f; // Level background fade time in ms constexpr int MAX_LEVELS = 20; // Maximum selectable starting level // Gravity speed multiplier: 1.0 = normal, 2.0 = 2x slower, 0.5 = 2x faster diff --git a/src/main.cpp b/src/main.cpp index 59b1f71..7b0a8e4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -114,7 +114,7 @@ struct LevelBackgroundFader { int currentLevel = -1; int queuedLevel = -1; float fadeElapsedMs = 0.0f; - float fadeDurationMs = 3500.0f; + float fadeDurationMs = Config::Gameplay::LEVEL_FADE_DURATION; }; static void destroyTexture(SDL_Texture*& tex) {