104 lines
2.7 KiB
Text
104 lines
2.7 KiB
Text
[gd_scene format=3 uid="uid://c4tdg221rvm53"]
|
|
|
|
[ext_resource type="Script" uid="uid://y3jtgv0vknvk" path="res://Scenes/UI/ui_notification.gd" id="1_7y7gh"]
|
|
|
|
[sub_resource type="Animation" id="Animation_8qs5e"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Base:position:y")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [-50.0]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Base:modulate:a")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [1.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_np30a"]
|
|
resource_name = "show_notification"
|
|
length = 3.0000000000000004
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Base:position:y")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.29999995),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [-50.0, 10.0]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Base:modulate:a")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 1.5, 3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [1.0, 1.0, 0.0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7ag70"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_8qs5e"),
|
|
&"show_notification": SubResource("Animation_np30a")
|
|
}
|
|
|
|
[node name="UiNotification" type="Control" unique_id=1468421214]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("1_7y7gh")
|
|
|
|
[node name="Base" type="PanelContainer" parent="." unique_id=870318481]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -79.0
|
|
offset_top = -50.0
|
|
offset_right = 79.0
|
|
offset_bottom = -7.0
|
|
grow_horizontal = 2
|
|
|
|
[node name="Margin" type="MarginContainer" parent="Base" unique_id=716680500]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="Message" type="RichTextLabel" parent="Base/Margin" unique_id=438265807]
|
|
layout_mode = 2
|
|
bbcode_enabled = true
|
|
text = "Example message"
|
|
fit_content = true
|
|
autowrap_mode = 0
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=152270752]
|
|
libraries/ = SubResource("AnimationLibrary_7ag70")
|