feat: most of BracketScene done, need admin auth
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://rl33x81cxlh0"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://rl33x81cxlh0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dm25u0a2lqk2x" path="res://scripts/BracketScene.cs" id="1_dvj3m"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckmfi0cjgxgyk" path="res://assets/sprites/RedChip.png" id="2_7c11m"]
|
||||
[ext_resource type="PackedScene" uid="uid://m542qwlp7hl7" path="res://scenes/board_screen.tscn" id="3_1511b"]
|
||||
|
||||
[node name="BracketView" type="Control" node_paths=PackedStringArray("players")]
|
||||
[node name="BracketView" type="Control" node_paths=PackedStringArray("Players", "Matches")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -10,14 +12,29 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_dvj3m")
|
||||
players = NodePath("Tree")
|
||||
Players = NodePath("HBoxContainer/PlayerList")
|
||||
Matches = NodePath("HBoxContainer/MatchList")
|
||||
JoinButton = ExtResource("2_7c11m")
|
||||
BoardScene = ExtResource("3_1511b")
|
||||
|
||||
[node name="Tree" type="Tree" parent="."]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 9
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 348.0
|
||||
offset_top = 36.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="PlayerList" type="Tree" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(400, 0)
|
||||
layout_mode = 2
|
||||
columns = 3
|
||||
column_titles_visible = true
|
||||
scroll_horizontal_enabled = false
|
||||
|
||||
[node name="MatchList" type="Tree" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
columns = 3
|
||||
column_titles_visible = true
|
||||
|
||||
@@ -28,7 +28,7 @@ grow_vertical = 2
|
||||
placeholder_text = "Server Address"
|
||||
script = ExtResource("1_l6cm7")
|
||||
|
||||
[node name="Button" type="Button" parent="." node_paths=PackedStringArray("addressUI", "errorLabel")]
|
||||
[node name="Button" type="Button" parent="." node_paths=PackedStringArray("AddressUi", "ErrorLabel")]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
@@ -43,9 +43,9 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Connect"
|
||||
script = ExtResource("2_ekxnf")
|
||||
addressUI = NodePath("../Address")
|
||||
errorLabel = NodePath("../Label")
|
||||
nextScene = ExtResource("3_bqqt6")
|
||||
AddressUi = NodePath("../Address")
|
||||
ErrorLabel = NodePath("../Label")
|
||||
NextScene = ExtResource("3_bqqt6")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
|
||||
Reference in New Issue
Block a user