Side-Scrolling-Shooter/Project/Scenes/heads_up_display.tscn
2025-04-15 11:58:44 -07:00

101 lines
3 KiB
Text

[gd_scene load_steps=9 format=3 uid="uid://b6gjwbfujf38y"]
[ext_resource type="Script" path="res://Scripts/heads_up_display.gd" id="1_u3slv"]
[ext_resource type="Texture2D" uid="uid://8s5wyy4abpnr" path="res://Textures/Hud.png" id="2_m85kq"]
[ext_resource type="Texture2D" uid="uid://cunprfaqhrw10" path="res://Textures/Hudfill.png" id="4_bo16e"]
[sub_resource type="LabelSettings" id="LabelSettings_kfuc0"]
font_size = 30
font_color = Color(0.73, 0.73, 0, 1)
outline_size = 1
outline_color = Color(0, 1, 0, 1)
shadow_color = Color(0, 0, 0, 1)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_rarxg"]
normal = Vector2(1, 0)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_cmc0f"]
normal = Vector2(0, 1)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_hgweh"]
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_qyvfk"]
normal = Vector2(-1, 0)
[node name="HeadsUpDisplay" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_u3slv")
[node name="Container" type="Control" parent="."]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="TextureRect" type="TextureRect" parent="Container"]
layout_mode = 0
offset_top = -28.0
offset_right = 1280.0
offset_bottom = 692.0
texture = ExtResource("2_m85kq")
expand_mode = 3
[node name="Sprite2D" type="Sprite2D" parent="Container"]
position = Vector2(135, 37)
scale = Vector2(0.0950521, 0.0962963)
texture = ExtResource("4_bo16e")
[node name="Sprite2D2" type="Sprite2D" parent="Container"]
position = Vector2(312, 37)
scale = Vector2(0.0950521, 0.0962963)
texture = ExtResource("4_bo16e")
[node name="Sprite2D3" type="Sprite2D" parent="Container"]
position = Vector2(488, 37)
scale = Vector2(0.0950521, 0.0962963)
texture = ExtResource("4_bo16e")
[node name="Label" type="Label" parent="Container"]
layout_mode = 0
offset_left = 712.0
offset_top = 18.0
offset_right = 1205.0
offset_bottom = 63.0
text = "1234567890"
label_settings = SubResource("LabelSettings_kfuc0")
horizontal_alignment = 2
uppercase = true
[node name="Wall" type="StaticBody2D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall"]
shape = SubResource("WorldBoundaryShape2D_rarxg")
[node name="Wall2" type="StaticBody2D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall2"]
shape = SubResource("WorldBoundaryShape2D_cmc0f")
[node name="Wall3" type="StaticBody2D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall3"]
position = Vector2(1280, 720)
shape = SubResource("WorldBoundaryShape2D_hgweh")
[node name="Wall4" type="StaticBody2D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall4"]
position = Vector2(1280, 720)
shape = SubResource("WorldBoundaryShape2D_qyvfk")