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