mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-06 20:27:40 +00:00
remove difficulty stars
This commit is contained in:
parent
a6d44b1f15
commit
da4f1fb424
|
@ -37,8 +37,8 @@ class AlbumRoll extends FlxSpriteGroup
|
|||
}
|
||||
|
||||
var newAlbumArt:FlxAtlasSprite;
|
||||
var difficultyStars:DifficultyStars;
|
||||
|
||||
// var difficultyStars:DifficultyStars;
|
||||
var _exitMovers:Null<FreeplayState.ExitMoverData>;
|
||||
|
||||
var albumData:Album;
|
||||
|
@ -65,9 +65,9 @@ class AlbumRoll extends FlxSpriteGroup
|
|||
|
||||
add(newAlbumArt);
|
||||
|
||||
difficultyStars = new DifficultyStars(140, 39);
|
||||
difficultyStars.stars.visible = false;
|
||||
add(difficultyStars);
|
||||
// difficultyStars = new DifficultyStars(140, 39);
|
||||
// difficultyStars.stars.visible = false;
|
||||
// add(difficultyStars);
|
||||
}
|
||||
|
||||
function onAlbumFinish(animName:String):Void
|
||||
|
@ -86,7 +86,7 @@ class AlbumRoll extends FlxSpriteGroup
|
|||
{
|
||||
if (albumId == null)
|
||||
{
|
||||
difficultyStars.stars.visible = false;
|
||||
// difficultyStars.stars.visible = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -133,12 +133,12 @@ class AlbumRoll extends FlxSpriteGroup
|
|||
wait: 0
|
||||
});
|
||||
|
||||
exitMovers.set([difficultyStars],
|
||||
{
|
||||
x: FlxG.width * 1.2,
|
||||
speed: 0.2,
|
||||
wait: 0.3
|
||||
});
|
||||
// exitMovers.set([difficultyStars],
|
||||
// {
|
||||
// x: FlxG.width * 1.2,
|
||||
// speed: 0.2,
|
||||
// wait: 0.3
|
||||
// });
|
||||
}
|
||||
|
||||
var titleTimer:Null<FlxTimer> = null;
|
||||
|
@ -151,10 +151,10 @@ class AlbumRoll extends FlxSpriteGroup
|
|||
newAlbumArt.visible = true;
|
||||
newAlbumArt.playAnimation(animNames.get('$albumId-active'), false, false, false);
|
||||
|
||||
difficultyStars.stars.visible = false;
|
||||
// difficultyStars.stars.visible = false;
|
||||
new FlxTimer().start(0.75, function(_) {
|
||||
// showTitle();
|
||||
showStars();
|
||||
// showStars();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -163,18 +163,16 @@ class AlbumRoll extends FlxSpriteGroup
|
|||
newAlbumArt.playAnimation(animNames.get('$albumId-trans'), false, false, false);
|
||||
}
|
||||
|
||||
public function setDifficultyStars(?difficulty:Int):Void
|
||||
{
|
||||
if (difficulty == null) return;
|
||||
|
||||
difficultyStars.difficulty = difficulty;
|
||||
}
|
||||
|
||||
/**
|
||||
* Make the album stars visible.
|
||||
*/
|
||||
public function showStars():Void
|
||||
{
|
||||
difficultyStars.stars.visible = false; // true;
|
||||
}
|
||||
// public function setDifficultyStars(?difficulty:Int):Void
|
||||
// {
|
||||
// if (difficulty == null) return;
|
||||
// difficultyStars.difficulty = difficulty;
|
||||
// }
|
||||
// /**
|
||||
// * Make the album stars visible.
|
||||
// */
|
||||
// public function showStars():Void
|
||||
// {
|
||||
// difficultyStars.stars.visible = false; // true;
|
||||
// }
|
||||
}
|
||||
|
|
|
@ -470,7 +470,7 @@ class FreeplayState extends MusicBeatSubState
|
|||
albumRoll.playIntro();
|
||||
|
||||
new FlxTimer().start(0.75, function(_) {
|
||||
albumRoll.showTitle();
|
||||
// albumRoll.showTitle();
|
||||
});
|
||||
|
||||
FlxTween.tween(grpDifficulties, {x: 90}, 0.6, {ease: FlxEase.quartOut});
|
||||
|
|
Loading…
Reference in a new issue