summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/menu/setup.gd6
-rw-r--r--client/project.godot1
2 files changed, 6 insertions, 1 deletions
diff --git a/client/menu/setup.gd b/client/menu/setup.gd
index f7fd15c5..21fbc526 100644
--- a/client/menu/setup.gd
+++ b/client/menu/setup.gd
@@ -42,6 +42,10 @@ func _ready():
spacer.size_flags_vertical = Control.SIZE_EXPAND
spacer.custom_minimum_size.x = 50
select_uniform.add_child(spacer)
+
+ # Enable msaa 2D for this scene
+ Global.get_viewport().msaa_2d = Viewport.MSAA_4X
+
super()
func _character_selected(idx: int):
@@ -85,4 +89,6 @@ func _on_sign_pressed():
Global.set_setting("gameplay.setup_completed", true)
Global.save_settings()
+ Global.get_viewport().msaa_2d = Viewport.MSAA_DISABLED
+
replace_menu("res://menu/main.tscn")
diff --git a/client/project.godot b/client/project.godot
index 8f0216ca..2efec7e6 100644
--- a/client/project.godot
+++ b/client/project.godot
@@ -211,5 +211,4 @@ locale/translations=PackedStringArray("res://po/it.po", "res://po/ar.po", "res:/
renderer/rendering_method.mobile="gl_compatibility"
textures/vram_compression/import_etc2_astc=true
environment/defaults/default_clear_color=Color(0, 0, 0, 1)
-anti_aliasing/quality/msaa_2d=1
anti_aliasing/quality/msaa_3d=1