You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://Client.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://UI.gd" type="Script" id=2]
|
|
|
|
|
|
|
|
[node name="Client" type="Node"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="UI" type="PanelContainer" parent="."]
|
|
|
|
margin_right = 250.0
|
|
|
|
margin_bottom = 600.0
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="UI"]
|
|
|
|
margin_left = 7.0
|
|
|
|
margin_top = 7.0
|
|
|
|
margin_right = 243.0
|
|
|
|
margin_bottom = 593.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="Title" type="Label" parent="UI/VBox"]
|
|
|
|
margin_right = 236.0
|
|
|
|
margin_bottom = 14.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 1
|
|
|
|
text = "Chatbox"
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="ChatLog" type="TextEdit" parent="UI/VBox"]
|
|
|
|
margin_top = 18.0
|
|
|
|
margin_right = 236.0
|
|
|
|
margin_bottom = 530.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
show_line_numbers = true
|
|
|
|
|
|
|
|
[node name="ChatInput" type="LineEdit" parent="UI/VBox"]
|
|
|
|
margin_top = 534.0
|
|
|
|
margin_right = 236.0
|
|
|
|
margin_bottom = 558.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
placeholder_text = "Enter your message..."
|
|
|
|
|
|
|
|
[node name="HBox" type="HBoxContainer" parent="UI/VBox"]
|
|
|
|
margin_top = 562.0
|
|
|
|
margin_right = 236.0
|
|
|
|
margin_bottom = 586.0
|
|
|
|
|
|
|
|
[node name="Name" type="LineEdit" parent="UI/VBox/HBox"]
|
|
|
|
margin_right = 116.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
placeholder_text = "Username"
|
|
|
|
|
|
|
|
[node name="JoinButton" type="Button" parent="UI/VBox/HBox"]
|
|
|
|
margin_left = 120.0
|
|
|
|
margin_right = 236.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Join"
|