Files
GameJamDungeon/Zennysoft.Game.Ma/src/minimap/Minimap.tscn
2026-02-15 01:14:09 -08:00

140 lines
4.8 KiB
Plaintext

[gd_scene load_steps=12 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)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yn75n"]
shading_mode = 0
albedo_color = Color(0, 0, 0, 1)
[sub_resource type="QuadMesh" id="QuadMesh_75ec6"]
material = SubResource("StandardMaterial3D_yn75n")
size = Vector2(10000, 10000)
orientation = 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="."]
custom_minimum_size = Vector2(400, 400)
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(450, 400)
layout_mode = 2
[node name="SubViewport" type="SubViewport" parent="CenterContainer/SubViewportContainer"]
transparent_bg = true
handle_input_locally = false
size = Vector2i(400, 350)
render_target_update_mode = 4
[node name="MinimapCamera" type="Camera3D" parent="CenterContainer/SubViewportContainer/SubViewport"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -21.7374, 146.05, 2.76249)
cull_mask = 2
environment = SubResource("Environment_yn75n")
attributes = SubResource("CameraAttributesPractical_yn75n")
projection = 1
fov = 45.0
size = 100.0
near = 0.001
[node name="MarginContainer" type="MarginContainer" parent="CenterContainer/SubViewportContainer/SubViewport"]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -190.0
offset_top = -48.0
grow_horizontal = 0
grow_vertical = 0
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/SubViewportContainer/SubViewport/MarginContainer"]
layout_mode = 2
[node name="LayerText" type="Label" parent="CenterContainer/SubViewportContainer/SubViewport/MarginContainer/HBoxContainer"]
custom_minimum_size = Vector2(80, 15)
layout_mode = 2
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/HBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(80, 15)
layout_mode = 2
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
[node name="MeshInstance3D" type="MeshInstance3D" parent="CenterContainer/SubViewportContainer/SubViewport"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -869, 0)
layers = 2
mesh = SubResource("QuadMesh_75ec6")