1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-09 00:04:42 +00:00

songs in progres

This commit is contained in:
Cameron Taylor 2022-09-20 13:01:37 -04:00
parent afa1a9d13c
commit 37267dd7e2
2 changed files with 8 additions and 1 deletions

View file

@ -1442,8 +1442,12 @@ class PlayState extends MusicBeatState implements IHook
}
else
{
trace('WENT BACK TO FREEPLAY??');
trace('WENT TO RESULTS SCREEN!');
// unloadAssets();
persistentUpdate = false;
vocals.stop();
var res:ResultState = new ResultState();
res.camera = camHUD;
openSubState(res);

View file

@ -7,7 +7,10 @@ class ResultState extends MusicBeatSubstate
{
override function create()
{
FlxG.sound.playMusic(Paths.music("resultsNormal"));
var bg:FlxSprite = new FlxSprite().makeGraphic(FlxG.width, FlxG.height, 0xFF000000);
bg.alpha = 0.8;
bg.scrollFactor.set();
add(bg);
var results:FlxText = new FlxText(70, 70, 0, "RESULTS:", 32);