periodic update for my own sanity
This commit is contained in:
@@ -90,9 +90,10 @@ public class PlayerBehavior : MonoBehaviour
|
||||
unlockedClarinet = stateController.unlockedClarinet;
|
||||
if(playerIsAlive)
|
||||
{
|
||||
// if key pressed J
|
||||
// launch down at 45 degree angle
|
||||
// use: player facing, velocity, start/end points?
|
||||
if (playerInput.actions["ClarinetDive"].WasPressedThisFrame())
|
||||
{
|
||||
UseClarinet();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,7 +142,13 @@ public class PlayerBehavior : MonoBehaviour
|
||||
|
||||
void UseClarinet()
|
||||
{
|
||||
|
||||
// if key pressed J
|
||||
// launch down at 45 degree angle
|
||||
// use: player facing, velocity, start dash function, end dash function
|
||||
if (!playerController.IsGrounded())
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
void ThrowTambourine() {
|
||||
|
||||
Reference in New Issue
Block a user