[gd_scene load_steps=11 format=2] [ext_resource path="res://common/fonts/DSEG14Classic-Bold.ttf" type="DynamicFontData" id=1] [ext_resource path="res://scenes/hud/hud.gd" type="Script" id=2] [ext_resource path="res://objects/coin/assets/gold_1.png" type="Texture" id=3] [ext_resource path="res://scenes/hud/assets/key_yellow.svg" type="Texture" id=4] [ext_resource path="res://scenes/hud/assets/key_green.svg" type="Texture" id=5] [ext_resource path="res://scenes/hud/assets/key_red.svg" type="Texture" id=6] [ext_resource path="res://scenes/hud/assets/key_blue.svg" type="Texture" id=7] [ext_resource path="res://scenes/hud/assets/health.svg" type="Texture" id=8] [sub_resource type="DynamicFont" id=1] size = 64 font_data = ExtResource( 1 ) [sub_resource type="Animation" id=2] resource_name = "Fade" length = 0.5 tracks/0/type = "value" tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.5 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] } [node name="HUD" type="CanvasLayer"] layer = 128 script = ExtResource( 2 ) [node name="HUD_Items" type="ReferenceRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 [node name="ScoreLabel" type="Label" parent="HUD_Items"] anchor_right = 1.0 margin_left = 1848.0 margin_top = 20.0 margin_right = -20.0 margin_bottom = 84.0 grow_horizontal = 0 custom_colors/font_color = Color( 0.294118, 0.294118, 0.294118, 1 ) custom_fonts/font = SubResource( 1 ) text = "0" align = 2 [node name="TextureRect" type="TextureRect" parent="HUD_Items/ScoreLabel"] margin_left = -70.0 margin_top = 4.0 margin_right = 14.0 margin_bottom = 88.0 rect_scale = Vector2( 0.7, 0.7 ) texture = ExtResource( 3 ) [node name="PlayerItems" type="HBoxContainer" parent="HUD_Items"] margin_left = 20.0 margin_top = 20.0 margin_right = 40.0 margin_bottom = 40.0 [node name="health33" type="TextureRect" parent="HUD_Items/PlayerItems"] margin_right = 51.0 margin_bottom = 45.0 texture = ExtResource( 8 ) [node name="health66" type="TextureRect" parent="HUD_Items/PlayerItems"] margin_left = 55.0 margin_right = 106.0 margin_bottom = 45.0 texture = ExtResource( 8 ) [node name="health99" type="TextureRect" parent="HUD_Items/PlayerItems"] margin_left = 110.0 margin_right = 161.0 margin_bottom = 45.0 texture = ExtResource( 8 ) [node name="Key_Yellow" type="TextureRect" parent="HUD_Items/PlayerItems"] margin_left = 165.0 margin_right = 208.0 margin_bottom = 45.0 texture = ExtResource( 4 ) [node name="Key_Green" type="TextureRect" parent="HUD_Items/PlayerItems"] margin_left = 212.0 margin_right = 255.0 margin_bottom = 45.0 texture = ExtResource( 5 ) [node name="Key_Red" type="TextureRect" parent="HUD_Items/PlayerItems"] margin_left = 259.0 margin_right = 302.0 margin_bottom = 45.0 texture = ExtResource( 6 ) [node name="Key_Blue" type="TextureRect" parent="HUD_Items/PlayerItems"] margin_left = 306.0 margin_right = 349.0 margin_bottom = 45.0 texture = ExtResource( 7 ) [node name="SceneTransition" type="ColorRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 color = Color( 0, 0, 0, 1 ) [node name="Animation" type="AnimationPlayer" parent="SceneTransition"] anims/Fade = SubResource( 2 )