lots of small changes lol

worked on tambourine level layout, improved tambourine throwing, created enemy respawn system
This commit is contained in:
slevy14 committed 2023-04-29 14:51:50 -07:00
1 parent ed3fcf541c
commit 405e20ca2f
11 files changed
+10894 -528

No files matched your search

+9 -9
View File
@@ -97,14 +97,14 @@ public class PlayerMovement : MonoBehaviour
CheckDirectionToFace(_moveInput.x > 0);
#endregion
if (!IsJumping)
{
print("not jumping");
}
else
{
print("jumping, " + RB.velocity.y);
}
// if (!IsJumping)
// {
// print("not jumping");
// }
// else
// {
// print("jumping, " + RB.velocity.y);
// }
#region COLLISION CHECKS
if (!IsJumping)
@@ -164,7 +164,7 @@ public class PlayerMovement : MonoBehaviour
Jump();
if (!IsGrounded() && in_range && trumpet > 0)
{
Destroy(enemy.gameObject);
enemy.GetComponent<EnemyPatrol>().DefeatEnemy();
enemy = null;
in_range = false;
}