godot-shooter / meteor / files / HUD.tscn
Branch meteor · 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 | |
| 9 | tracks/0/type = "bezier" | |
| 10 | tracks/0/path = NodePath("Label:modulate:r") | |
| 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 = { | |
| 16 | "points": PoolRealArray( ), | |
| 17 | "times": PoolRealArray( ) | |
| 18 | } | |
| 19 | tracks/1/type = "bezier" | |
| 20 | tracks/1/path = NodePath("Label:modulate:g") | |
| 21 | tracks/1/interp = 1 | |
| 22 | tracks/1/loop_wrap = true | |
| 23 | tracks/1/imported = false | |
| 24 | tracks/1/enabled = true | |
| 25 | tracks/1/keys = { | |
| 26 | "points": PoolRealArray( ), | |
| 27 | "times": PoolRealArray( ) | |
| 28 | } | |
| 29 | tracks/2/type = "bezier" | |
| 30 | tracks/2/path = NodePath("Label:modulate:b") | |
| 31 | tracks/2/interp = 1 | |
| 32 | tracks/2/loop_wrap = true | |
| 33 | tracks/2/imported = false | |
| 34 | tracks/2/enabled = true | |
| 35 | tracks/2/keys = { | |
| 36 | "points": PoolRealArray( ), | |
| 37 | "times": PoolRealArray( ) | |
| 38 | } | |
| 39 | tracks/3/type = "bezier" | |
| 40 | tracks/3/path = NodePath("Label:modulate:a") | |
| 41 | tracks/3/interp = 1 | |
| 42 | tracks/3/loop_wrap = true | |
| 43 | tracks/3/imported = false | |
| 44 | tracks/3/enabled = true | |
| 45 | tracks/3/keys = { | |
| 46 | "points": PoolRealArray( 1, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0 ), | |
| 47 | "times": PoolRealArray( 0, 3 ) | |
| 48 | } | |
5b18ed86 2023-11-01 Pavel Safronov | 49 | |
| 50 | [node name="HUD" type="Control"] | |
| 51 | anchor_right = 1.0 | |
| 52 | anchor_bottom = 1.0 | |
d5d1043b 2023-11-02 Pavel Safronov | 53 | theme = ExtResource( 1 ) |
5b18ed86 2023-11-01 Pavel Safronov | 54 | script = ExtResource( 2 ) |
| 55 | ||
d5d1043b 2023-11-02 Pavel Safronov | 56 | [node name="VBoxContainer" type="VBoxContainer" parent="."] |
| 57 | margin_right = 40.0 | |
| 58 | margin_bottom = 40.0 | |
| 59 | ||
52220002 2023-11-06 Pavel Safronov | 60 | [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"] |
8c2ffd3f 2023-11-02 Pavel Safronov | 61 | margin_right = 617.0 |
748f09d4 2023-11-02 Pavel Safronov | 62 | margin_bottom = 74.0 |
8c2ffd3f 2023-11-02 Pavel Safronov | 63 | |
52220002 2023-11-06 Pavel Safronov | 64 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HBoxContainer2"] |
| 65 | margin_right = 278.0 | |
| 66 | margin_bottom = 74.0 | |
| 67 | ||
| 68 | [node name="ScoreText" type="Label" parent="VBoxContainer/HBoxContainer2/HBoxContainer"] | |
1e610e5d 2023-11-02 Pavel Safronov | 69 | margin_right = 192.0 |
| 70 | margin_bottom = 74.0 | |
5b18ed86 2023-11-01 Pavel Safronov | 71 | text = "Score: " |
| 72 | ||
52220002 2023-11-06 Pavel Safronov | 73 | [node name="Score" type="Label" parent="VBoxContainer/HBoxContainer2/HBoxContainer"] |
1e610e5d 2023-11-02 Pavel Safronov | 74 | margin_left = 196.0 |
| 75 | margin_right = 278.0 | |
| 76 | margin_bottom = 74.0 | |
5b18ed86 2023-11-01 Pavel Safronov | 77 | text = "100" |
| 78 | uppercase = true | |
d5d1043b 2023-11-02 Pavel Safronov | 79 | |
| 80 | [node name="CenterContainer" type="CenterContainer" parent="VBoxContainer"] | |
748f09d4 2023-11-02 Pavel Safronov | 81 | margin_top = 78.0 |
1e610e5d 2023-11-02 Pavel Safronov | 82 | margin_right = 617.0 |
748f09d4 2023-11-02 Pavel Safronov | 83 | margin_bottom = 152.0 |
8c2ffd3f 2023-11-02 Pavel Safronov | 84 | theme = ExtResource( 1 ) |
d5d1043b 2023-11-02 Pavel Safronov | 85 | |
| 86 | [node name="Label" type="Label" parent="VBoxContainer/CenterContainer"] | |
8c2ffd3f 2023-11-02 Pavel Safronov | 87 | modulate = Color( 1, 1, 1, 0 ) |
1e610e5d 2023-11-02 Pavel Safronov | 88 | margin_right = 617.0 |
| 89 | margin_bottom = 74.0 | |
d5d1043b 2023-11-02 Pavel Safronov | 90 | theme = ExtResource( 1 ) |
| 91 | text = "Tap anywhere to travel" | |
| 92 | align = 1 | |
| 93 | valign = 1 | |
| 94 | ||
| 95 | [node name="AnimationPlayer" type="AnimationPlayer" parent="."] | |
| 96 | root_node = NodePath("../VBoxContainer/CenterContainer") | |
| 97 | "anims/instructions fade" = SubResource( 1 ) |