Backported animcontroller-overhaul
This commit is contained in:
@@ -400,6 +400,7 @@ namespace Barotrauma
|
||||
|
||||
spriteBatch.Begin(SpriteSortMode.Immediate,
|
||||
BlendState.AlphaBlend);
|
||||
|
||||
float r = Math.Min(CharacterHUD.damageOverlayTimer * 0.5f, 0.5f);
|
||||
spriteBatch.Draw(renderTarget, new Rectangle(0, 0, GameMain.GraphicsWidth, GameMain.GraphicsHeight),
|
||||
Color.Lerp(new Color(0.1f, 0.1f, 0.1f), Color.Red, r));
|
||||
|
||||
Reference in New Issue
Block a user