Skip to content

Commit

Permalink
breakfast
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Nov 8, 2023
1 parent f540655 commit 068fb09
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions source/states/editors/DialogueCharacterEditorState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class DialogueCharacterEditorState extends MusicBeatState
FlxG.cameras.add(camHUD, false);
FlxG.cameras.setDefaultDrawTarget(camGame, true);

FlxG.sound.playMusic(Paths.music('breakfast'), 0.5);

var grid:FlxBackdrop = new FlxBackdrop(FlxGridOverlay.createGrid(80, 80, 160, 160, true, 0x33FFFFFF, 0x0));
grid.velocity.set(40, 40);
grid.alpha = 0;
Expand Down
2 changes: 2 additions & 0 deletions source/states/editors/DialogueEditorState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class DialogueEditorState extends MusicBeatState
persistentUpdate = persistentDraw = true;
FlxG.camera.bgColor = FlxColor.fromHSL(0, 0, 0.5);

FlxG.sound.playMusic(Paths.music('breakfast'), 0.5);

var grid:FlxBackdrop = new FlxBackdrop(FlxGridOverlay.createGrid(80, 80, 160, 160, true, 0x33FFFFFF, 0x0));
grid.velocity.set(40, 40);
grid.alpha = 0;
Expand Down
4 changes: 2 additions & 2 deletions source/states/editors/MasterEditorMenu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ class MasterEditorMenu extends MusicBeatState

WeekData.setDirectoryFromWeek();
if(directories[curDirectory] == null || directories[curDirectory].length < 1)
directoryTxt.text = '< No Mod Directory Loaded >';
directoryTxt.text = '< No Mod Loaded >';
else
{
Mods.currentModDirectory = directories[curDirectory];
directoryTxt.text = '< Loaded Mod Directory: ' + Mods.currentModDirectory + ' >';
directoryTxt.text = '< Mod: ' + Mods.currentModDirectory + ' >';
}
directoryTxt.text = directoryTxt.text.toUpperCase();
}
Expand Down
3 changes: 2 additions & 1 deletion source/states/editors/MenuCharacterEditorState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ class MenuCharacterEditorState extends MusicBeatState
weekCharacterThing.alpha = 0.2;
grpWeekCharacters.add(weekCharacterThing);
}

FlxG.sound.playMusic(Paths.music('breakfast'), 0.5);

add(new FlxSprite(0, 56).makeGraphic(FlxG.width, 386, 0xFFF9CF51));
add(grpWeekCharacters);

Expand Down
2 changes: 2 additions & 0 deletions source/states/editors/NoteSplashDebugState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class NoteSplashDebugState extends MusicBeatState
DiscordClient.changePresence("Note Splash Menu", null);
#end

FlxG.sound.playMusic(Paths.music('breakfast'), 0.5);

notes = new FlxTypedGroup<StrumNote>();
add(notes);

Expand Down
2 changes: 2 additions & 0 deletions source/states/editors/WeekEditorState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,8 @@ class WeekEditorFreeplayState extends MusicBeatState
bg.color = FlxColor.WHITE;
add(bg);

FlxG.sound.playMusic(Paths.music('breakfast'), 0.5);

var grid:FlxBackdrop = new FlxBackdrop(FlxGridOverlay.createGrid(80, 80, 160, 160, true, 0x33FFFFFF, 0x0));
grid.velocity.set(40, 40);
grid.alpha = 0;
Expand Down

0 comments on commit 068fb09

Please sign in to comment.