Made Apotheosis a tiny bit less jarring

This commit is contained in:
Dominic authored and Cameron Ewell committed 2021-06-28 22:54:06 -04:00
1 parent 7df3196eaf
commit 16dcfd8f5d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ namespace CalamityMod.Projectiles.Magic
baseColor = Color.Lerp(baseColor, Color.Fuchsia, (completionRatio - 0.66f) / 0.33f);
else
{
float whiteFade = (float)Math.Sin(Utils.InverseLerp(0.1f, 0.56f, completionRatio, true) * MathHelper.Pi + Main.GlobalTime * 10f) * 0.85f;
float whiteFade = (float)Math.Sin(Utils.InverseLerp(0.0f, 0.2f, completionRatio, true) * MathHelper.Pi + Main.GlobalTime * 3f) * 0.45f;
baseColor = Color.Lerp(baseColor, Color.White, whiteFade);
}
+1 -1
View File
@@ -317,7 +317,7 @@ namespace CalamityMod.Projectiles.Magic
colorA *= currentFade;
colorB *= currentFade;
Vector2 origin = texture.Size() / 2f;
Vector2 scale = new Vector2(8f, 19f) * projectile.Opacity * currentFade;
Vector2 scale = new Vector2(4f, 10f) * projectile.Opacity * currentFade;
spriteBatch.Draw(texture, drawPos, null, colorA, MathHelper.PiOver2, origin, scale, SpriteEffects.None, 0);
spriteBatch.Draw(texture, drawPos, null, colorA, 0f, origin, scale, SpriteEffects.None, 0);