Commit 807feb00 by Philipp Adolf

Make vertical dashing less effective

parent ec5c6aac
......@@ -31,7 +31,8 @@ public class PlayerControl : MonoBehaviour
public float dashCompletionTime = 0.25f;
public float dashStartSpeed = 20.0f;
public float dashEndSpeed = 8.0f;
public float dashCoolDown = 0.5f;
public float dashCoolDown = 0.4f;
public float dashVerticalScale = 0.5f;
public float dashCollisionCoolDown = 1.5f;
[HideInInspector]
public float currentDashCoolDown = 0.0f;
......@@ -217,7 +218,7 @@ public class PlayerControl : MonoBehaviour
}
if (horizontalDashDirection != 0.0f || verticalDashDirection != 0.0f)
dashDirection = new Vector2(horizontalDashDirection, verticalDashDirection);
dashDirection = new Vector2(horizontalDashDirection, dashVerticalScale * verticalDashDirection);
}
private float getDashTime ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment