FuncIt/source/scenes/GUI/server_handlers/server_display.tscn
2021-11-08 18:53:37 +02:00

64 lines
1.7 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://source/fonts/oxygen/Oxygen-Regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://source/assets/scripts/server_handlers/server_processors/server_display.gd" type="Script" id=2]
[ext_resource path="res://source/fonts/oxygen/Oxygen-Bold.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://source/scenes/OVERLAY/elements/button.tscn" type="PackedScene" id=4]
[sub_resource type="DynamicFont" id=1]
size = 36
use_mipmaps = true
use_filter = true
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 48
use_mipmaps = true
use_filter = true
font_data = ExtResource( 3 )
[node name="server_display" type="Label" groups=[
"Server_display",
]]
anchor_right = 0.208
anchor_bottom = 0.119
margin_left = 8.0
margin_right = 8.63998
margin_bottom = 1.48
rect_min_size = Vector2( 0, 130 )
custom_fonts/font = SubResource( 1 )
text = "N/A: 000.000.000"
valign = 1
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="join_button" parent="." instance=ExtResource( 4 )]
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_left = -90.0
margin_top = -18.0
margin_right = 210.0
margin_bottom = 54.0
rect_scale = Vector2( 0.3, 0.5 )
[node name="Label" type="Label" parent="join_button"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -100.0
rect_scale = Vector2( 1.5, 1 )
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Join"
align = 1
valign = 1
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[connection signal="pressed" from="join_button" to="." method="_on_join_button_pressed"]