basic udp client

This commit is contained in:
2024-04-17 16:48:11 +02:00
parent 48ae660029
commit 04c03ef6b6
4 changed files with 80 additions and 40 deletions

View File

@@ -0,0 +1,29 @@
[gd_scene load_steps=2 format=3 uid="uid://bsno04jv8uvxe"]
[ext_resource type="Script" path="res://scripts/ui/testinterface.gd" id="1_g1tlq"]
[node name="TestInterface" 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_g1tlq")
[node name="Button" type="Button" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -108.5
offset_top = -56.0
offset_right = 108.5
offset_bottom = 56.0
grow_horizontal = 2
grow_vertical = 2
text = "Test websocket"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]