void OnBeat(int num) { switch (num) { default: break; case 5: case 15: case 25: case 35: case 83: case 99: InstantiateAttack(FalseAttack.AttackType.CIRCLE_OUT_0); break; case 10: case 20: case 30: case 40: case 91: case 107: InstantiateAttack(FalseAttack.AttackType.CIRCLE_OUT_1); break; case 45: case 55: case 65: case 75: case 88: case 104: InstantiateAttack(FalseAttack.AttackType.CIRCLE_OUT_2); break; case 50: case 60: case 70: case 80: case 96: case 112: InstantiateAttack(FalseAttack.AttackType.CIRCLE_OUT_3); break; case 117: LM.SpawnCoinCircle(8, 850); LM.SpawnCoinCircle(8, 1000, PI / 8); LM.SpawnCoinCircle(8, 1150); break; case 125: phase = 1; break; case 188: phase = 0; //InstantiateAttack(FalseAttack.AttackType.CIRCLE_IN_0); break; case 190: case 200: case 210: case 239: case 268: case 291: InstantiateAttack(FalseAttack.AttackType.CIRCLE_IN_0); break; case 195: case 205: case 215: case 227: case 277: case 301: InstantiateAttack(FalseAttack.AttackType.CIRCLE_IN_1); break; case 222: case 273: case 296: InstantiateAttack(FalseAttack.AttackType.CIRCLE_OUT_2); break; case 234: case 282: case 306: InstantiateAttack(FalseAttack.AttackType.CIRCLE_OUT_3); break; case 244: case 252: case 260: case 286: InstantiateAttack(FalseAttack.AttackType.CIRCLE_OUT_0); break; case 248: case 256: case 264: case 300: InstantiateAttack(FalseAttack.AttackType.CIRCLE_OUT_1); break; case 308: LM.SpawnCoinCircle(8, 850); LM.SpawnCoinCircle(8, 1000, PI / 8); LM.SpawnCoinCircle(8, 1150); break; case 316: phase = 1; break; case 318: Music.Instance.GetComponent <AudioSource>().time -= 192 * LM.GetBeatTime(); beatNum -= 192; break; } }
void OnBeat(int num) { switch (num) { default: break; case 0: grid.randomAmount = 2; grid.randomStickyAmount = 0; grid.gridState = GridState.RANDOM; break; case 56: grid.randomAmount = 5; break; case 63: grid.randomAmount = 12; break; case 95: grid.randomAmount = 16; break; case 120: grid.randomAmount = 2; break; case 159: grid.randomAmount = 6; break; case 191: grid.gridState = GridState.TUNNEL_RANDOM; break; case 312: grid.gridState = GridState.OFF; break; case 350: grid.randomAmount = 0; grid.randomStickyAmount = 1; grid.gridState = GridState.RANDOM; break; case 383: grid.randomAmount = 4; break; case 445: grid.randomAmount = 8; break; case 510: grid.randomAmount += 5; Music.Instance.GetComponent <AudioSource>().time = 448 * LM.GetBeatTime(); BaseLevel.Instance.SetBeatNum(448); break; } // 640 Enrage }
void OnBeat(int num) { switch (num) { default: break; case 0: gun.Single(Random.Range(25, 35)); break; case 26: gun.Disable(); break; case 30: laser.Activate(); break; case 59: laser.Aim(); break; case 62: laser.Activate(); gun.Single(Random.Range(25, 35)); break; case 92: laser.Deactivate(); gun.Disable(); break; case 93: mainGun.StartLaser(); break; case 108: mainGun.StartLaser(); break; case 125: mainGun.StartLaser(); break; case 126: if (loopCount == 0) { gun.Double(Random.Range(25, 35)); } else { gun.Quad(Random.Range(25, 35)); } break; case 157: mainGun.StartLaser(); gun.Disable(); break; case 159: laser.Activate(); break; case 173: mainGun.StartLaser(); break; case 189: mainGun.StartLaser(); break; case 192: if (loopCount == 0) { gun.Single(Random.Range(25, 35)); } else if (loopCount == 1) { gun.Double(Random.Range(25, 35)); } else { gun.Quad(Random.Range(25, 35)); } break; case 205: mainGun.StartLaser(); break; case 220: mainGun.StartLaser(); break; case 222: // Loop 192 loopCount++; gun.Disable(); laser.Deactivate(); Music.Instance.GetComponent <AudioSource>().time -= 128 * LM.GetBeatTime(); BaseLevel.Instance.SetBeatNum(BaseLevel.Instance.GetBeatNum() - 128); break; } }