Updated multiplayer "Join Game" screen

This commit is contained in:
darioGerussi 2022-04-03 14:12:13 -05:00
parent 6046667b2f
commit 7c2e66e434
3 changed files with 36 additions and 4 deletions

View File

@ -2,6 +2,7 @@
[resource] [resource]
bg_color = Color( 1, 1, 1, 1 ) bg_color = Color( 1, 1, 1, 1 )
draw_center = false
border_width_left = 1 border_width_left = 1
border_width_top = 1 border_width_top = 1
border_width_right = 1 border_width_right = 1

View File

@ -1,21 +1,52 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/ui_controlNode_dark_theme.tres" type="Theme" id=1] [ext_resource path="res://assets/ui_controlNode_dark_theme.tres" type="Theme" id=1]
[ext_resource path="res://assets/liberation_serif_40pt.tres" type="DynamicFont" id=2] [ext_resource path="res://assets/liberation_serif_40pt.tres" type="DynamicFont" id=2]
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=3] [ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=3]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.909804, 0.898039, 0.898039, 1 )
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 1
[node name="Control" type="Control"] [node name="Control" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
[node name="Panel" type="Panel" parent="."] [node name="Background" type="Panel" parent="."]
margin_right = 1024.0 margin_right = 1024.0
margin_bottom = 600.0 margin_bottom = 600.0
theme = ExtResource( 1 ) theme = ExtResource( 1 )
[node name="Title" parent="." instance=ExtResource( 3 )] [node name="Title" parent="Background" instance=ExtResource( 3 )]
margin_top = 51.8676 margin_top = 51.8676
margin_bottom = 117.868 margin_bottom = 117.868
theme = null theme = null
custom_fonts/font = ExtResource( 2 ) custom_fonts/font = ExtResource( 2 )
text = "Join Room" text = "Join Room"
[node name="MarginContainer" type="MarginContainer" parent="Background"]
margin_left = 270.0
margin_top = 150.0
margin_right = 270.0
margin_bottom = 150.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ScrollContainer" type="ScrollContainer" parent="Background/MarginContainer"]
margin_right = 500.0
margin_bottom = 250.0
rect_min_size = Vector2( 500, 250 )
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="PanelContainer" type="PanelContainer" parent="Background/MarginContainer/ScrollContainer"]
margin_right = 500.0
margin_bottom = 250.0
rect_min_size = Vector2( 500, 250 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/panel = SubResource( 1 )

View File

@ -8,7 +8,7 @@
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
[node name="Panel" type="Panel" parent="."] [node name="Background" type="Panel" parent="."]
margin_right = 1024.0 margin_right = 1024.0
margin_bottom = 600.0 margin_bottom = 600.0
theme = ExtResource( 3 ) theme = ExtResource( 3 )