update
This commit is contained in:
@ -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
|
||||
|
||||
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user