From 98a089669678984edaf6ef37d5a0c463962b007b Mon Sep 17 00:00:00 2001 From: IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> Date: Sun, 17 Jul 2022 01:01:02 +0200 Subject: simple scoreboard --- godot/scenes/objects/Scoreboard.tscn | 433 +++++++++++++++++++++++++++++++++++ 1 file changed, 433 insertions(+) create mode 100644 godot/scenes/objects/Scoreboard.tscn (limited to 'godot/scenes/objects/Scoreboard.tscn') diff --git a/godot/scenes/objects/Scoreboard.tscn b/godot/scenes/objects/Scoreboard.tscn new file mode 100644 index 0000000..ab9c887 --- /dev/null +++ b/godot/scenes/objects/Scoreboard.tscn @@ -0,0 +1,433 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://assets/theme.tres" type="Theme" id=1] +[ext_resource path="res://scenes/objects/Scoreboard.gd" type="Script" id=2] + +[node name="Scoreboard" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_right = -0.320004 +margin_bottom = 0.48 +script = ExtResource( 2 ) + +[node name="Panel" type="Panel" parent="."] +anchor_right = 1.0 +anchor_bottom = 0.952 +margin_left = 120.0 +margin_top = 120.0 +margin_right = -119.68 +margin_bottom = -665.617 + +[node name="GridContainer" type="GridContainer" parent="Panel"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 50.0 +margin_top = 50.0 +columns = 10 + +[node name="LabelHeader" type="Label" parent="Panel/GridContainer"] +margin_right = 159.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "Hole" +align = 3 +valign = 3 +autowrap = true + +[node name="Label" type="Label" parent="Panel/GridContainer"] +margin_left = 163.0 +margin_right = 322.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "1" +align = 3 +valign = 3 +autowrap = true + +[node name="Label2" type="Label" parent="Panel/GridContainer"] +margin_left = 326.0 +margin_right = 485.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "2" +align = 3 +valign = 3 +autowrap = true + +[node name="Label3" type="Label" parent="Panel/GridContainer"] +margin_left = 489.0 +margin_right = 648.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "3" +align = 3 +valign = 3 +autowrap = true + +[node name="Label4" type="Label" parent="Panel/GridContainer"] +margin_left = 652.0 +margin_right = 811.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "4" +align = 3 +valign = 3 +autowrap = true + +[node name="Label5" type="Label" parent="Panel/GridContainer"] +margin_left = 815.0 +margin_right = 974.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "5" +align = 3 +valign = 3 +autowrap = true + +[node name="Label6" type="Label" parent="Panel/GridContainer"] +margin_left = 978.0 +margin_right = 1137.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "6" +align = 3 +valign = 3 +autowrap = true + +[node name="Label7" type="Label" parent="Panel/GridContainer"] +margin_left = 1141.0 +margin_right = 1300.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "7" +align = 3 +valign = 3 +autowrap = true + +[node name="Label8" type="Label" parent="Panel/GridContainer"] +margin_left = 1304.0 +margin_right = 1463.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "8" +align = 3 +valign = 3 +autowrap = true + +[node name="Label9" type="Label" parent="Panel/GridContainer"] +margin_left = 1467.0 +margin_right = 1626.0 +margin_bottom = 51.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "9" +align = 3 +valign = 3 +autowrap = true + +[node name="LabelHeader2" type="Label" parent="Panel/GridContainer"] +margin_top = 55.0 +margin_right = 159.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "Par" +align = 3 +valign = 3 +autowrap = true + +[node name="Par0" type="Label" parent="Panel/GridContainer"] +margin_left = 163.0 +margin_top = 55.0 +margin_right = 322.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Par1" type="Label" parent="Panel/GridContainer"] +margin_left = 326.0 +margin_top = 55.0 +margin_right = 485.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Par2" type="Label" parent="Panel/GridContainer"] +margin_left = 489.0 +margin_top = 55.0 +margin_right = 648.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Par3" type="Label" parent="Panel/GridContainer"] +margin_left = 652.0 +margin_top = 55.0 +margin_right = 811.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Par4" type="Label" parent="Panel/GridContainer"] +margin_left = 815.0 +margin_top = 55.0 +margin_right = 974.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Par5" type="Label" parent="Panel/GridContainer"] +margin_left = 978.0 +margin_top = 55.0 +margin_right = 1137.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Par6" type="Label" parent="Panel/GridContainer"] +margin_left = 1141.0 +margin_top = 55.0 +margin_right = 1300.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Par7" type="Label" parent="Panel/GridContainer"] +margin_left = 1304.0 +margin_top = 55.0 +margin_right = 1463.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Par8" type="Label" parent="Panel/GridContainer"] +margin_left = 1467.0 +margin_top = 55.0 +margin_right = 1626.0 +margin_bottom = 106.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="LabelHeader3" type="Label" parent="Panel/GridContainer"] +margin_top = 110.0 +margin_right = 159.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "Player" +align = 3 +valign = 3 +autowrap = true + +[node name="Player0" type="Label" parent="Panel/GridContainer"] +margin_left = 163.0 +margin_top = 110.0 +margin_right = 322.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Player1" type="Label" parent="Panel/GridContainer"] +margin_left = 326.0 +margin_top = 110.0 +margin_right = 485.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Player2" type="Label" parent="Panel/GridContainer"] +margin_left = 489.0 +margin_top = 110.0 +margin_right = 648.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Player3" type="Label" parent="Panel/GridContainer"] +margin_left = 652.0 +margin_top = 110.0 +margin_right = 811.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Player4" type="Label" parent="Panel/GridContainer"] +margin_left = 815.0 +margin_top = 110.0 +margin_right = 974.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Player5" type="Label" parent="Panel/GridContainer"] +margin_left = 978.0 +margin_top = 110.0 +margin_right = 1137.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Player6" type="Label" parent="Panel/GridContainer"] +margin_left = 1141.0 +margin_top = 110.0 +margin_right = 1300.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Player7" type="Label" parent="Panel/GridContainer"] +margin_left = 1304.0 +margin_top = 110.0 +margin_right = 1463.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true + +[node name="Player8" type="Label" parent="Panel/GridContainer"] +margin_left = 1467.0 +margin_top = 110.0 +margin_right = 1626.0 +margin_bottom = 161.0 +size_flags_horizontal = 3 +size_flags_vertical = 1 +size_flags_stretch_ratio = 20.0 +theme = ExtResource( 1 ) +text = "0" +align = 3 +valign = 3 +autowrap = true -- cgit