Merge branch 'master' into patch-2

This commit is contained in:
Wither362 2023-05-06 17:22:59 +02:00 committed by GitHub
commit d03388e61c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -469,6 +469,30 @@ class TitleState extends MusicBeatState
swagShader.update(elapsed * 0.1);
}
if (pressedEnter && !skippedIntro && initialized)
skipIntro();
/*
#if web
if (!initialized && controls.ACCEPT)
{
// netStream.dispose();
// FlxG.stage.removeChild(video);
startIntro();
skipIntro();
}
#end
*/
// if (FlxG.keys.justPressed.SPACE)
// swagShader.hasOutline = !swagShader.hasOutline;
if (controls.UI_LEFT)
swagShader.update(-elapsed * 0.1);
if (controls.UI_RIGHT)
swagShader.update(elapsed * 0.1);
super.update(elapsed);
}