BPM BULLSHIT

This commit is contained in:
Cameron Taylor
2020-10-29 20:06:52 -07:00
parent 1e58720c32
commit 2ba056bfc5
18 changed files with 205 additions and 23 deletions

View File

@ -125,6 +125,8 @@ class PlayState extends MusicBeatState
gf.visible = false;
case "spooky":
dad.y += 200;
case "monster":
dad.y += 100;
}
boyfriend = new Boyfriend(770, 450);
@ -188,8 +190,8 @@ class PlayState extends MusicBeatState
healthBarBG.cameras = [camHUD];
healthHeads.cameras = [camHUD];
if (SONG.song == 'South')
FlxG.camera.alpha = 0.7;
// if (SONG.song == 'South')
// FlxG.camera.alpha = 0.7;
// UI_camera.zoom = 1;
// cameras = [FlxG.cameras.list[1]];
@ -542,7 +544,7 @@ class PlayState extends MusicBeatState
/* if (FlxG.keys.justPressed.NINE)
FlxG.switchState(new Charting()); */
if (FlxG.keys.justPressed.EIGHT)
FlxG.switchState(new AnimationDebug(SONG.player1));
FlxG.switchState(new AnimationDebug(SONG.player2));
if (startingSong)
{
@ -700,6 +702,9 @@ class PlayState extends MusicBeatState
dad.playAnim('singLEFT');
}
if (SONG.needsVoices)
vocals.volume = 1;
daNote.kill();
notes.remove(daNote, true);
daNote.destroy();
@ -1145,6 +1150,14 @@ class PlayState extends MusicBeatState
if (generatedMusic)
{
notes.sort(FlxSort.byY, FlxSort.DESCENDING);
if (SONG.notes[curSection].changeBPM != null)
{
if (SONG.notes[curSection].changeBPM)
{
Conductor.changeBPM(SONG.notes[curSection].bpm);
}
}
}
if (camZooming && FlxG.camera.zoom < 1.35 && totalBeats % 4 == 0)