From db78cec5a59115105a2f36e9bba6f4e559f61300 Mon Sep 17 00:00:00 2001 From: Rob Kelly Date: Fri, 20 Dec 2024 10:25:57 -0700 Subject: [PATCH] World to title transition fades to white --- src/ui/menus/title_screen/title_screen.tscn | 2 +- src/world/world.tscn | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ui/menus/title_screen/title_screen.tscn b/src/ui/menus/title_screen/title_screen.tscn index b3d496d..04177e5 100644 --- a/src/ui/menus/title_screen/title_screen.tscn +++ b/src/ui/menus/title_screen/title_screen.tscn @@ -1482,7 +1482,7 @@ grow_horizontal = 2 grow_vertical = 2 [node name="PressStart" type="Label" parent="Menu"] -modulate = Color(1, 1, 1, 0.936746) +modulate = Color(1, 1, 1, 0.124112) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 diff --git a/src/world/world.tscn b/src/world/world.tscn index ca03c00..33d8b3f 100644 --- a/src/world/world.tscn +++ b/src/world/world.tscn @@ -38,7 +38,7 @@ tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, -"values": [Color(0, 0, 0, 0)] +"values": [Color(1, 1, 1, 0)] } tracks/1/type = "value" tracks/1/imported = false @@ -66,7 +66,7 @@ tracks/0/keys = { "times": PackedFloat32Array(0, 0.8), "transitions": PackedFloat32Array(0.618, 1), "update": 0, -"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)] +"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] } tracks/1/type = "value" tracks/1/imported = false @@ -153,7 +153,7 @@ grow_horizontal = 2 grow_vertical = 2 mouse_filter = 1 -[node name="Blackout" type="ColorRect" parent="UI"] +[node name="Whiteout" type="ColorRect" parent="UI"] process_mode = 3 visible = false layout_mode = 1 @@ -163,9 +163,9 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 -color = Color(0, 0, 0, 0) +color = Color(1, 1, 1, 0) -[node name="WorldTransition" type="AnimationPlayer" parent="UI/Blackout"] +[node name="WorldTransition" type="AnimationPlayer" parent="UI/Whiteout"] unique_name_in_owner = true libraries = { "": SubResource("AnimationLibrary_s6tn7")