move files to libraries

This commit is contained in:
George FunBook
2021-02-08 20:43:17 -06:00
parent d16091dc24
commit 2a559f1750
428 changed files with 118 additions and 20 deletions

View File

@ -139,6 +139,7 @@ class PlayState extends MusicBeatState
if (SONG == null)
SONG = Song.loadFromJson('tutorial');
Paths.setCurrentLevel(SONG.song);
Conductor.changeBPM(SONG.bpm);
@ -968,7 +969,7 @@ class PlayState extends MusicBeatState
lastReportedPlayheadPosition = 0;
if (!paused)
FlxG.sound.playMusic(Paths.music(SONG.song + "_Inst"), 1, false);
FlxG.sound.playMusic(Paths.music("Inst"), 1, false);
FlxG.sound.music.onComplete = endSong;
vocals.play();
}
@ -985,7 +986,7 @@ class PlayState extends MusicBeatState
curSong = songData.song;
if (SONG.needsVoices)
vocals = new FlxSound().loadEmbedded(Paths.music(curSong + "_Voices"));
vocals = new FlxSound().loadEmbedded(Paths.music("Voices"));
else
vocals = new FlxSound();