Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/Init.hx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class Init extends FlxState

super.create();

final nextState:Class<FlxState> = Main.startMeta.skipSplash ? Main.startMeta.initialState : Splash;
final nextState:Class<FlxState> = Main.startMeta.skipSplash || !ClientPrefs.toggleSplashScreen ? Main.startMeta.initialState : Splash;
FlxG.switchState(() -> Type.createInstance(nextState, []));
}

Expand Down
2 changes: 2 additions & 0 deletions source/funkin/data/ClientPrefs.hx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class ClientPrefs

@saveVar public static var useEpicRankings:Bool = true;

@saveVar public static var toggleSplashScreen:Bool = true;

@saveVar public static var epicWindow:Float = 22.5;

@saveVar public static var sickWindow:Float = 45.0;
Expand Down
5 changes: 5 additions & 0 deletions source/funkin/states/options/VisualsUISubState.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package funkin.states.options;

import funkin.states.options.Option;

import flixel.FlxG;

class VisualsUISubState extends BaseOptionsMenu
Expand Down Expand Up @@ -55,6 +57,9 @@ class VisualsUISubState extends BaseOptionsMenu
var option:Option = new Option('Camera Note Follow', "If unchecked, hitting notes will no longer have the camera follow in its direction.", 'camFollowsCharacters', 'bool', true);
addOption(option);

var option:Option = new Option('Toggle NMV Splash Screen', "If unchecked, it will completely skip the splash screen upon the engine's boot up.", 'toggleSplashScreen', 'bool', true);
addOption(option);

super();
}

Expand Down
Loading