flashing lights + old code updated with new asset path system

This commit is contained in:
CyndaquilDAC
2021-05-05 16:33:16 -05:00
parent 7ccf634c15
commit f55014839e
7 changed files with 63 additions and 30 deletions

View File

@ -163,8 +163,10 @@ class MainMenuState extends MusicBeatState
{
selectedSomethin = true;
FlxG.sound.play(Paths.sound('confirmMenu'));
FlxFlicker.flicker(magenta, 1.1, 0.15, false);
if(FlxG.save.data.flashing){
FlxFlicker.flicker(magenta, 1.1, 0.15, false);
}
menuItems.forEach(function(spr:FlxSprite)
{