nothing much starting to set up my scripts
This commit is contained in:
parent
163ead5f93
commit
21dd2d889a
@ -1,20 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class ClarinetBehavior : MonoBehaviour
|
||||
{
|
||||
// dash downwards at 45degree angle in faced direction
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 88df81f1a92a1dd4eb59a78d2abca7e8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user