You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
my-bricks/scenes/ui/hud.tscn

36 lines
861 B

[gd_scene load_steps=2 format=3 uid="uid://b0hud000001"]
[ext_resource type="Script" path="res://scripts/ui/hud.gd" id="1_hud"]
[node name="HUD" type="CanvasLayer"]
script = ExtResource("1_hud")
[node name="ScoreLabel" type="Label" parent="."]
offset_left = 20.0
offset_top = 20.0
offset_right = 300.0
offset_bottom = 60.0
text = "Score: 0"
[node name="LivesLabel" type="Label" parent="."]
offset_left = 1000.0
offset_top = 20.0
offset_right = 1260.0
offset_bottom = 60.0
text = "Lives: 3"
horizontal_alignment = 2
[node name="LivesContainer" type="HBoxContainer" parent="."]
offset_left = 900.0
offset_top = 60.0
offset_right = 1260.0
offset_bottom = 80.0
alignment = 2
[node name="MessageLabel" type="Label" parent="."]
offset_left = 0.0
offset_top = 340.0
offset_right = 1280.0
offset_bottom = 380.0
text = "按 空格 发球"
horizontal_alignment = 1