poursuite de la finition de l'introduction

This commit is contained in:
Maurane
2025-06-05 17:13:19 +02:00
parent d29f3e6151
commit ca30842314
8 changed files with 428 additions and 82 deletions
+70 -6
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=6 format=3 uid="uid://drk1l7ijo4xq5"]
[gd_scene load_steps=10 format=3 uid="uid://drk1l7ijo4xq5"]
[ext_resource type="Script" path="res://transition_screen.gd" id="1_hbjtk"]
@@ -7,7 +7,7 @@ length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ColorRect:modulate")
tracks/0/path = NodePath("BigFading:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
@@ -23,7 +23,7 @@ length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ColorRect:modulate")
tracks/0/path = NodePath("BigFading:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
@@ -39,7 +39,7 @@ length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ColorRect:modulate")
tracks/0/path = NodePath("BigFading:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
@@ -56,11 +56,63 @@ _data = {
"fade_to_normal": SubResource("Animation_in743")
}
[sub_resource type="Animation" id="Animation_3ahpb"]
resource_name = "fade_to_black"
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, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
}
[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_do6sc"]
resource_name = "fade_to_normal"
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, 1),
"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")
}
[node name="transition_screen" type="CanvasLayer"]
layer = 10
script = ExtResource("1_hbjtk")
[node name="ColorRect" type="ColorRect" parent="."]
[node name="BigFading" type="ColorRect" parent="."]
modulate = Color(0, 0, 0, 0)
anchors_preset = 15
anchor_right = 1.0
@@ -69,7 +121,19 @@ grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
[node name="BigFadingAnimation" type="AnimationPlayer" parent="BigFading"]
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")
}