its game over WIP
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://drk1l7ijo4xq5"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://drk1l7ijo4xq5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dywfa5vbgtrkb" path="res://Scenes/transition_screen/transition_screen.gd" id="1_hbjtk"]
|
||||
[ext_resource type="Script" uid="uid://dbjei4d2lfwnb" path="res://Scenes/transition_screen/fading_mask.gd" id="2_m3r4n"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_n85x3"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("BigFading:modulate")
|
||||
tracks/0/path = NodePath("FadingMask:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
@@ -22,7 +23,7 @@ resource_name = "fade_to_black"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("BigFading:modulate")
|
||||
tracks/0/path = NodePath("FadingMask:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
@@ -37,7 +38,7 @@ resource_name = "fade_to_normal"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("BigFading:modulate")
|
||||
tracks/0/path = NodePath("FadingMask:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
@@ -50,69 +51,15 @@ tracks/0/keys = {
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5yx4m"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_n85x3"),
|
||||
&"fade_to_black": SubResource("Animation_20bx3"),
|
||||
&"fade_to_normal": SubResource("Animation_in743")
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_igu58"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_3ahpb"]
|
||||
resource_name = "fade_to_black"
|
||||
length = 0.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_do6sc"]
|
||||
resource_name = "fade_to_normal"
|
||||
length = 0.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_h2xbl"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_igu58"),
|
||||
&"fade_to_black": SubResource("Animation_3ahpb"),
|
||||
&"fade_to_normal": SubResource("Animation_do6sc")
|
||||
&"fade_in": SubResource("Animation_20bx3"),
|
||||
&"fade_out": SubResource("Animation_in743")
|
||||
}
|
||||
|
||||
[node name="transition_screen" type="CanvasLayer"]
|
||||
layer = 110
|
||||
layer = 102
|
||||
script = ExtResource("1_hbjtk")
|
||||
|
||||
[node name="BigFading" type="ColorRect" parent="."]
|
||||
[node name="FadingMask" type="ColorRect" parent="."]
|
||||
modulate = Color(0, 0, 0, 0)
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -120,25 +67,16 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 1)
|
||||
script = ExtResource("2_m3r4n")
|
||||
|
||||
[node name="BigFadingAnimation" type="AnimationPlayer" parent="BigFading"]
|
||||
[node name="FadingMaskAnimation" type="AnimationPlayer" parent="FadingMask"]
|
||||
root_node = NodePath("../..")
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_5yx4m")
|
||||
}
|
||||
|
||||
[node name="SmallFading" type="ColorRect" parent="."]
|
||||
offset_top = 244.0
|
||||
offset_right = 1923.0
|
||||
offset_bottom = 899.0
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="SmallFadingAnimation" type="AnimationPlayer" parent="SmallFading"]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_h2xbl")
|
||||
}
|
||||
|
||||
[node name="Mask" type="ColorRect" parent="."]
|
||||
visible = false
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
Reference in New Issue
Block a user