online multiplayer chess game (note server currently down)
make pieces clickable again
| -rw-r--r-- | ui/BottomLeftLabel.tscn | 11 | ||||
| -rw-r--r-- | ui/TopRightLabel.tscn | 11 |
2 files changed, 16 insertions, 6 deletions
diff --git a/ui/BottomLeftLabel.tscn b/ui/BottomLeftLabel.tscn index 27bd9a7..f8b2c2d 100644 --- a/ui/BottomLeftLabel.tscn +++ b/ui/BottomLeftLabel.tscn @@ -1,10 +1,15 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=3 format=2] -[ext_resource path="res://ui/verdana.tres" type="DynamicFont" id=1] +[ext_resource path="res://assets/ui/verdana-bold.ttf" type="DynamicFontData" id=1] + +[sub_resource type="DynamicFont" id=1] +size = 15 +font_data = ExtResource( 1 ) [node name="LabelsBottomLeft" type="Control"] margin_right = 40.0 margin_bottom = 40.0 +mouse_filter = 2 [node name="Label" type="Label" parent="."] anchor_top = 1.0 @@ -13,6 +18,6 @@ margin_left = 8.0 margin_top = -32.0 margin_right = 40.0 margin_bottom = -8.0 -custom_fonts/font = ExtResource( 1 ) +custom_fonts/font = SubResource( 1 ) text = "b3" valign = 1 diff --git a/ui/TopRightLabel.tscn b/ui/TopRightLabel.tscn index 8f3918f..3e78fe7 100644 --- a/ui/TopRightLabel.tscn +++ b/ui/TopRightLabel.tscn @@ -1,10 +1,15 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=3 format=2] -[ext_resource path="res://ui/verdana.tres" type="DynamicFont" id=1] +[ext_resource path="res://assets/ui/verdana-bold.ttf" type="DynamicFontData" id=1] + +[sub_resource type="DynamicFont" id=1] +size = 15 +font_data = ExtResource( 1 ) [node name="LabelsTopRight" type="Control"] margin_right = 40.0 margin_bottom = 40.0 +mouse_filter = 2 [node name="Label" type="Label" parent="."] anchor_left = 1.0 @@ -13,7 +18,7 @@ margin_left = -40.0 margin_top = 8.0 margin_right = -8.0 margin_bottom = 32.0 -custom_fonts/font = ExtResource( 1 ) +custom_fonts/font = SubResource( 1 ) text = "b3" align = 2 valign = 1 |