|
|
@ -0,0 +1,87 @@ |
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://rfknvv8b0d4i"] |
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bsfqsslfq53dn" path="res://assets/ui/spinner-clockwise.png" id="1_2tr78"] |
|
|
|
[ext_resource type="Script" uid="uid://db0pkuhbcmfkb" path="res://scenes/ui/autosave_notification.gd" id="1_rdcu1"] |
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_y220t"] |
|
|
|
length = 0.001 |
|
|
|
tracks/0/type = "value" |
|
|
|
tracks/0/imported = false |
|
|
|
tracks/0/enabled = true |
|
|
|
tracks/0/path = NodePath("Icon/TextureRect:rotation") |
|
|
|
tracks/0/interp = 1 |
|
|
|
tracks/0/loop_wrap = true |
|
|
|
tracks/0/keys = { |
|
|
|
"times": PackedFloat32Array(0), |
|
|
|
"transitions": PackedFloat32Array(1), |
|
|
|
"update": 0, |
|
|
|
"values": [0.0] |
|
|
|
} |
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_uegxj"] |
|
|
|
resource_name = "spin" |
|
|
|
loop_mode = 1 |
|
|
|
step = 0.1 |
|
|
|
tracks/0/type = "value" |
|
|
|
tracks/0/imported = false |
|
|
|
tracks/0/enabled = true |
|
|
|
tracks/0/path = NodePath("Icon/TextureRect:rotation") |
|
|
|
tracks/0/interp = 1 |
|
|
|
tracks/0/loop_wrap = true |
|
|
|
tracks/0/keys = { |
|
|
|
"times": PackedFloat32Array(0, 1), |
|
|
|
"transitions": PackedFloat32Array(1, 1), |
|
|
|
"update": 0, |
|
|
|
"values": [0.0, 6.28319] |
|
|
|
} |
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_4kltc"] |
|
|
|
_data = { |
|
|
|
&"RESET": SubResource("Animation_y220t"), |
|
|
|
&"spin": SubResource("Animation_uegxj") |
|
|
|
} |
|
|
|
|
|
|
|
[node name="AutosaveNotification" type="MarginContainer" node_paths=PackedStringArray("animation_player")] |
|
|
|
process_mode = 3 |
|
|
|
z_index = 1 |
|
|
|
anchors_preset = 1 |
|
|
|
anchor_left = 1.0 |
|
|
|
anchor_right = 1.0 |
|
|
|
offset_left = -164.0 |
|
|
|
offset_bottom = 60.0 |
|
|
|
grow_horizontal = 0 |
|
|
|
theme_override_constants/margin_left = 10 |
|
|
|
theme_override_constants/margin_top = 10 |
|
|
|
theme_override_constants/margin_right = 10 |
|
|
|
theme_override_constants/margin_bottom = 10 |
|
|
|
script = ExtResource("1_rdcu1") |
|
|
|
animation_player = NodePath("AnimationPlayer") |
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."] |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="Icon" type="Control" parent="HBoxContainer"] |
|
|
|
custom_minimum_size = Vector2(40, 40) |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Icon"] |
|
|
|
layout_mode = 0 |
|
|
|
offset_right = 40.0 |
|
|
|
offset_bottom = 40.0 |
|
|
|
pivot_offset = Vector2(20, 20) |
|
|
|
texture = ExtResource("1_2tr78") |
|
|
|
expand_mode = 3 |
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer"] |
|
|
|
layout_mode = 2 |
|
|
|
theme_override_colors/font_color = Color(0.944248, 0.414786, 0.141556, 1) |
|
|
|
theme_override_colors/font_outline_color = Color(1, 1, 1, 1) |
|
|
|
text = "Autosaving..." |
|
|
|
vertical_alignment = 1 |
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] |
|
|
|
root_node = NodePath("../HBoxContainer") |
|
|
|
libraries = { |
|
|
|
&"": SubResource("AnimationLibrary_4kltc") |
|
|
|
} |
|
|
|
autoplay = "spin" |