mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
NG logo easter egg shit
This commit is contained in:
parent
9df52f2982
commit
72e6a47716
1 changed files with 20 additions and 2 deletions
|
@ -307,10 +307,28 @@ class TitleState extends MusicBeatState
|
|||
|
||||
credTextShit.visible = false;
|
||||
|
||||
ngSpr = new FlxSprite(0, FlxG.height * 0.52).loadGraphic(Paths.image('newgrounds_logo'));
|
||||
ngSpr = new FlxSprite(0, FlxG.height * 0.52);
|
||||
|
||||
if (FlxG.random.bool(1))
|
||||
{
|
||||
ngSpr.loadGraphic(Paths.image('newgrounds_logo_classic'));
|
||||
}
|
||||
else if (FlxG.random.bool(30))
|
||||
{
|
||||
ngSpr.loadGraphic(Paths.image('newgrounds_logo_animated'), true, 600);
|
||||
ngSpr.animation.add('idle', [0, 1], 4);
|
||||
ngSpr.animation.play('idle');
|
||||
ngSpr.setGraphicSize(Std.int(ngSpr.width * 0.55));
|
||||
}
|
||||
else
|
||||
{
|
||||
ngSpr.loadGraphic(Paths.image('newgrounds_logo'));
|
||||
ngSpr.setGraphicSize(Std.int(ngSpr.width * 0.8));
|
||||
}
|
||||
|
||||
add(ngSpr);
|
||||
ngSpr.visible = false;
|
||||
ngSpr.setGraphicSize(Std.int(ngSpr.width * 0.8));
|
||||
|
||||
ngSpr.updateHitbox();
|
||||
ngSpr.screenCenter(X);
|
||||
ngSpr.antialiasing = true;
|
||||
|
|
Loading…
Reference in a new issue