Files
mir-godot/engine/scenes/launch/nodes/server.tscn
MakerYang a902dd3de7 new
2024-08-06 18:30:21 +08:00

233 lines
8.2 KiB
Plaintext

[gd_scene load_steps=24 format=3 uid="uid://k6phj0lt8xl3"]
[ext_resource type="Script" path="res://scripts/launch/server/server.gd" id="1_axlrh"]
[ext_resource type="Texture2D" uid="uid://c0vipd0rtkan6" path="res://assets/launch/nodes/server/server_background.png" id="1_nhlb6"]
[ext_resource type="Texture2D" uid="uid://ht4d157d43je" path="res://assets/launch/nodes/server/server_button_0.png" id="2_aq0q6"]
[ext_resource type="Texture2D" uid="uid://hcm4ll6hic7c" path="res://assets/launch/nodes/server/scroll_top_arrow_0.png" id="2_wbkob"]
[ext_resource type="Texture2D" uid="uid://ddv83rnj25e6a" path="res://assets/launch/nodes/server/scroll_top_arrow_1.png" id="3_k5sgg"]
[ext_resource type="Texture2D" uid="uid://boncuex5b0d5g" path="res://assets/launch/nodes/server/server_button_1.png" id="3_qr8po"]
[ext_resource type="Texture2D" uid="uid://dusgjog8xc3i" path="res://assets/launch/nodes/server/scroll_button_1.png" id="4_7x006"]
[ext_resource type="Texture2D" uid="uid://ysi8i6ik5bpf" path="res://assets/launch/nodes/server/scroll_top_arrow_3.png" id="4_kq2ix"]
[ext_resource type="Texture2D" uid="uid://uu5et372y2ya" path="res://assets/launch/nodes/server/server_button_2.png" id="4_qaie4"]
[ext_resource type="FontFile" uid="uid://sk3ot7ejjfpl" path="res://assets/common/font/HarmonyOS_Sans_Bold.ttf" id="5_nicvd"]
[ext_resource type="Texture2D" uid="uid://dixub4mxtu0ng" path="res://assets/launch/nodes/server/scroll_dow_arrow_0.png" id="5_tgoq4"]
[ext_resource type="Texture2D" uid="uid://c87f4uoihkknm" path="res://assets/launch/nodes/server/scroll_button_2.png" id="5_yi78n"]
[ext_resource type="Texture2D" uid="uid://c4436tnl2v7c8" path="res://assets/launch/nodes/server/scroll_dow_arrow_1.png" id="6_l4frj"]
[ext_resource type="Texture2D" uid="uid://1g1uxx3dijyh" path="res://assets/launch/nodes/server/scroll_background.png" id="6_ygbp1"]
[ext_resource type="Texture2D" uid="uid://vwihiwd3l1v3" path="res://assets/launch/nodes/server/scroll_dow_arrow_3.png" id="7_xedcj"]
[ext_resource type="Texture2D" uid="uid://bevrqjeq2xrj3" path="res://assets/launch/nodes/server/scroll_button_0.png" id="8_53kvh"]
[ext_resource type="AudioStream" uid="uid://dboukgib28chm" path="res://assets/common/music/button_pressed.wav" id="16_76g13"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_5kajw"]
texture = ExtResource("8_53kvh")
texture_margin_top = 5.0
texture_margin_bottom = 5.0
region_rect = Rect2(0, 0.0399933, 20, 19.96)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_lqbb0"]
texture = ExtResource("4_7x006")
texture_margin_top = 5.0
texture_margin_bottom = 5.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_arqq5"]
texture = ExtResource("5_yi78n")
texture_margin_top = 5.0
texture_margin_bottom = 5.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_g0x8b"]
texture = ExtResource("6_ygbp1")
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sgi7t"]
texture = ExtResource("6_ygbp1")
[sub_resource type="Theme" id="Theme_nced6"]
VScrollBar/icons/decrement = ExtResource("2_wbkob")
VScrollBar/icons/decrement_highlight = ExtResource("3_k5sgg")
VScrollBar/icons/decrement_pressed = ExtResource("4_kq2ix")
VScrollBar/icons/increment = ExtResource("5_tgoq4")
VScrollBar/icons/increment_highlight = ExtResource("6_l4frj")
VScrollBar/icons/increment_pressed = ExtResource("7_xedcj")
VScrollBar/styles/grabber = SubResource("StyleBoxTexture_5kajw")
VScrollBar/styles/grabber_highlight = SubResource("StyleBoxTexture_lqbb0")
VScrollBar/styles/grabber_pressed = SubResource("StyleBoxTexture_arqq5")
VScrollBar/styles/scroll = SubResource("StyleBoxTexture_g0x8b")
VScrollBar/styles/scroll_focus = SubResource("StyleBoxTexture_sgi7t")
[node name="Server" 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_axlrh")
[node name="ButtonPressedMusic" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("16_76g13")
[node name="Default" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Background" type="TextureRect" parent="Default"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -137.0
offset_top = -211.5
offset_right = 137.0
offset_bottom = 211.5
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_nhlb6")
[node name="Box" type="ScrollContainer" parent="Default"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -118.0
offset_top = -152.0
offset_right = 112.0
offset_bottom = 188.0
grow_horizontal = 2
grow_vertical = 2
theme = SubResource("Theme_nced6")
scroll_vertical_custom_step = 10.0
horizontal_scroll_mode = 0
[node name="List" type="VBoxContainer" parent="Default/Box"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
[node name="Item" type="TextureButton" parent="Default/Box/List"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("2_aq0q6")
texture_pressed = ExtResource("3_qr8po")
texture_hover = ExtResource("4_qaie4")
texture_disabled = ExtResource("2_aq0q6")
[node name="Name" type="Label" parent="Default/Box/List/Item"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -29.5
offset_top = -11.0
offset_right = 29.5
offset_bottom = 11.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0.953463, 0.772706, 0.574369, 1)
theme_override_fonts/font = ExtResource("5_nicvd")
theme_override_font_sizes/font_size = 11
text = "本地单机"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Item2" type="TextureButton" parent="Default/Box/List"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("2_aq0q6")
texture_pressed = ExtResource("3_qr8po")
texture_hover = ExtResource("4_qaie4")
texture_disabled = ExtResource("2_aq0q6")
[node name="Name" type="Label" parent="Default/Box/List/Item2"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -29.5
offset_top = -11.0
offset_right = 29.5
offset_bottom = 11.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0.953463, 0.772706, 0.574369, 1)
theme_override_fonts/font = ExtResource("5_nicvd")
theme_override_font_sizes/font_size = 11
text = "华东服务器
"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Item3" type="TextureButton" parent="Default/Box/List"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("2_aq0q6")
texture_pressed = ExtResource("3_qr8po")
texture_hover = ExtResource("4_qaie4")
texture_disabled = ExtResource("2_aq0q6")
[node name="Name" type="Label" parent="Default/Box/List/Item3"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -29.5
offset_top = -11.0
offset_right = 29.5
offset_bottom = 11.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0.953463, 0.772706, 0.574369, 1)
theme_override_fonts/font = ExtResource("5_nicvd")
theme_override_font_sizes/font_size = 11
text = "华南服务器
"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Item4" type="TextureButton" parent="Default/Box/List"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("2_aq0q6")
texture_pressed = ExtResource("3_qr8po")
texture_hover = ExtResource("4_qaie4")
texture_disabled = ExtResource("2_aq0q6")
[node name="Name" type="Label" parent="Default/Box/List/Item4"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -29.5
offset_top = -11.0
offset_right = 29.5
offset_bottom = 11.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0.953463, 0.772706, 0.574369, 1)
theme_override_fonts/font = ExtResource("5_nicvd")
theme_override_font_sizes/font_size = 11
text = "华南服务器
"
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="pressed" from="Default/Box/List/Item" to="." method="_on_item_pressed"]