76 lines
2.2 KiB
Plaintext
76 lines
2.2 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://7agx3qjkgnwl"]
|
|
|
|
[ext_resource type="Script" path="res://scene/map_2d.gd" id="1_j8foi"]
|
|
[ext_resource type="PackedScene" uid="uid://dtbfpnr54ifod" path="res://test/scene/map_example0.tscn" id="2_7c5c8"]
|
|
[ext_resource type="Texture2D" uid="uid://bx2layh7wm6ft" path="res://res/ui/ui_021_map/tuceng309.png" id="3_pyawj"]
|
|
[ext_resource type="Texture2D" uid="uid://bc4vkd7u4s4sb" path="res://res/ui/ui_021_map/tuceng308.png" id="4_0ppjt"]
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_32us8"]
|
|
viewport_path = NodePath("SubViewport")
|
|
|
|
[node name="Map2d" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_j8foi")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.505882, 0.552941, 0.262745, 1)
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="."]
|
|
transparent_bg = true
|
|
|
|
[node name="Node2D" type="Node2D" parent="SubViewport"]
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="SubViewport/Node2D"]
|
|
|
|
[node name="map_example" parent="SubViewport/Node2D" instance=ExtResource("2_7c5c8")]
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
texture = ExtResource("3_pyawj")
|
|
expand_mode = 3
|
|
|
|
[node name="TextureRect3" type="TextureRect" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
texture = ExtResource("4_0ppjt")
|
|
expand_mode = 3
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
texture = SubResource("ViewportTexture_32us8")
|
|
|
|
[node name="TextureRect4" type="TextureRect" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
texture = ExtResource("4_0ppjt")
|
|
expand_mode = 3
|
|
flip_h = true
|
|
|
|
[node name="TextureRect5" type="TextureRect" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
texture = ExtResource("3_pyawj")
|
|
expand_mode = 3
|