mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-22 16:14:22 +00:00
70 lines
1.8 KiB
Text
70 lines
1.8 KiB
Text
|
[gd_scene load_steps=6 format=3 uid="uid://cu750c7yd57qa"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scenes/game/gold_counter.gd" id="1_koxhc"]
|
||
|
|
||
|
[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 = "collect"
|
||
|
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.5, 1.5), Vector2(1, 1)]
|
||
|
}
|
||
|
|
||
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bj0k7"]
|
||
|
_data = {
|
||
|
"RESET": SubResource("Animation_3gb4u"),
|
||
|
"collect": SubResource("Animation_8n0bl")
|
||
|
}
|
||
|
|
||
|
[sub_resource type="LabelSettings" id="LabelSettings_1jb4h"]
|
||
|
|
||
|
[node name="GoldCounter" type="PanelContainer"]
|
||
|
offset_left = 16.0
|
||
|
offset_top = 24.0
|
||
|
offset_right = 56.0
|
||
|
offset_bottom = 51.0
|
||
|
script = ExtResource("1_koxhc")
|
||
|
|
||
|
[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
|