1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-31 00:48:54 +00:00

freeplay text prototype

This commit is contained in:
Cameron Taylor 2021-12-04 01:34:58 -05:00
parent 2b144fa0ab
commit 4d11007f66

View file

@ -203,10 +203,27 @@ class FreeplayState extends MusicBeatState
fnfFreeplay.visible = false; fnfFreeplay.visible = false;
add(fnfFreeplay); add(fnfFreeplay);
var fnfFreeplayBOLD:FlxSprite = new FlxSprite(0, 12).loadGraphic(Paths.image('freeplayBOLD'));
add(fnfFreeplayBOLD);
fnfFreeplayBOLD.visible = false;
fnfFreeplayBOLD.setGraphicSize(0, 56);
fnfFreeplayBOLD.updateHitbox();
dj.animHITsignal.add(function() dj.animHITsignal.add(function()
{ {
new FlxTimer().start(1 / 24, function(handShit)
{
fnfFreeplayBOLD.visible = true;
new FlxTimer().start(1.5 / 24, function(bold)
{
fnfFreeplay.visible = true;
fnfFreeplayBOLD.visible = false;
});
});
pinkBack.color = 0xFFffd863; pinkBack.color = 0xFFffd863;
fnfFreeplay.visible = true; // fnfFreeplay.visible = true;
FlxTween.tween(bgDad, {x: pinkBack.width * 0.75}, 1, {ease: FlxEase.quintOut}); FlxTween.tween(bgDad, {x: pinkBack.width * 0.75}, 1, {ease: FlxEase.quintOut});
orangeBackShit.visible = true; orangeBackShit.visible = true;
alsoOrangeLOL.visible = true; alsoOrangeLOL.visible = true;