saving progress

This commit is contained in:
allylikesfrogs
2023-05-05 17:13:40 -07:00
parent 54efc7d934
commit f7c7c19649
3 changed files with 94 additions and 342 deletions

View File

@@ -313,10 +313,10 @@ public class PlayerMovement : MonoBehaviour
//Caps maximum fall speed, so when falling over large distances we don't accelerate to insanely high speeds
RB.velocity = new Vector2(RB.velocity.x, Mathf.Max(RB.velocity.y, -Data.maxFallSpeed));
}
else if (playerBehavior.isInWater)
/*else if (playerBehavior.isInWater)
{
SetGravityScale(0);
}
}*/
else
{
//Default gravity if standing on a platform or moving upwards