223 lines
6.6 KiB
Plaintext
223 lines
6.6 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://bqj7qwj5mgd30"]
|
|
|
|
[ext_resource type="Script" path="res://content/ui/components/notification/notification.gd" id="1_yw3yb"]
|
|
[ext_resource type="Shader" path="res://content/ui/components/panel/glass.gdshader" id="2_b68od"]
|
|
[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"]
|
|
|
|
[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)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_m4d21"]
|
|
size = Vector3(0.25, 0.05, 0.01)
|
|
|
|
[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="."]
|
|
collision_layer = 6
|
|
collision_mask = 0
|
|
|
|
[node name="MeshInstance3D2" type="MeshInstance3D" parent="AnimationNode"]
|
|
material_override = SubResource("ShaderMaterial_0ktvn")
|
|
mesh = SubResource("QuadMesh_dx2yp")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="AnimationNode"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.005)
|
|
shape = SubResource("BoxShape3D_m4d21")
|
|
|
|
[node name="Text" type="Label3D" parent="AnimationNode"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.08, 0, 0.001)
|
|
pixel_size = 0.001
|
|
render_priority = 15
|
|
outline_render_priority = 14
|
|
font_size = 10
|
|
outline_size = 0
|
|
horizontal_alignment = 0
|
|
autowrap_mode = 3
|
|
width = 170.0
|
|
|
|
[node name="Icon" type="Label3D" parent="AnimationNode"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.1, 0, 0.001)
|
|
pixel_size = 0.001
|
|
render_priority = 15
|
|
outline_render_priority = 14
|
|
text = "info"
|
|
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")]
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0.1, 0, 0)
|
|
label = "close"
|
|
icon = true
|
|
|
|
[node name="Timer" type="Timer" parent="AnimationNode"]
|
|
wait_time = 3.0
|
|
autostart = true
|