Files
DungeonCrawlerWorld/scenes/ui/Minimap.tscn
T

67 lines
1.6 KiB
Plaintext

[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://scripts/presentation/minimap.gd" id="1_minimap"]
[sub_resource type="StyleBoxFlat" id="StyleBox_minimap"]
bg_color = Color(0.045, 0.035, 0.025, 0.96)
border_width_left = 3
border_width_top = 3
border_width_right = 3
border_width_bottom = 3
border_color = Color(0.67, 0.48, 0.19, 0.95)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
shadow_color = Color(0, 0, 0, 0.55)
shadow_size = 5
[node name="Minimap" type="Control"]
layout_mode = 1
offset_right = 280.0
offset_bottom = 300.0
mouse_filter = 2
script = ExtResource("1_minimap")
[node name="Frame" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBox_minimap")
show_behind_parent = true
[node name="Caption" type="Label" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_left = 0.5
anchor_right = 0.5
offset_left = -120.0
offset_top = 7.0
offset_right = 120.0
offset_bottom = 29.0
grow_horizontal = 2
theme_override_colors/font_color = Color(0.86, 0.78, 0.58, 1)
theme_override_font_sizes/font_size = 13
text = "CARTE — TAB"
horizontal_alignment = 1
vertical_alignment = 1
mouse_filter = 2
[node name="MapRegion" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 14.0
offset_top = 40.0
offset_right = -14.0
offset_bottom = -14.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
clip_contents = true