nothing much starting to set up my scripts

This commit is contained in:
allylikesfrogs
2023-05-02 17:00:58 -07:00
parent 163ead5f93
commit 21dd2d889a
3 changed files with 13 additions and 31 deletions

View File

@@ -83,6 +83,14 @@ public class PlayerBehavior : MonoBehaviour
Animate();
}
unlockedClarinet = stateController.unlockedClarinet;
if(playerIsAlive)
{
// if key pressed J
// launch down at 45 degree angle
// use: player facing, velocity, start/end points?
}
}
void Animate() {
@@ -128,6 +136,11 @@ public class PlayerBehavior : MonoBehaviour
GetComponent<SpriteRenderer>().flipX = !GetComponent<SpriteRenderer>().flipX;
}
void UseClarinet()
{
}
void ThrowTambourine() {
if (unlockedTambourine && hasTambourine && !grapplingRope.isGrappling)
{