Flopsy/scenes/hud/hud.tscn

75 lines
2.0 KiB
Plaintext

[gd_scene load_steps=7 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]
[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="Key_Yellow" type="TextureRect" parent="HUD_Items/PlayerItems"]
margin_right = 43.0
margin_bottom = 39.0
texture = ExtResource( 4 )
[node name="SceneTransition" type="ColorRect" parent="."]
modulate = Color( 1, 1, 1, 0 )
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 )