From d70db7fa0b028f2024806bdad3e3360e3df1dabb Mon Sep 17 00:00:00 2001 From: Kelsi Date: Thu, 12 Mar 2026 03:24:25 -0700 Subject: [PATCH] Reduce damage flash vignette opacity for subtler combat feedback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Peak alpha reduced from 180 to 100 (71% → 39%) so the red edge flash is noticeable but less intrusive during combat. --- src/ui/game_screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/game_screen.cpp b/src/ui/game_screen.cpp index 810a2f52..7747dddc 100644 --- a/src/ui/game_screen.cpp +++ b/src/ui/game_screen.cpp @@ -723,7 +723,7 @@ void GameScreen::render(game::GameHandler& gameHandler) { ImGuiIO& io = ImGui::GetIO(); const float W = io.DisplaySize.x; const float H = io.DisplaySize.y; - const int alpha = static_cast(damageFlashAlpha_ * 180.0f); + const int alpha = static_cast(damageFlashAlpha_ * 100.0f); const ImU32 edgeCol = IM_COL32(200, 0, 0, alpha); const ImU32 fadeCol = IM_COL32(200, 0, 0, 0); const float thickness = std::min(W, H) * 0.12f;