Skip to content
Snippets Groups Projects
Commit 666db597 authored by Adam Elfawal's avatar Adam Elfawal
Browse files

Music does the music thing

parent 6ecced73
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ public class GM : MonoBehaviour
private static AnimationCurve comboScale;
public int maxComboMultiplier = 100;
private static int maxCombo;
private static float currentComboPoints;
public static float currentComboPoints;
public static float sprintPercent;
public Slider sprintSlider;
......
......@@ -27,6 +27,7 @@ public class MusicManager : MonoBehaviour
private float currentChaosAmt = 0;
private float lastChaosAmt = 0;
private string chaosParam = "Chaos Level";
public GM gameManager;
// Start is called before the first frame update
void Start()
......@@ -40,6 +41,7 @@ void Start()
void Update()
{
// TODO Calcuate Chaos Amt to determine # we'll compare stuff with
currentChaosAmt = GM.score + GM.combo*2 + GM.currentComboPoints;
// Pass if nothin' happened
if (lastChaosAmt == currentChaosAmt) return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment