project_teddy/scenes/multiplayer.tscn

111 lines
2.7 KiB
Text
Raw Normal View History

2023-02-24 23:49:49 -07:00
[gd_scene load_steps=3 format=3 uid="uid://bu0htwo7n3pwa"]
[ext_resource type="Script" path="res://scripts/multiplayer.gd" id="1_ehfu1"]
2023-02-24 23:49:49 -07:00
[ext_resource type="Texture2D" uid="uid://b3hksm46ma2rm" path="res://2DArt/Main Menu/PlayScreenJOIN.png" id="2_px3id"]
[node name="multiplayer" 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_ehfu1")
2023-02-24 23:49:49 -07:00
[node name="PlayScreenJoin" type="Sprite2D" parent="."]
position = Vector2(576.333, 324.625)
scale = Vector2(0.300347, 0.300347)
texture = ExtResource("2_px3id")
[node name="playerNameBox" type="LineEdit" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 521.0
offset_top = 515.0
offset_right = 688.0
offset_bottom = 558.0
[node name="playerLabel" type="Label" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 398.0
offset_top = 524.0
offset_right = 506.0
offset_bottom = 550.0
text = "Player Name: "
[node name="backButton" type="Button" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 857.0
offset_top = 82.0
offset_right = 891.0
offset_bottom = 113.0
text = "X"
flat = true
[node name="ipBox" type="LineEdit" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 526.0
offset_top = 222.0
offset_right = 683.0
offset_bottom = 260.0
[node name="joinGameLabel" type="Label" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 562.0
offset_top = 174.0
offset_right = 641.0
offset_bottom = 200.0
text = "Join Game"
[node name="ipLabel" type="Label" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 422.0
offset_top = 229.0
offset_right = 512.0
offset_bottom = 255.0
text = "IP Address: "
[node name="portBox" type="LineEdit" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 527.0
offset_top = 283.0
offset_right = 599.0
offset_bottom = 319.0
2023-03-19 15:06:11 -06:00
text = "28000"
placeholder_text = "port"
[node name="portLabel" type="Label" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 464.0
offset_top = 288.0
offset_right = 506.0
offset_bottom = 314.0
text = "Port: "
[node name="hostButton" type="Button" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 258.0
offset_top = 72.0
offset_right = 381.0
offset_bottom = 123.0
flat = true
[node name="joinButton" type="Button" parent="."]
layout_mode = 0
2023-02-24 23:49:49 -07:00
offset_left = 613.0
offset_top = 283.0
offset_right = 684.0
offset_bottom = 318.0
text = "JOIN"
2023-02-09 13:10:25 -07:00
[node name="errorLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 346.0
offset_top = 346.0
offset_right = 386.0
offset_bottom = 369.0
[connection signal="text_changed" from="playerNameBox" to="." method="_on_player_name_box_text_changed"]
[connection signal="pressed" from="backButton" to="." method="_on_button_pressed"]
2023-02-09 13:10:25 -07:00
[connection signal="pressed" from="hostButton" to="." method="_on_host_button_pressed"]
[connection signal="pressed" from="joinButton" to="." method="_on_join_button_pressed"]