game/Multiplayer.tscn

40 lines
1.0 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://c0tixmwdmp28k"]
[ext_resource type="Script" path="res://MultiplayerController.gd" id="1_i2fn6"]
[node name="Control" type="CanvasLayer"]
script = ExtResource("1_i2fn6")
[node name="Host" type="Button" parent="."]
offset_right = 8.0
offset_bottom = 8.0
text = "Host
"
[node name="Join" type="Button" parent="."]
offset_left = 5.0
offset_top = 33.0
offset_right = 43.0
offset_bottom = 64.0
text = "Join"
[node name="Start" type="Button" parent="."]
offset_left = 5.0
offset_top = 95.0
offset_right = 51.0
offset_bottom = 126.0
text = "Start"
[node name="Nickname" type="TextEdit" parent="."]
offset_left = 26.0
offset_top = 138.0
offset_right = 378.0
offset_bottom = 170.0
placeholder_text = "nickname"
[node name="Map" type="Node" parent="."]
[connection signal="button_down" from="Host" to="." method="_on_host_button_down"]
[connection signal="button_down" from="Join" to="." method="_on_join_button_down"]
[connection signal="button_down" from="Start" to="." method="_on_start_button_down"]