diff --git a/source/TitleState.hx b/source/TitleState.hx index 4faffca93..2e0445384 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -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;