challenge-editor/scene/map.tscn

200 lines
6.2 KiB
Plaintext
Raw Normal View History

2024-09-22 17:37:51 +08:00
[gd_scene load_steps=11 format=3 uid="uid://ccsaeb8hm5lsu"]
2024-09-21 11:52:44 +08:00
[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"]
2024-09-21 17:51:05 +08:00
[ext_resource type="Script" path="res://scene/map_scroll.gd" id="2_lmnx3"]
2024-09-21 11:52:44 +08:00
[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"]
2024-09-21 17:51:05 +08:00
[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"]
2024-09-22 17:37:51 +08:00
[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"]
2024-09-14 11:53:01 +08:00
[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
2024-09-21 11:52:44 +08:00
script = ExtResource("1_ifxi0")
2024-09-22 17:37:51 +08:00
[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)
2024-09-21 17:51:05 +08:00
[node name="ScrollContainer" type="ScrollContainer" parent="."]
2024-09-21 11:52:44 +08:00
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2024-09-21 17:51:05 +08:00
mouse_filter = 2
horizontal_scroll_mode = 3
vertical_scroll_mode = 3
script = ExtResource("2_lmnx3")
2024-09-21 11:52:44 +08:00
2024-09-21 17:51:05 +08:00
[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"]
2024-09-21 11:52:44 +08:00
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("1_e45qx")
expand_mode = 3
2024-09-21 17:51:05 +08:00
[node name="TextureRect2" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("2_slael")
expand_mode = 3
2024-09-22 11:48:18 +08:00
[node name="map_add_pos" type="MarginContainer" parent="ScrollContainer/HBoxContainer"]
2024-09-21 17:51:05 +08:00
layout_mode = 2
size_flags_horizontal = 3
2024-09-22 11:48:18 +08:00
[node name="map_example" parent="ScrollContainer/HBoxContainer/map_add_pos" instance=ExtResource("5_jn1dj")]
2024-09-21 17:51:05 +08:00
layout_mode = 2
2024-09-22 11:48:18 +08:00
[node name="TextureRect" parent="ScrollContainer/HBoxContainer/map_add_pos" instance=ExtResource("6_a88yc")]
2024-09-21 17:51:05 +08:00
visible = false
layout_mode = 2
2024-09-22 11:48:18 +08:00
[node name="TextureRect2" parent="ScrollContainer/HBoxContainer/map_add_pos" instance=ExtResource("7_bvfra")]
2024-09-21 17:51:05 +08:00
visible = false
layout_mode = 2
2024-09-22 17:37:51 +08:00
[node name="pointer_map" type="Control" parent="ScrollContainer/HBoxContainer/map_add_pos"]
2024-09-23 11:47:55 +08:00
z_index = 2
2024-09-22 17:37:51 +08:00
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
2024-09-23 11:47:55 +08:00
anchor_right = -0.027
offset_left = 91.295
offset_right = 140.295
offset_bottom = 124.0
2024-09-22 17:37:51 +08:00
theme_override_font_sizes/font_size = 90
text = "⬇"
horizontal_alignment = 1
vertical_alignment = 1
2024-09-21 17:51:05 +08:00
[node name="TextureRect4" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 8
texture = ExtResource("2_slael")
expand_mode = 3
2024-09-22 17:37:51 +08:00
flip_h = true
2024-09-21 17:51:05 +08:00
[node name="TextureRect3" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
layout_mode = 2
2024-09-22 17:37:51 +08:00
size_flags_horizontal = 4
2024-09-21 17:51:05 +08:00
texture = ExtResource("1_e45qx")
expand_mode = 3
[node name="TextureRect" type="TextureRect" parent="."]
2024-09-21 11:52:44 +08:00
z_index = 1
layout_mode = 1
2024-09-21 17:51:05 +08:00
offset_right = 512.0
2024-09-21 11:52:44 +08:00
offset_bottom = 142.0
texture = ExtResource("3_4y8t4")
2024-09-21 17:51:05 +08:00
[node name="date" type="Label" parent="TextureRect"]
2024-09-21 11:52:44 +08:00
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
2024-09-21 17:51:05 +08:00
[node name="time" type="Label" parent="TextureRect"]
2024-09-21 11:52:44 +08:00
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
2024-09-21 17:51:05 +08:00
[node name="Label3" type="Label" parent="TextureRect"]
2024-09-21 11:52:44 +08:00
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
2024-09-21 17:51:05 +08:00
[node name="weather" type="Label" parent="TextureRect"]
2024-09-21 11:52:44 +08:00
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
2024-09-21 17:51:05 +08:00
[node name="pos" type="Label" parent="TextureRect"]
2024-09-21 11:52:44 +08:00
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 = "000000"
vertical_alignment = 1
metadata/_edit_use_anchors_ = true
2024-09-22 17:37:51 +08:00
[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
2024-10-16 11:54:14 +08:00
[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"]
2024-09-21 17:51:05 +08:00
[connection signal="gui_input" from="ScrollContainer" to="." method="_on_scroll_container_gui_input"]
2024-09-22 17:37:51 +08:00
[connection signal="pressed" from="back/back" to="." method="_on_back_pressed"]