diff --git a/app/project.godot b/app/project.godot index adec843..aed42af 100644 --- a/app/project.godot +++ b/app/project.godot @@ -16,6 +16,7 @@ config/tags=PackedStringArray("thegates") run/main_scene="res://scenes/app.tscn" run/enable_alt_space_menu=true config/features=PackedStringArray("4.3") +run/max_fps=144 boot_splash/bg_color=Color(0, 0, 0, 0) boot_splash/show_image=false config/icon="res://app_icon/icon.svg" diff --git a/app/scripts/ui/menu/menu.gd b/app/scripts/ui/menu/menu.gd index 4eb7d81..f823a91 100644 --- a/app/scripts/ui/menu/menu.gd +++ b/app/scripts/ui/menu/menu.gd @@ -38,6 +38,10 @@ func set_initial_screen() -> void: if Platform.is_macos(): DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN) Debug.logclr("Setting fullscreen mode", Debug.SILENT_CLR) + + if Platform.is_linux(): + DisplayServer.window_set_vsync_mode(DisplayServer.VSYNC_MAILBOX) + Debug.logclr("Setting vsync to mailbox", Debug.SILENT_CLR) func _exit_tree() -> void: