Reduce damage flash vignette opacity for subtler combat feedback

Peak alpha reduced from 180 to 100 (71% → 39%) so the red edge flash is
noticeable but less intrusive during combat.
This commit is contained in:
Kelsi 2026-03-12 03:24:25 -07:00
parent 6cf511aa7f
commit d70db7fa0b

View file

@ -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<int>(damageFlashAlpha_ * 180.0f);
const int alpha = static_cast<int>(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;