[gd_scene load_steps=7 format=3] [ext_resource type="Texture2D" path="res://assets/game/tilesets/kenney_tiles_atlas.png" id="1_atlas"] [ext_resource type="Texture2D" path="res://assets/game/collectibles/coin_gold_round.png" id="2_coin"] [ext_resource type="Script" path="res://scripts/hud.gd" id="3_hud"] [sub_resource type="AtlasTexture" id="AtlasTexture_heart_full"] atlas = ExtResource("1_atlas") region = Rect2(72, 36, 18, 18) [sub_resource type="AtlasTexture" id="AtlasTexture_heart_empty"] atlas = ExtResource("1_atlas") region = Rect2(108, 36, 18, 18) [sub_resource type="AtlasTexture" id="AtlasTexture_diamond"] atlas = ExtResource("1_atlas") region = Rect2(126, 54, 18, 18) [node name="HUD" type="CanvasLayer"] script = ExtResource("3_hud") full_heart_texture = SubResource("AtlasTexture_heart_full") empty_heart_texture = SubResource("AtlasTexture_heart_empty") [node name="Heart1" type="TextureRect" parent="."] offset_left = 8.0 offset_top = 6.0 offset_right = 26.0 offset_bottom = 24.0 texture = SubResource("AtlasTexture_heart_full") [node name="Heart2" type="TextureRect" parent="."] offset_left = 28.0 offset_top = 6.0 offset_right = 46.0 offset_bottom = 24.0 texture = SubResource("AtlasTexture_heart_full") [node name="Heart3" type="TextureRect" parent="."] offset_left = 48.0 offset_top = 6.0 offset_right = 66.0 offset_bottom = 24.0 texture = SubResource("AtlasTexture_heart_full") [node name="CoinIcon" type="TextureRect" parent="."] offset_left = 9.0 offset_top = 27.0 offset_right = 27.0 offset_bottom = 45.0 texture = ExtResource("2_coin") [node name="CountLabel" type="Label" parent="."] offset_left = 30.0 offset_top = 26.0 offset_right = 110.0 offset_bottom = 46.0 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_font_sizes/font_size = 12 text = "x0" [node name="DiamondIcon" type="TextureRect" parent="."] offset_left = 9.0 offset_top = 45.0 offset_right = 27.0 offset_bottom = 63.0 texture = SubResource("AtlasTexture_diamond") [node name="DiamondLabel" type="Label" parent="."] offset_left = 30.0 offset_top = 44.0 offset_right = 130.0 offset_bottom = 64.0 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_font_sizes/font_size = 12 text = "0 / 3" [node name="ShieldLabel" type="Label" parent="."] offset_left = 8.0 offset_top = 64.0 offset_right = 170.0 offset_bottom = 84.0 theme_override_colors/font_color = Color(0.55, 0.9, 1, 1) theme_override_font_sizes/font_size = 12 text = ""