added game client functionality

This commit is contained in:
2024-04-17 02:27:21 +02:00
parent e6be491e6e
commit 3699127890
3 changed files with 72 additions and 0 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"]