200 lines
6.2 KiB
Plaintext
200 lines
6.2 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://ccsaeb8hm5lsu"]
|
||
|
||
[ext_resource type="Texture2D" uid="uid://bx2layh7wm6ft" path="res://res/ui/ui_021_map/tuceng309.png" id="1_e45qx"]
|
||
[ext_resource type="Script" path="res://scene/map.gd" id="1_ifxi0"]
|
||
[ext_resource type="Script" path="res://scene/map_scroll.gd" id="2_lmnx3"]
|
||
[ext_resource type="Texture2D" uid="uid://bc4vkd7u4s4sb" path="res://res/ui/ui_021_map/tuceng308.png" id="2_slael"]
|
||
[ext_resource type="Texture2D" uid="uid://bo84mljdw3my8" path="res://res/ui/ui_021_map/tuceng315.png" id="3_4y8t4"]
|
||
[ext_resource type="PackedScene" uid="uid://dtbfpnr54ifod" path="res://test/scene/map_example0.tscn" id="5_jn1dj"]
|
||
[ext_resource type="PackedScene" uid="uid://cscvsnrim8xwk" path="res://test/scene/map_example1.tscn" id="6_a88yc"]
|
||
[ext_resource type="PackedScene" uid="uid://db3m13gci7afs" path="res://test/scene/map_example2.tscn" id="7_bvfra"]
|
||
[ext_resource type="Texture2D" uid="uid://cfkrivnhdpg8l" path="res://res/ui/ui_019_game_flow/tuceng281.png" id="9_u7qpf"]
|
||
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="10_vgkwd"]
|
||
|
||
[node name="map" 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_ifxi0")
|
||
|
||
[node name="TextureRect2" 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.50605, 0.551841, 0.262283, 1)
|
||
|
||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||
layout_mode = 1
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
mouse_filter = 2
|
||
horizontal_scroll_mode = 3
|
||
vertical_scroll_mode = 3
|
||
script = ExtResource("2_lmnx3")
|
||
|
||
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer"]
|
||
custom_minimum_size = Vector2(1920, 1080)
|
||
layout_mode = 2
|
||
size_flags_horizontal = 0
|
||
size_flags_vertical = 0
|
||
theme_override_constants/separation = 0
|
||
|
||
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 0
|
||
texture = ExtResource("1_e45qx")
|
||
expand_mode = 3
|
||
|
||
[node name="TextureRect2" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 0
|
||
texture = ExtResource("2_slael")
|
||
expand_mode = 3
|
||
|
||
[node name="map_add_pos" type="MarginContainer" parent="ScrollContainer/HBoxContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="map_example" parent="ScrollContainer/HBoxContainer/map_add_pos" instance=ExtResource("5_jn1dj")]
|
||
layout_mode = 2
|
||
|
||
[node name="TextureRect" parent="ScrollContainer/HBoxContainer/map_add_pos" instance=ExtResource("6_a88yc")]
|
||
visible = false
|
||
layout_mode = 2
|
||
|
||
[node name="TextureRect2" parent="ScrollContainer/HBoxContainer/map_add_pos" instance=ExtResource("7_bvfra")]
|
||
visible = false
|
||
layout_mode = 2
|
||
|
||
[node name="pointer_map" type="Control" parent="ScrollContainer/HBoxContainer/map_add_pos"]
|
||
z_index = 2
|
||
layout_mode = 2
|
||
|
||
[node name="pointer" type="Label" parent="ScrollContainer/HBoxContainer/map_add_pos/pointer_map"]
|
||
z_index = 3
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = -0.027
|
||
anchor_right = -0.027
|
||
offset_left = 91.295
|
||
offset_right = 140.295
|
||
offset_bottom = 124.0
|
||
theme_override_font_sizes/font_size = 90
|
||
text = "⬇"
|
||
horizontal_alignment = 1
|
||
vertical_alignment = 1
|
||
|
||
[node name="TextureRect4" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 8
|
||
texture = ExtResource("2_slael")
|
||
expand_mode = 3
|
||
flip_h = true
|
||
|
||
[node name="TextureRect3" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 4
|
||
texture = ExtResource("1_e45qx")
|
||
expand_mode = 3
|
||
|
||
[node name="TextureRect" type="TextureRect" parent="."]
|
||
z_index = 1
|
||
layout_mode = 1
|
||
offset_right = 512.0
|
||
offset_bottom = 142.0
|
||
texture = ExtResource("3_4y8t4")
|
||
|
||
[node name="date" type="Label" parent="TextureRect"]
|
||
layout_mode = 0
|
||
anchor_left = 0.347656
|
||
anchor_right = 1.0
|
||
anchor_bottom = 0.373239
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "1999/12/12"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="time" type="Label" parent="TextureRect"]
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = 0.347656
|
||
anchor_top = 0.34507
|
||
anchor_right = 0.556641
|
||
anchor_bottom = 0.746479
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "12:12"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="Label3" type="Label" parent="TextureRect"]
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = 0.59375
|
||
anchor_top = 0.34507
|
||
anchor_right = 0.816406
|
||
anchor_bottom = 0.746479
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "天气:"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="weather" type="Label" parent="TextureRect"]
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = 0.816406
|
||
anchor_top = 0.34507
|
||
anchor_right = 1.03906
|
||
anchor_bottom = 0.746479
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "晴"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="pos" type="Label" parent="TextureRect"]
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = 0.347656
|
||
anchor_top = 0.661972
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.06338
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "(000,000)"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="back" type="TextureRect" parent="."]
|
||
layout_mode = 1
|
||
anchors_preset = 1
|
||
anchor_left = 1.0
|
||
anchor_right = 1.0
|
||
offset_left = -40.0
|
||
offset_bottom = 40.0
|
||
grow_horizontal = 0
|
||
texture = ExtResource("9_u7qpf")
|
||
|
||
[node name="back" parent="back" instance=ExtResource("10_vgkwd")]
|
||
layout_mode = 1
|
||
|
||
[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"]
|
||
[connection signal="gui_input" from="ScrollContainer" to="." method="_on_scroll_container_gui_input"]
|
||
[connection signal="pressed" from="back/back" to="." method="_on_back_pressed"]
|