godot-shooter / change-html-template / files / HUD.tscn
Branch change-html-template · default branch · all branches
HUD.tscn
d5d1043b 2023-11-02 Pavel Safronov | 1 | [gd_scene load_steps=4 format=2] |
5b18ed86 2023-11-01 Pavel Safronov | 2 | |
d5d1043b 2023-11-02 Pavel Safronov | 3 | [ext_resource path="res://Theme.tres" type="Theme" id=1] |
5b18ed86 2023-11-01 Pavel Safronov | 4 | [ext_resource path="res://HUD.gd" type="Script" id=2] |
| 5 | ||
d5d1043b 2023-11-02 Pavel Safronov | 6 | [sub_resource type="Animation" id=1] |
| 7 | resource_name = "instructions fade" | |
| 8 | length = 6.0 | |
610a86be 2023-11-06 Pavel Safronov | 9 | tracks/0/type = "value" |
| 10 | tracks/0/path = NodePath("Label:modulate") | |
d5d1043b 2023-11-02 Pavel Safronov | 11 | tracks/0/interp = 1 |
| 12 | tracks/0/loop_wrap = true | |
| 13 | tracks/0/imported = false | |
| 14 | tracks/0/enabled = true | |
| 15 | tracks/0/keys = { | |
610a86be 2023-11-06 Pavel Safronov | 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 ) ] | |
d5d1043b 2023-11-02 Pavel Safronov | 20 | } |
5b18ed86 2023-11-01 Pavel Safronov | 21 | |
| 22 | [node name="HUD" type="Control"] | |
| 23 | anchor_right = 1.0 | |
| 24 | anchor_bottom = 1.0 | |
d5d1043b 2023-11-02 Pavel Safronov | 25 | theme = ExtResource( 1 ) |
5b18ed86 2023-11-01 Pavel Safronov | 26 | script = ExtResource( 2 ) |
| 27 | ||
d5d1043b 2023-11-02 Pavel Safronov | 28 | [node name="VBoxContainer" type="VBoxContainer" parent="."] |
| 29 | margin_right = 40.0 | |
| 30 | margin_bottom = 40.0 | |
| 31 | ||
610a86be 2023-11-06 Pavel Safronov | 32 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] |
e2c013d8 2023-11-07 Pavel Safronov | 33 | margin_right = 329.0 |
748f09d4 2023-11-02 Pavel Safronov | 34 | margin_bottom = 74.0 |
8c2ffd3f 2023-11-02 Pavel Safronov | 35 | |
610a86be 2023-11-06 Pavel Safronov | 36 | [node name="ScoreText" type="Label" parent="VBoxContainer/HBoxContainer"] |
1e610e5d 2023-11-02 Pavel Safronov | 37 | margin_right = 192.0 |
| 38 | margin_bottom = 74.0 | |
5b18ed86 2023-11-01 Pavel Safronov | 39 | text = "Score: " |
| 40 | ||
610a86be 2023-11-06 Pavel Safronov | 41 | [node name="Score" type="Label" parent="VBoxContainer/HBoxContainer"] |
1e610e5d 2023-11-02 Pavel Safronov | 42 | margin_left = 196.0 |
| 43 | margin_right = 278.0 | |
| 44 | margin_bottom = 74.0 | |
5b18ed86 2023-11-01 Pavel Safronov | 45 | text = "100" |
| 46 | uppercase = true | |
d5d1043b 2023-11-02 Pavel Safronov | 47 | |
| 48 | [node name="CenterContainer" type="CenterContainer" parent="VBoxContainer"] | |
748f09d4 2023-11-02 Pavel Safronov | 49 | margin_top = 78.0 |
e2c013d8 2023-11-07 Pavel Safronov | 50 | margin_right = 329.0 |
748f09d4 2023-11-02 Pavel Safronov | 51 | margin_bottom = 152.0 |
8c2ffd3f 2023-11-02 Pavel Safronov | 52 | theme = ExtResource( 1 ) |
d5d1043b 2023-11-02 Pavel Safronov | 53 | |
| 54 | [node name="Label" type="Label" parent="VBoxContainer/CenterContainer"] | |
e2c013d8 2023-11-07 Pavel Safronov | 55 | margin_right = 329.0 |
1e610e5d 2023-11-02 Pavel Safronov | 56 | margin_bottom = 74.0 |
d5d1043b 2023-11-02 Pavel Safronov | 57 | theme = ExtResource( 1 ) |
e2c013d8 2023-11-07 Pavel Safronov | 58 | text = "Tap to move" |
d5d1043b 2023-11-02 Pavel Safronov | 59 | align = 1 |
| 60 | valign = 1 | |
| 61 | ||
| 62 | [node name="AnimationPlayer" type="AnimationPlayer" parent="."] | |
| 63 | root_node = NodePath("../VBoxContainer/CenterContainer") | |
| 64 | "anims/instructions fade" = SubResource( 1 ) |