mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-12-11 16:51:21 -05:00
Merge branch 'develop' into fps-setting
This commit is contained in:
commit
088ff3744a
4 changed files with 8 additions and 3 deletions
|
@ -65,7 +65,7 @@ class FNFLegacyImporter
|
|||
|
||||
songMetadata.timeChanges = rebuildTimeChanges(songData);
|
||||
|
||||
songMetadata.playData.characters = new SongCharacterData(songData?.song?.player1 ?? 'bf', 'gf', songData?.song?.player2 ?? 'dad', 'mom');
|
||||
songMetadata.playData.characters = new SongCharacterData(songData?.song?.player1 ?? 'bf', 'gf', songData?.song?.player2 ?? 'dad');
|
||||
|
||||
return songMetadata;
|
||||
}
|
||||
|
|
|
@ -62,7 +62,6 @@ class DebugMenuSubState extends MusicBeatSubState
|
|||
#if sys
|
||||
createItem("OPEN CRASH LOG FOLDER", openLogFolder);
|
||||
#end
|
||||
FlxG.camera.focusOn(new FlxPoint(camFocusPoint.x, camFocusPoint.y));
|
||||
FlxG.camera.focusOn(new FlxPoint(camFocusPoint.x, camFocusPoint.y + 500));
|
||||
}
|
||||
|
||||
|
|
|
@ -49,6 +49,8 @@ class MainMenuState extends MusicBeatState
|
|||
DiscordClient.changePresence("In the Menus", null);
|
||||
#end
|
||||
|
||||
FlxG.cameras.reset(new FunkinCamera('mainMenu'));
|
||||
|
||||
transIn = FlxTransitionableState.defaultTransIn;
|
||||
transOut = FlxTransitionableState.defaultTransOut;
|
||||
|
||||
|
@ -170,7 +172,6 @@ class MainMenuState extends MusicBeatState
|
|||
|
||||
function resetCamStuff():Void
|
||||
{
|
||||
FlxG.cameras.reset(new FunkinCamera('mainMenu'));
|
||||
FlxG.camera.follow(camFollow, null, 0.06);
|
||||
FlxG.camera.snapToTarget();
|
||||
}
|
||||
|
@ -329,6 +330,8 @@ class MainMenuState extends MusicBeatState
|
|||
persistentUpdate = false;
|
||||
|
||||
FlxG.state.openSubState(new DebugMenuSubState());
|
||||
// reset camera when debug menu is closed
|
||||
subStateClosed.addOnce(_ -> resetCamStuff());
|
||||
}
|
||||
#end
|
||||
|
||||
|
|
|
@ -466,6 +466,9 @@ class StoryMenuState extends MusicBeatState
|
|||
// Disable the funny music thing for now.
|
||||
// funnyMusicThing();
|
||||
}
|
||||
|
||||
updateText();
|
||||
refresh();
|
||||
}
|
||||
|
||||
final FADE_OUT_TIME:Float = 1.5;
|
||||
|
|
Loading…
Reference in a new issue