1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-24 09:04:22 +00:00
hella-farm/scenes/game/gold_display.tscn

86 lines
2.3 KiB
Text
Raw Normal View History

2024-04-26 00:15:39 +00:00
[gd_scene load_steps=7 format=3 uid="uid://cu750c7yd57qa"]
2024-04-24 02:55:31 +00:00
2024-04-24 03:26:50 +00:00
[ext_resource type="Script" path="res://scenes/game/gold_display.gd" id="1_poqth"]
2024-04-24 02:55:31 +00:00
[sub_resource type="Animation" id="Animation_3gb4u"]
resource_name = "RESET"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1, 1)]
}
[sub_resource type="Animation" id="Animation_8n0bl"]
2024-04-26 00:15:39 +00:00
resource_name = "increase"
2024-04-24 02:55:31 +00:00
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
2024-04-24 03:26:50 +00:00
"values": [Vector2(1.4, 1.4), Vector2(1, 1)]
2024-04-24 02:55:31 +00:00
}
2024-04-26 00:15:39 +00:00
[sub_resource type="Animation" id="Animation_rd1cq"]
resource_name = "decrease"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0.6, 0.6), Vector2(1, 1)]
}
2024-04-24 02:55:31 +00:00
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bj0k7"]
_data = {
"RESET": SubResource("Animation_3gb4u"),
2024-04-26 00:15:39 +00:00
"decrease": SubResource("Animation_rd1cq"),
"increase": SubResource("Animation_8n0bl")
2024-04-24 02:55:31 +00:00
}
[sub_resource type="LabelSettings" id="LabelSettings_1jb4h"]
2024-04-24 02:56:44 +00:00
[node name="GoldDisplay" type="PanelContainer"]
2024-04-24 02:55:31 +00:00
offset_left = 16.0
offset_top = 24.0
offset_right = 56.0
offset_bottom = 51.0
2024-04-24 03:26:50 +00:00
script = ExtResource("1_poqth")
2024-04-24 02:55:31 +00:00
[node name="Animator" type="AnimationPlayer" parent="."]
unique_name_in_owner = true
libraries = {
"": SubResource("AnimationLibrary_bj0k7")
}
next/RESET = &"RESET"
[node name="Margin" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 2
theme_override_constants/margin_top = 2
theme_override_constants/margin_right = 2
theme_override_constants/margin_bottom = 2
[node name="Label" type="Label" parent="Margin"]
unique_name_in_owner = true
layout_mode = 2
text = "0 €"
label_settings = SubResource("LabelSettings_1jb4h")
horizontal_alignment = 2