Skip to content

Commit a185246

Browse files
committed
Fix TransitionColor not lined up with the game's viewport
1 parent 1c60674 commit a185246

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

godot/Game.tscn

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ visible = false
1919
[node name="Overlays" type="CanvasLayer" parent="."]
2020

2121
[node name="TransitionColor" parent="Overlays" instance=ExtResource( 4 )]
22-
margin_left = -3.0
23-
margin_right = -3.0
2422
mouse_filter = 2
2523

2624
[node name="GameOverInterface" parent="." instance=ExtResource( 5 )]

godot/assets/shaders/TransitionColor.tscn

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
resource_name = "_SETUP"
99
length = 0.01
10-
loop = false
11-
step = 0.1
1210
tracks/0/type = "value"
1311
tracks/0/path = NodePath(".:transition")
1412
tracks/0/interp = 1
@@ -26,8 +24,6 @@ tracks/0/keys = {
2624

2725
resource_name = "to_color"
2826
length = 0.7
29-
loop = false
30-
step = 0.1
3127
tracks/0/type = "value"
3228
tracks/0/path = NodePath(".:transition")
3329
tracks/0/interp = 1
@@ -56,8 +52,6 @@ tracks/1/keys = {
5652
[sub_resource type="Animation" id=3]
5753

5854
length = 0.7
59-
loop = false
60-
step = 0.1
6155
tracks/0/type = "value"
6256
tracks/0/path = NodePath(".:transition")
6357
tracks/0/interp = 1
@@ -85,33 +79,13 @@ tracks/1/keys = {
8579

8680
[node name="TransitionColor" type="ColorRect"]
8781
material = ExtResource( 1 )
88-
anchor_left = 0.0
89-
anchor_top = 0.0
9082
anchor_right = 1.0
9183
anchor_bottom = 1.0
92-
margin_left = -1.0
93-
margin_right = -1.0
94-
rect_pivot_offset = Vector2( 0, 0 )
95-
rect_clip_content = false
96-
mouse_filter = 0
97-
mouse_default_cursor_shape = 0
98-
size_flags_horizontal = 1
99-
size_flags_vertical = 1
100-
color = Color( 1, 1, 1, 1 )
10184
script = ExtResource( 2 )
102-
_sections_unfolded = [ "Material", "material" ]
103-
transition = 0.0
10485
smoothness = 0.941
10586

10687
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
107-
root_node = NodePath("..")
108-
autoplay = ""
109-
playback_process_mode = 1
110-
playback_default_blend_time = 0.0
111-
playback_speed = 1.0
11288
anims/_SETUP = SubResource( 1 )
11389
anims/to_color = SubResource( 2 )
11490
anims/to_transparent = SubResource( 3 )
115-
blend_times = [ ]
116-
_sections_unfolded = [ "Playback Options" ]
11791

0 commit comments

Comments
 (0)