2024-10-09 02:21:26 +00:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://c74180dtf7j7a"]
|
2024-09-01 15:24:35 +00:00
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c35bsle7thcnh" path="res://sprites/ui/MiniMapBg.png" id="1_h88bi"]
|
2024-09-06 14:56:36 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/map/miniMap/MiniMap.cs" id="2_ltp8b"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cfpcm0hkmpu38" path="res://sprites/ui/mark.png" id="3_x80y0"]
|
2024-09-01 15:24:35 +00:00
|
|
|
|
2024-10-09 07:54:43 +00:00
|
|
|
[sub_resource type="Animation" id="Animation_dkx17"]
|
|
|
|
length = 0.001
|
2024-10-09 02:21:26 +00:00
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Control/MiniMap:position")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
2024-10-09 07:54:43 +00:00
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
2024-10-09 02:21:26 +00:00
|
|
|
"update": 0,
|
2024-10-09 07:54:43 +00:00
|
|
|
"values": [Vector2(983, 480)]
|
2024-10-09 02:21:26 +00:00
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath("Control/MiniMap:visible")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
2024-10-09 07:54:43 +00:00
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
2024-10-09 02:21:26 +00:00
|
|
|
"update": 1,
|
2024-10-09 07:54:43 +00:00
|
|
|
"values": [true]
|
2024-10-09 02:21:26 +00:00
|
|
|
}
|
|
|
|
|
2024-10-09 07:54:43 +00:00
|
|
|
[sub_resource type="Animation" id="Animation_jdj6o"]
|
|
|
|
resource_name = "hide"
|
|
|
|
length = 0.3
|
2024-10-09 02:21:26 +00:00
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Control/MiniMap:position")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
2024-10-09 07:54:43 +00:00
|
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
2024-10-09 02:21:26 +00:00
|
|
|
"update": 0,
|
2024-10-09 07:54:43 +00:00
|
|
|
"values": [Vector2(0, 0), Vector2(0, 300)]
|
2024-10-09 02:21:26 +00:00
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath("Control/MiniMap:visible")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
2024-10-09 07:54:43 +00:00
|
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
2024-10-09 02:21:26 +00:00
|
|
|
"update": 1,
|
2024-10-09 07:54:43 +00:00
|
|
|
"values": [true, false]
|
2024-10-09 02:21:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_icaqa"]
|
|
|
|
resource_name = "show"
|
|
|
|
length = 0.3
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Control/MiniMap:visible")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [true]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath("Control/MiniMap:position")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Vector2(0, 300), Vector2(0, 0)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_d5o4b"]
|
|
|
|
_data = {
|
|
|
|
"RESET": SubResource("Animation_dkx17"),
|
|
|
|
"hide": SubResource("Animation_jdj6o"),
|
|
|
|
"show": SubResource("Animation_icaqa")
|
|
|
|
}
|
|
|
|
|
2024-09-01 15:24:35 +00:00
|
|
|
[node name="MapContainer" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
mouse_filter = 2
|
|
|
|
|
2024-10-09 02:21:26 +00:00
|
|
|
[node name="MiniMapAnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_d5o4b")
|
|
|
|
}
|
|
|
|
|
2024-09-01 15:24:35 +00:00
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
mouse_filter = 2
|
|
|
|
|
2024-10-09 02:21:26 +00:00
|
|
|
[node name="Control" type="Control" parent="."]
|
2024-09-01 15:24:35 +00:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 3
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2024-10-09 02:21:26 +00:00
|
|
|
offset_left = -163.0
|
|
|
|
offset_top = -163.0
|
|
|
|
offset_right = -123.0
|
|
|
|
offset_bottom = -123.0
|
2024-09-01 15:24:35 +00:00
|
|
|
grow_horizontal = 0
|
|
|
|
grow_vertical = 0
|
2024-10-09 02:21:26 +00:00
|
|
|
|
|
|
|
[node name="MiniMap" type="NinePatchRect" parent="Control"]
|
|
|
|
layout_mode = 1
|
2024-10-09 02:49:10 +00:00
|
|
|
offset_right = 150.0
|
|
|
|
offset_bottom = 150.0
|
2024-09-01 15:24:35 +00:00
|
|
|
texture = ExtResource("1_h88bi")
|
|
|
|
patch_margin_left = 7
|
|
|
|
patch_margin_top = 7
|
|
|
|
patch_margin_right = 7
|
|
|
|
patch_margin_bottom = 7
|
2024-09-06 14:56:36 +00:00
|
|
|
script = ExtResource("2_ltp8b")
|
2024-09-01 15:24:35 +00:00
|
|
|
|
2024-10-09 02:21:26 +00:00
|
|
|
[node name="RoomPreviewContainer" type="Node2D" parent="Control/MiniMap"]
|
2024-09-06 14:56:36 +00:00
|
|
|
|
2024-10-09 02:21:26 +00:00
|
|
|
[node name="Mark" type="Sprite2D" parent="Control/MiniMap"]
|
2024-09-06 14:56:36 +00:00
|
|
|
position = Vector2(75, 75)
|
|
|
|
texture = ExtResource("3_x80y0")
|