From 013fa24dd165d6f01a9bcf9deddfeb31bbbdea3c Mon Sep 17 00:00:00 2001 From: darioGerussi Date: Sun, 10 Apr 2022 14:00:50 -0500 Subject: [PATCH] Updates to Multiplayer file --- .../Multiplayer/screens/JoinRoom.tscn | 31 +++++----------- .../Multiplayer/screens/NewRoom.tscn | 36 ++++++++++++++++++- 2 files changed, 44 insertions(+), 23 deletions(-) diff --git a/Phase2/Godot ===(Game Code)===/Multiplayer/screens/JoinRoom.tscn b/Phase2/Godot ===(Game Code)===/Multiplayer/screens/JoinRoom.tscn index a5c93e5..0cdaaa8 100644 --- a/Phase2/Godot ===(Game Code)===/Multiplayer/screens/JoinRoom.tscn +++ b/Phase2/Godot ===(Game Code)===/Multiplayer/screens/JoinRoom.tscn @@ -4,14 +4,7 @@ [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/But_ChangeScene.tscn" type="PackedScene" id=4] - -[sub_resource type="StyleBoxFlat" id=1] -bg_color = Color( 0.901961, 0.898039, 0.862745, 1 ) -corner_radius_top_left = 3 -corner_radius_top_right = 3 -corner_radius_bottom_right = 3 -corner_radius_bottom_left = 3 -corner_detail = 1 +[ext_resource path="res://assets/sbf_black.tres" type="StyleBox" id=5] [node name="Control" type="Control"] anchor_right = 1.0 @@ -29,28 +22,22 @@ theme = null custom_fonts/font = ExtResource( 2 ) 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 +[node name="ScrollContainer" type="ScrollContainer" parent="Background/Title"] +margin_left = -131.5 +margin_top = 96.1324 +margin_right = 368.5 +margin_bottom = 346.132 +rect_min_size = Vector2( 500, 250 ) size_flags_horizontal = 3 size_flags_vertical = 3 -[node name="ScrollContainer" type="ScrollContainer" parent="Background/MarginContainer"] +[node name="PanelContainer" type="PanelContainer" parent="Background/Title/ScrollContainer"] 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 ) +custom_styles/panel = ExtResource( 5 ) [node name="VBoxContainer" type="VBoxContainer" parent="Background"] margin_left = 393.0 diff --git a/Phase2/Godot ===(Game Code)===/Multiplayer/screens/NewRoom.tscn b/Phase2/Godot ===(Game Code)===/Multiplayer/screens/NewRoom.tscn index 94d6db4..04ae61a 100644 --- a/Phase2/Godot ===(Game Code)===/Multiplayer/screens/NewRoom.tscn +++ b/Phase2/Godot ===(Game Code)===/Multiplayer/screens/NewRoom.tscn @@ -1,8 +1,10 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://assets/liberation_serif_40pt.tres" type="DynamicFont" id=1] [ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=2] [ext_resource path="res://assets/ui_controlNode_dark_theme.tres" type="Theme" id=3] +[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=4] +[ext_resource path="res://assets/sbf_black.tres" type="StyleBox" id=5] [node name="Control" type="Control"] anchor_right = 1.0 @@ -19,3 +21,35 @@ margin_bottom = 117.868 theme = null custom_fonts/font = ExtResource( 1 ) text = "New Room" + +[node name="PanelContainer" type="PanelContainer" parent="Background"] +margin_left = 112.0 +margin_top = 148.0 +margin_right = 126.0 +margin_bottom = 162.0 +rect_min_size = Vector2( 800, 304 ) +custom_styles/panel = ExtResource( 5 ) + +[node name="VBoxContainer" type="VBoxContainer" parent="Background"] +margin_left = 393.0 +margin_top = 501.0 +margin_right = 631.0 +margin_bottom = 552.0 +rect_min_size = Vector2( 0, 51 ) + +[node name="But_Multiplayer" parent="Background/VBoxContainer" instance=ExtResource( 4 )] +margin_right = 238.0 +margin_bottom = 51.0 +text = "Go Back" +next_scene_path = "res://Screens/Multiplayer.tscn" + +[node name="Version" type="Label" parent="Background"] +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -177.0 +margin_top = -44.0 +margin_right = -5.0 +margin_bottom = -6.0 +text = "Version: 0.0.0"