2024-04-25 17:05:52 +03:00
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://bqj7qwj5mgd30"]
|
2023-12-13 23:22:52 +02:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://content/ui/components/notification/notification.gd" id="1_yw3yb"]
|
2024-04-26 14:30:11 +03:00
|
|
|
[ext_resource type="Shader" path="res://content/ui/components/panel/glass.gdshader" id="2_b68od"]
|
2023-12-13 23:22:52 +02:00
|
|
|
[ext_resource type="FontVariation" uid="uid://sshfnckriqxn" path="res://assets/icons/icons.tres" id="3_1ljpc"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bsjqdvkt0u87c" path="res://content/ui/components/button/button.tscn" id="4_ocg5j"]
|
|
|
|
|
2024-04-25 17:05:52 +03:00
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_0ktvn"]
|
|
|
|
render_priority = 10
|
|
|
|
shader = ExtResource("2_b68od")
|
|
|
|
shader_parameter/color = Color(1, 1, 1, 0.3)
|
|
|
|
shader_parameter/border_color = Color(1, 1, 1, 1)
|
|
|
|
shader_parameter/edge_color = Color(0, 0, 0, 1)
|
|
|
|
shader_parameter/size = Vector2(0.25, 0.05)
|
|
|
|
shader_parameter/border_size = 0.001
|
|
|
|
shader_parameter/border_fade_in = 0.005
|
|
|
|
shader_parameter/border_fade_out = 0.0
|
|
|
|
shader_parameter/corner_radius = 0.025
|
|
|
|
shader_parameter/roughness = 0.3
|
|
|
|
shader_parameter/grain_amount = 0.02
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_dx2yp"]
|
|
|
|
size = Vector2(0.25, 0.05)
|
2023-12-13 23:22:52 +02:00
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_m4d21"]
|
2024-04-25 17:05:52 +03:00
|
|
|
size = Vector3(0.25, 0.05, 0.01)
|
2023-12-13 23:22:52 +02:00
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_bkual"]
|
|
|
|
length = 0.001
|
|
|
|
tracks/0/type = "bezier"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath(".:scale:x")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0),
|
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0)
|
|
|
|
}
|
|
|
|
tracks/1/type = "bezier"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath(".:scale:y")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0),
|
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0)
|
|
|
|
}
|
|
|
|
tracks/2/type = "bezier"
|
|
|
|
tracks/2/imported = false
|
|
|
|
tracks/2/enabled = true
|
|
|
|
tracks/2/path = NodePath(".:scale:z")
|
|
|
|
tracks/2/interp = 1
|
|
|
|
tracks/2/loop_wrap = true
|
|
|
|
tracks/2/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0),
|
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0)
|
|
|
|
}
|
|
|
|
tracks/3/type = "bezier"
|
|
|
|
tracks/3/imported = false
|
|
|
|
tracks/3/enabled = true
|
|
|
|
tracks/3/path = NodePath(".:position:x")
|
|
|
|
tracks/3/interp = 1
|
|
|
|
tracks/3/loop_wrap = true
|
|
|
|
tracks/3/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0),
|
|
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0)
|
|
|
|
}
|
|
|
|
tracks/4/type = "bezier"
|
|
|
|
tracks/4/imported = false
|
|
|
|
tracks/4/enabled = true
|
|
|
|
tracks/4/path = NodePath(".:position:y")
|
|
|
|
tracks/4/interp = 1
|
|
|
|
tracks/4/loop_wrap = true
|
|
|
|
tracks/4/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0),
|
|
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0)
|
|
|
|
}
|
|
|
|
tracks/5/type = "bezier"
|
|
|
|
tracks/5/imported = false
|
|
|
|
tracks/5/enabled = true
|
|
|
|
tracks/5/path = NodePath(".:position:z")
|
|
|
|
tracks/5/interp = 1
|
|
|
|
tracks/5/loop_wrap = true
|
|
|
|
tracks/5/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0),
|
|
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0)
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_r1tka"]
|
|
|
|
resource_name = "fade_in"
|
|
|
|
length = 0.3
|
|
|
|
step = 0.01
|
|
|
|
tracks/0/type = "bezier"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath(".:scale:x")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
|
|
"points": PackedFloat32Array(0.01, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0, 0.3)
|
|
|
|
}
|
|
|
|
tracks/1/type = "bezier"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath(".:scale:y")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0, 0.3)
|
|
|
|
}
|
|
|
|
tracks/2/type = "bezier"
|
|
|
|
tracks/2/imported = false
|
|
|
|
tracks/2/enabled = true
|
|
|
|
tracks/2/path = NodePath(".:scale:z")
|
|
|
|
tracks/2/interp = 1
|
|
|
|
tracks/2/loop_wrap = true
|
|
|
|
tracks/2/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0, 0.3)
|
|
|
|
}
|
|
|
|
tracks/3/type = "bezier"
|
|
|
|
tracks/3/imported = false
|
|
|
|
tracks/3/enabled = true
|
|
|
|
tracks/3/path = NodePath(".:position:x")
|
|
|
|
tracks/3/interp = 1
|
|
|
|
tracks/3/loop_wrap = true
|
|
|
|
tracks/3/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
|
|
"points": PackedFloat32Array(-0.13, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0, 0.3)
|
|
|
|
}
|
|
|
|
tracks/4/type = "bezier"
|
|
|
|
tracks/4/imported = false
|
|
|
|
tracks/4/enabled = true
|
|
|
|
tracks/4/path = NodePath(".:position:y")
|
|
|
|
tracks/4/interp = 1
|
|
|
|
tracks/4/loop_wrap = true
|
|
|
|
tracks/4/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0, 0.3)
|
|
|
|
}
|
|
|
|
tracks/5/type = "bezier"
|
|
|
|
tracks/5/imported = false
|
|
|
|
tracks/5/enabled = true
|
|
|
|
tracks/5/path = NodePath(".:position:z")
|
|
|
|
tracks/5/interp = 1
|
|
|
|
tracks/5/loop_wrap = true
|
|
|
|
tracks/5/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0, 0.3)
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_kbhuj"]
|
|
|
|
_data = {
|
|
|
|
"RESET": SubResource("Animation_bkual"),
|
|
|
|
"fade_in": SubResource("Animation_r1tka")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Notification" type="Node3D"]
|
|
|
|
script = ExtResource("1_yw3yb")
|
|
|
|
|
|
|
|
[node name="AnimationNode" type="StaticBody3D" parent="."]
|
2024-03-21 17:19:09 +02:00
|
|
|
collision_layer = 6
|
|
|
|
collision_mask = 0
|
2023-12-13 23:22:52 +02:00
|
|
|
|
2024-04-25 17:05:52 +03:00
|
|
|
[node name="MeshInstance3D2" type="MeshInstance3D" parent="AnimationNode"]
|
|
|
|
material_override = SubResource("ShaderMaterial_0ktvn")
|
|
|
|
mesh = SubResource("QuadMesh_dx2yp")
|
2023-12-13 23:22:52 +02:00
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="AnimationNode"]
|
2024-04-25 17:05:52 +03:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.005)
|
2023-12-13 23:22:52 +02:00
|
|
|
shape = SubResource("BoxShape3D_m4d21")
|
|
|
|
|
|
|
|
[node name="Text" type="Label3D" parent="AnimationNode"]
|
2024-04-25 17:05:52 +03:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.08, 0, 0.001)
|
2023-12-13 23:22:52 +02:00
|
|
|
pixel_size = 0.001
|
2024-04-25 17:05:52 +03:00
|
|
|
render_priority = 15
|
|
|
|
outline_render_priority = 14
|
2023-12-13 23:22:52 +02:00
|
|
|
font_size = 10
|
|
|
|
outline_size = 0
|
|
|
|
horizontal_alignment = 0
|
|
|
|
autowrap_mode = 3
|
2024-04-25 17:05:52 +03:00
|
|
|
width = 170.0
|
2023-12-13 23:22:52 +02:00
|
|
|
|
|
|
|
[node name="Icon" type="Label3D" parent="AnimationNode"]
|
2024-04-25 17:05:52 +03:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.1, 0, 0.001)
|
2023-12-13 23:22:52 +02:00
|
|
|
pixel_size = 0.001
|
2024-04-25 17:05:52 +03:00
|
|
|
render_priority = 15
|
|
|
|
outline_render_priority = 14
|
2024-03-21 17:19:09 +02:00
|
|
|
text = "info"
|
2023-12-13 23:22:52 +02:00
|
|
|
font = ExtResource("3_1ljpc")
|
|
|
|
font_size = 24
|
|
|
|
outline_size = 0
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="AnimationNode"]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_kbhuj")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Button" parent="AnimationNode" instance=ExtResource("4_ocg5j")]
|
2024-04-25 17:05:52 +03:00
|
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0.1, 0, 0)
|
2023-12-13 23:22:52 +02:00
|
|
|
label = "close"
|
|
|
|
icon = true
|
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="AnimationNode"]
|
|
|
|
wait_time = 3.0
|
|
|
|
autostart = true
|