From 0e408c82a010aba96915753d56f83349256f4231 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Mon, 28 Aug 2023 09:39:45 -0400 Subject: Add Window Override: Hides window for help argument (`./program -- --help`) Hides window until video options loading is complete --- game/project.godot | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'game/project.godot') diff --git a/game/project.godot b/game/project.godot index f8bd428..ead3c6b 100644 --- a/game/project.godot +++ b/game/project.godot @@ -15,17 +15,19 @@ config/description="A faithful recreation of Victoria 2: Heart of Darkness with run/main_scene="res://src/Game/GameStart.tscn" config/use_custom_user_dir=true config/features=PackedStringArray("4.1", "Forward Plus") -boot_splash/bg_color=Color(0.380392, 0.145098, 0.14902, 1) +boot_splash/bg_color=Color(0, 0, 0, 0) +boot_splash/show_image=false boot_splash/image="res://splash_assets/splash_image.png" config/icon="res://icon.svg" config/project_settings_override.template="user://settings.cfg" [autoload] +Resolution="*res://src/Game/Autoload/Resolution.gd" ArgumentParser="*res://src/Game/Autoload/Argument/ArgumentParser.tscn" +WindowOverride="*res://src/Game/Autoload/WindowOverride.gd" Events="*res://src/Game/Autoload/Events.gd" GameLoader="*res://src/Game/Autoload/GameLoader.gd" -Resolution="*res://src/Game/Autoload/Resolution.gd" SoundManager="*res://src/Game/Autoload/SoundManager.gd" MusicConductor="*res://src/Game/MusicConductor/MusicConductor.tscn" Keychain="*res://addons/keychain/Keychain.gd" @@ -36,10 +38,15 @@ SaveManager="*res://src/Game/Autoload/SaveManager.gd" window/size/viewport_width=1280 window/size/viewport_height=720 -window/size/mode=3 +window/size/mode=1 window/size/resizable=false +window/size/borderless=true +window/size/transparent=true +window/size/window_width_override=1 +window/size/window_height_override=1 window/stretch/mode="canvas_items" window/stretch/aspect="ignore" +window/per_pixel_transparency/allowed=true [editor_plugins] -- cgit v1.2.3-56-ga3b1