fuzzyworld

godot-shooter / change-html-template / files / HUD.tscn

Branch change-html-template · default branch · all branches

HUD.tscn

1.7 KB · history · blame

1[gd_scene load_steps=4 format=2]
2
3[ext_resource path="res://Theme.tres" type="Theme" id=1]
4[ext_resource path="res://HUD.gd" type="Script" id=2]
5
6[sub_resource type="Animation" id=1]
7resource_name = "instructions fade"
8length = 6.0
9tracks/0/type = "value"
10tracks/0/path = NodePath("Label:modulate")
11tracks/0/interp = 1
12tracks/0/loop_wrap = true
13tracks/0/imported = false
14tracks/0/enabled = true
15tracks/0/keys = {
16"times": PoolRealArray( 0, 6 ),
17"transitions": PoolRealArray( 1, 1 ),
18"update": 0,
19"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
20}
21
22[node name="HUD" type="Control"]
23anchor_right = 1.0
24anchor_bottom = 1.0
25theme = ExtResource( 1 )
26script = ExtResource( 2 )
27
28[node name="VBoxContainer" type="VBoxContainer" parent="."]
29margin_right = 40.0
30margin_bottom = 40.0
31
32[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
33margin_right = 329.0
34margin_bottom = 74.0
35
36[node name="ScoreText" type="Label" parent="VBoxContainer/HBoxContainer"]
37margin_right = 192.0
38margin_bottom = 74.0
39text = "Score: "
40
41[node name="Score" type="Label" parent="VBoxContainer/HBoxContainer"]
42margin_left = 196.0
43margin_right = 278.0
44margin_bottom = 74.0
45text = "100"
46uppercase = true
47
48[node name="CenterContainer" type="CenterContainer" parent="VBoxContainer"]
49margin_top = 78.0
50margin_right = 329.0
51margin_bottom = 152.0
52theme = ExtResource( 1 )
53
54[node name="Label" type="Label" parent="VBoxContainer/CenterContainer"]
55margin_right = 329.0
56margin_bottom = 74.0
57theme = ExtResource( 1 )
58text = "Tap to move"
59align = 1
60valign = 1
61
62[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
63root_node = NodePath("../VBoxContainer/CenterContainer")
64"anims/instructions fade" = SubResource( 1 )