1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- [gd_scene load_steps=2 format=3 uid="uid://bvnwjpd0f3oa0"]
- [ext_resource type="Script" path="res://run/multiplayer.gd" id="1_t2go4"]
- [node name="Multiplayer" type="Node"]
- script = ExtResource("1_t2go4")
- [node name="Level" type="Node" parent="."]
- [node name="LevelSpawner" type="MultiplayerSpawner" parent="."]
- _spawnable_scenes = PackedStringArray("res://run/levels/destination/final.tscn")
- spawn_path = NodePath("../Level")
- spawn_limit = 1
- [node name="UI" type="Control" parent="."]
- process_mode = 3
- layout_mode = 3
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- [node name="Net" type="VBoxContainer" parent="UI"]
- layout_mode = 1
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- [node name="Options" type="HBoxContainer" parent="UI/Net"]
- layout_mode = 2
- [node name="Label" type="Label" parent="UI/Net/Options"]
- layout_mode = 2
- text = "Direct:"
- [node name="Host" type="Button" parent="UI/Net/Options"]
- layout_mode = 2
- text = "Host"
- [node name="Connect" type="Button" parent="UI/Net/Options"]
- layout_mode = 2
- text = "Connect"
- [node name="Remote" type="LineEdit" parent="UI/Net/Options"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "127.0.0.1"
- placeholder_text = "Remote Host"
- caret_blink = true
- caret_blink_interval = 0.5
- [connection signal="pressed" from="UI/Net/Options/Host" to="." method="_on_host_pressed"]
- [connection signal="pressed" from="UI/Net/Options/Connect" to="." method="_on_connect_pressed"]
|