title screen shit
This commit is contained in:
parent
cf3722664b
commit
9535150d73
Binary file not shown.
@ -107,10 +107,14 @@ class TitleState extends MusicBeatState
|
||||
#elseif CHARTING
|
||||
FlxG.switchState(new ChartingState());
|
||||
#else
|
||||
#if !cpp
|
||||
new FlxTimer().start(1, function(tmr:FlxTimer)
|
||||
{
|
||||
startIntro();
|
||||
});
|
||||
#else
|
||||
startIntro();
|
||||
#end
|
||||
#end
|
||||
}
|
||||
|
||||
@ -158,7 +162,7 @@ class TitleState extends MusicBeatState
|
||||
add(bg);
|
||||
|
||||
if(Main.watermarks) {
|
||||
logoBl = new FlxSprite(-150, -100);
|
||||
logoBl = new FlxSprite(-150, 1500);
|
||||
logoBl.frames = Paths.getSparrowAtlas('KadeEngineLogoBumpin');
|
||||
logoBl.antialiasing = true;
|
||||
logoBl.animation.addByPrefix('bump', 'logo bumpin', 24);
|
||||
@ -454,6 +458,19 @@ class TitleState extends MusicBeatState
|
||||
|
||||
FlxG.camera.flash(FlxColor.WHITE, 4);
|
||||
remove(credGroup);
|
||||
|
||||
FlxTween.tween(logoBl,{y: -100}, 1.4, {ease: FlxEase.expoInOut});
|
||||
|
||||
logoBl.angle = -4;
|
||||
|
||||
new FlxTimer().start(0.01, function(tmr:FlxTimer)
|
||||
{
|
||||
if(logoBl.angle == -4)
|
||||
FlxTween.angle(logoBl, logoBl.angle, 4, 4, {ease: FlxEase.quartInOut});
|
||||
if (logoBl.angle == 4)
|
||||
FlxTween.angle(logoBl, logoBl.angle, -4, 4, {ease: FlxEase.quartInOut});
|
||||
}, 0);
|
||||
|
||||
skippedIntro = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user