Files
GameJamDungeon/Zennysoft.Game.Ma/src/minimap/Minimap.tscn
2025-12-03 23:21:29 -08:00

125 lines
4.2 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://bwbofurcvf3yh"]
[ext_resource type="Script" uid="uid://cxi8msbee56t2" path="res://src/minimap/Minimap.cs" id="1_yn75n"]
[ext_resource type="FontFile" uid="uid://duu4matpexcq4" path="res://src/ui/fonts/LSANS.TTF" id="2_75ec6"]
[ext_resource type="FontFile" uid="uid://ddvfnyovqnvew" path="res://src/ui/fonts/LSANSI.TTF" id="3_yn75n"]
[sub_resource type="Environment" id="Environment_yn75n"]
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_yn75n"]
[sub_resource type="Theme" id="Theme_75ec6"]
default_font = ExtResource("2_75ec6")
default_font_size = 50
[sub_resource type="LabelSettings" id="LabelSettings_yn75n"]
font = ExtResource("2_75ec6")
font_size = 35
font_color = Color(0.792157, 0.698039, 0.643137, 1)
shadow_size = 3
shadow_color = Color(0.117647, 0.117647, 0.117647, 0.760784)
shadow_offset = Vector2(-3, 1)
[sub_resource type="Theme" id="Theme_qgswn"]
default_font = ExtResource("3_yn75n")
default_font_size = 50
[sub_resource type="LabelSettings" id="LabelSettings_75ec6"]
font = ExtResource("3_yn75n")
font_size = 40
shadow_size = 3
shadow_color = Color(0.117647, 0.117647, 0.117647, 0.760784)
shadow_offset = Vector2(-3, 1)
[node name="Minimap" type="Control"]
process_mode = 3
light_mask = 2
visibility_layer = 2
layout_mode = 3
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_yn75n")
[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="SubViewportContainer" type="SubViewportContainer" parent="CenterContainer"]
custom_minimum_size = Vector2(350, 300)
layout_mode = 2
[node name="SubViewport" type="SubViewport" parent="CenterContainer/SubViewportContainer"]
transparent_bg = true
handle_input_locally = false
size = Vector2i(350, 300)
render_target_update_mode = 4
[node name="Minimap Camera" type="Camera3D" parent="CenterContainer/SubViewportContainer/SubViewport"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -21.7374, 240.05, 2.76249)
cull_mask = 2
environment = SubResource("Environment_yn75n")
attributes = SubResource("CameraAttributesPractical_yn75n")
fov = 45.0
size = 100.0
near = 0.001
[node name="MarginContainer" type="MarginContainer" parent="CenterContainer/SubViewportContainer/SubViewport"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 200
theme_override_constants/margin_top = 200
[node name="Control" type="Control" parent="CenterContainer/SubViewportContainer/SubViewport/MarginContainer"]
layout_mode = 2
[node name="LayerText" type="Label" parent="CenterContainer/SubViewportContainer/SubViewport/MarginContainer/Control"]
custom_minimum_size = Vector2(80, 15)
layout_mode = 2
offset_left = -10.0
offset_top = 29.0
offset_right = 140.0
offset_bottom = 70.0
size_flags_vertical = 6
theme = SubResource("Theme_75ec6")
theme_override_colors/font_color = Color(0.792157, 0.698039, 0.643137, 1)
theme_override_colors/font_shadow_color = Color(0.792157, 0.698039, 0.643137, 0.0392157)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = -2
theme_override_constants/shadow_outline_size = 15
theme_override_font_sizes/font_size = 40
text = "LAYER"
label_settings = SubResource("LabelSettings_yn75n")
vertical_alignment = 2
[node name="LayerNumberText" type="Label" parent="CenterContainer/SubViewportContainer/SubViewport/MarginContainer/Control"]
unique_name_in_owner = true
custom_minimum_size = Vector2(80, 15)
layout_mode = 2
offset_left = 87.0
offset_top = 20.0
offset_right = 167.0
offset_bottom = 72.0
theme = SubResource("Theme_qgswn")
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(1, 1, 1, 0.027451)
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 2
theme_override_constants/shadow_offset_y = -2
theme_override_constants/outline_size = 2
theme_override_font_sizes/font_size = 40
text = "01"
label_settings = SubResource("LabelSettings_75ec6")
horizontal_alignment = 1