137 lines
3.3 KiB
Text
137 lines
3.3 KiB
Text
[gd_scene load_steps=4 format=3 uid="uid://cv5bctupikqe7"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/host.gd" id="1_r5rkm"]
|
|
[ext_resource type="Texture2D" uid="uid://b8hvwlbkrib4k" path="res://2DArt/Main Menu/PlayScreenHOST.png" id="2_s15iu"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xhmtq"]
|
|
|
|
[node name="hostmenu" 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_r5rkm")
|
|
|
|
[node name="PlayScreenHost" type="Sprite2D" parent="."]
|
|
position = Vector2(576.556, 324.75)
|
|
scale = Vector2(0.300231, 0.300231)
|
|
texture = ExtResource("2_s15iu")
|
|
|
|
[node name="close" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 859.0
|
|
offset_top = 82.0
|
|
offset_right = 890.0
|
|
offset_bottom = 113.0
|
|
text = "X"
|
|
flat = true
|
|
|
|
[node name="Panel2" type="Panel" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 308.0
|
|
offset_top = 229.0
|
|
offset_right = 508.0
|
|
offset_bottom = 429.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_xhmtq")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 348.0
|
|
offset_top = 309.0
|
|
offset_right = 464.0
|
|
offset_bottom = 335.0
|
|
text = "IMAGE OF MAP"
|
|
|
|
[node name="mapLabel" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 658.0
|
|
offset_top = 218.0
|
|
offset_right = 782.0
|
|
offset_bottom = 244.0
|
|
text = "MAP SELECTION"
|
|
|
|
[node name="playground" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 646.0
|
|
offset_top = 248.0
|
|
offset_right = 797.0
|
|
offset_bottom = 283.0
|
|
text = "Toyland"
|
|
|
|
[node name="portBox" type="LineEdit" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 726.0
|
|
offset_top = 533.0
|
|
offset_right = 793.062
|
|
offset_bottom = 564.0
|
|
placeholder_text = "Port"
|
|
|
|
[node name="startButton" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 802.0
|
|
offset_top = 532.0
|
|
offset_right = 884.0
|
|
offset_bottom = 564.0
|
|
text = "START"
|
|
|
|
[node name="lowerMapLabel" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 262.0
|
|
offset_top = 454.0
|
|
offset_right = 305.0
|
|
offset_bottom = 480.0
|
|
text = "Map: "
|
|
|
|
[node name="mapSelected" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 309.0
|
|
offset_top = 456.0
|
|
offset_right = 349.0
|
|
offset_bottom = 479.0
|
|
|
|
[node name="playerBox" type="LineEdit" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 725.0
|
|
offset_top = 498.0
|
|
offset_right = 792.062
|
|
offset_bottom = 529.0
|
|
placeholder_text = "Players"
|
|
|
|
[node name="maxPlayersLabel" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 615.0
|
|
offset_top = 502.0
|
|
offset_right = 713.0
|
|
offset_bottom = 528.0
|
|
text = "Max Players:"
|
|
|
|
[node name="portLabel" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 674.0
|
|
offset_top = 537.0
|
|
offset_right = 714.0
|
|
offset_bottom = 563.0
|
|
text = "Port:"
|
|
|
|
[node name="joinButton" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 410.0
|
|
offset_top = 71.0
|
|
offset_right = 522.0
|
|
offset_bottom = 124.0
|
|
flat = true
|
|
|
|
[node name="hostLabel" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 534.0
|
|
offset_top = 161.0
|
|
offset_right = 620.0
|
|
offset_bottom = 187.0
|
|
text = "Host Game"
|
|
|
|
[connection signal="pressed" from="close" to="." method="_on_close_pressed"]
|
|
[connection signal="pressed" from="playground" to="." method="_on_playground_pressed"]
|
|
[connection signal="pressed" from="startButton" to="." method="_on_start_button_pressed"]
|
|
[connection signal="pressed" from="joinButton" to="." method="_on_join_button_pressed"]
|