Grav Globe touchups
This commit is contained in:
1 parent
8872270eee
commit
52e2754529
1 file changed
+7
-7
@@ -19,7 +19,7 @@ namespace CalamityMod.ExtraJumps
|
||||
{
|
||||
playSound = true;
|
||||
if (player.wingsLogic <= 0) {
|
||||
player.velocity.Y *= 2.5f;
|
||||
player.velocity.Y *= player.slowFall ? 2.0f : 2.75f;
|
||||
} else {
|
||||
player.velocity.Y *= 1.7f;
|
||||
}
|
||||
@@ -27,12 +27,12 @@ namespace CalamityMod.ExtraJumps
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
Vector2 position = player.Center;
|
||||
Vector2 velocity = (Vector2.UnitY * (0.5f + 2f*i)) * player.gravDir;
|
||||
int lifetime = 60;
|
||||
float scale = MathHelper.Lerp(0.03f,0.05f,i/5f);
|
||||
Color color = i % 2 <= 3 ? new Color(94,229,163) : new Color(84,84,84);
|
||||
Vector2 stretch = new Vector2(0.7f, i == 0 ? 1.3f : 0.9f);
|
||||
float shrink = -0.3f - 0.1f*i;
|
||||
Vector2 velocity = (Vector2.UnitY * -(2.5f + 2f*i)) * player.gravDir;
|
||||
int lifetime = 120;
|
||||
float scale = MathHelper.Lerp(0.05f,0.1f,i/3f);
|
||||
Color color = new Color(94,229,163);
|
||||
Vector2 stretch = new Vector2(0.5f,1.5f);
|
||||
float shrink = -0.3f;
|
||||
Particle boostRing = new CustomSpark(position, velocity, "CalamityMod/Particles/HighResHollowCircleHardEdgeAlt", false,lifetime,scale,color,stretch,shrinkSpeed: shrink);
|
||||
GeneralParticleHandler.SpawnParticle(boostRing);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user