godot-shooter / change-html-template / files / HUD.tscn
Branch change-html-template · default branch · all branches
HUD.tscn
| 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] |
| 7 | resource_name = "instructions fade" |
| 8 | length = 6.0 |
| 9 | tracks/0/type = "value" |
| 10 | tracks/0/path = NodePath("Label:modulate") |
| 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 | "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"] |
| 23 | anchor_right = 1.0 |
| 24 | anchor_bottom = 1.0 |
| 25 | theme = ExtResource( 1 ) |
| 26 | script = ExtResource( 2 ) |
| 27 | |
| 28 | [node name="VBoxContainer" type="VBoxContainer" parent="."] |
| 29 | margin_right = 40.0 |
| 30 | margin_bottom = 40.0 |
| 31 | |
| 32 | [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] |
| 33 | margin_right = 329.0 |
| 34 | margin_bottom = 74.0 |
| 35 | |
| 36 | [node name="ScoreText" type="Label" parent="VBoxContainer/HBoxContainer"] |
| 37 | margin_right = 192.0 |
| 38 | margin_bottom = 74.0 |
| 39 | text = "Score: " |
| 40 | |
| 41 | [node name="Score" type="Label" parent="VBoxContainer/HBoxContainer"] |
| 42 | margin_left = 196.0 |
| 43 | margin_right = 278.0 |
| 44 | margin_bottom = 74.0 |
| 45 | text = "100" |
| 46 | uppercase = true |
| 47 | |
| 48 | [node name="CenterContainer" type="CenterContainer" parent="VBoxContainer"] |
| 49 | margin_top = 78.0 |
| 50 | margin_right = 329.0 |
| 51 | margin_bottom = 152.0 |
| 52 | theme = ExtResource( 1 ) |
| 53 | |
| 54 | [node name="Label" type="Label" parent="VBoxContainer/CenterContainer"] |
| 55 | margin_right = 329.0 |
| 56 | margin_bottom = 74.0 |
| 57 | theme = ExtResource( 1 ) |
| 58 | text = "Tap to move" |
| 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 ) |