1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-12 16:35:51 +00:00

easter egg fix in progress

This commit is contained in:
Cameron Taylor 2024-05-01 15:54:44 -04:00
parent 7f527a585c
commit 05361af964

View file

@ -115,7 +115,7 @@ class TitleState extends MusicBeatState
var titleText:FlxSprite; var titleText:FlxSprite;
var maskShader = new LeftMaskShader(); var maskShader = new LeftMaskShader();
function startIntro() function startIntro():Void
{ {
playMenuMusic(); playMenuMusic();
@ -129,7 +129,7 @@ class TitleState extends MusicBeatState
logoBl.frames = Paths.getSparrowAtlas('logoBumpin'); logoBl.frames = Paths.getSparrowAtlas('logoBumpin');
logoBl.animation.addByPrefix('bump', 'logo bumpin', 24); logoBl.animation.addByPrefix('bump', 'logo bumpin', 24);
logoBl.animation.play('bump'); logoBl.animation.play('bump');
logoBl.shader = swagShader.shader;
logoBl.updateHitbox(); logoBl.updateHitbox();
outlineShaderShit = new TitleOutline(); outlineShaderShit = new TitleOutline();
@ -144,7 +144,7 @@ class TitleState extends MusicBeatState
// maskShader.frameUV = gfDance.frame.uv; // maskShader.frameUV = gfDance.frame.uv;
// gfDance.shader = maskShader; // gfDance.shader = maskShader;
// gfDance.shader = swagShader.shader; gfDance.shader = swagShader.shader;
// gfDance.shader = new TitleOutline(); // gfDance.shader = new TitleOutline();
@ -158,6 +158,7 @@ class TitleState extends MusicBeatState
titleText.animation.addByPrefix('press', "ENTER PRESSED", 24); titleText.animation.addByPrefix('press', "ENTER PRESSED", 24);
titleText.animation.play('idle'); titleText.animation.play('idle');
titleText.updateHitbox(); titleText.updateHitbox();
titleText.shader = swagShader.shader;
// titleText.screenCenter(X); // titleText.screenCenter(X);
add(titleText); add(titleText);
@ -378,7 +379,7 @@ class TitleState extends MusicBeatState
cheatActive = true; cheatActive = true;
var spec:SpectogramSprite = new SpectogramSprite(FlxG.sound.music); var spec:SpectogramSprite = new SpectogramSprite(FlxG.sound.music);
add(spec); // add(spec);
Conductor.instance.forceBPM(190); Conductor.instance.forceBPM(190);
FlxG.camera.flash(FlxColor.WHITE, 1); FlxG.camera.flash(FlxColor.WHITE, 1);