mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-24 09:04:22 +00:00
85 lines
2.3 KiB
Text
85 lines
2.3 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://cu750c7yd57qa"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/game/gold_display.gd" id="1_poqth"]
|
|
|
|
[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"]
|
|
resource_name = "increase"
|
|
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(1.4, 1.4), Vector2(1, 1)]
|
|
}
|
|
|
|
[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)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bj0k7"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_3gb4u"),
|
|
"decrease": SubResource("Animation_rd1cq"),
|
|
"increase": SubResource("Animation_8n0bl")
|
|
}
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_1jb4h"]
|
|
|
|
[node name="GoldDisplay" type="PanelContainer"]
|
|
offset_left = 16.0
|
|
offset_top = 24.0
|
|
offset_right = 56.0
|
|
offset_bottom = 51.0
|
|
script = ExtResource("1_poqth")
|
|
|
|
[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
|