130 lines
3.5 KiB
Text
130 lines
3.5 KiB
Text
|
|
[gd_scene format=3 uid="uid://br3wpf7ntri03"]
|
||
|
|
|
||
|
|
[ext_resource type="FontFile" uid="uid://b74c848bvnbeh" path="res://Assets/Fonts/Modak-Regular.ttf" id="1_uicqr"]
|
||
|
|
[ext_resource type="Script" uid="uid://dx5br1462ckj5" path="res://Objects/floating_text.gd" id="2_2dget"]
|
||
|
|
|
||
|
|
[sub_resource type="LabelSettings" id="LabelSettings_2dget"]
|
||
|
|
font = ExtResource("1_uicqr")
|
||
|
|
font_size = 20
|
||
|
|
|
||
|
|
[sub_resource type="Animation" id="Animation_2dget"]
|
||
|
|
length = 0.001
|
||
|
|
tracks/0/type = "value"
|
||
|
|
tracks/0/imported = false
|
||
|
|
tracks/0/enabled = true
|
||
|
|
tracks/0/path = NodePath(".:position")
|
||
|
|
tracks/0/interp = 1
|
||
|
|
tracks/0/loop_wrap = true
|
||
|
|
tracks/0/keys = {
|
||
|
|
"times": PackedFloat32Array(0),
|
||
|
|
"transitions": PackedFloat32Array(1),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Vector2(0, 0)]
|
||
|
|
}
|
||
|
|
tracks/1/type = "value"
|
||
|
|
tracks/1/imported = false
|
||
|
|
tracks/1/enabled = true
|
||
|
|
tracks/1/path = NodePath(".:scale")
|
||
|
|
tracks/1/interp = 1
|
||
|
|
tracks/1/loop_wrap = true
|
||
|
|
tracks/1/keys = {
|
||
|
|
"times": PackedFloat32Array(0),
|
||
|
|
"transitions": PackedFloat32Array(1),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Vector2(1, 1)]
|
||
|
|
}
|
||
|
|
tracks/2/type = "value"
|
||
|
|
tracks/2/imported = false
|
||
|
|
tracks/2/enabled = true
|
||
|
|
tracks/2/path = NodePath(".:modulate")
|
||
|
|
tracks/2/interp = 1
|
||
|
|
tracks/2/loop_wrap = true
|
||
|
|
tracks/2/keys = {
|
||
|
|
"times": PackedFloat32Array(0),
|
||
|
|
"transitions": PackedFloat32Array(1),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Color(1, 1, 1, 1)]
|
||
|
|
}
|
||
|
|
|
||
|
|
[sub_resource type="Animation" id="Animation_3h7ba"]
|
||
|
|
resource_name = "in"
|
||
|
|
length = 0.3
|
||
|
|
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, 0.1, 0.3),
|
||
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Vector2(1, 1), Vector2(1.2, 1.2), Vector2(1, 1)]
|
||
|
|
}
|
||
|
|
|
||
|
|
[sub_resource type="Animation" id="Animation_qoh3s"]
|
||
|
|
resource_name = "out"
|
||
|
|
length = 0.5
|
||
|
|
tracks/0/type = "value"
|
||
|
|
tracks/0/imported = false
|
||
|
|
tracks/0/enabled = true
|
||
|
|
tracks/0/path = NodePath(".:position")
|
||
|
|
tracks/0/interp = 1
|
||
|
|
tracks/0/loop_wrap = true
|
||
|
|
tracks/0/keys = {
|
||
|
|
"times": PackedFloat32Array(0, 0.5),
|
||
|
|
"transitions": PackedFloat32Array(3.1383367, 0.124999955),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Vector2(0, 0), Vector2(0, -50)]
|
||
|
|
}
|
||
|
|
tracks/1/type = "value"
|
||
|
|
tracks/1/imported = false
|
||
|
|
tracks/1/enabled = true
|
||
|
|
tracks/1/path = NodePath(".:scale")
|
||
|
|
tracks/1/interp = 1
|
||
|
|
tracks/1/loop_wrap = true
|
||
|
|
tracks/1/keys = {
|
||
|
|
"times": PackedFloat32Array(0, 0.5),
|
||
|
|
"transitions": PackedFloat32Array(1, 1),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Vector2(1, 1), Vector2(0.5, 0.5)]
|
||
|
|
}
|
||
|
|
tracks/2/type = "value"
|
||
|
|
tracks/2/imported = false
|
||
|
|
tracks/2/enabled = true
|
||
|
|
tracks/2/path = NodePath(".:modulate")
|
||
|
|
tracks/2/interp = 1
|
||
|
|
tracks/2/loop_wrap = true
|
||
|
|
tracks/2/keys = {
|
||
|
|
"times": PackedFloat32Array(0, 0.3, 0.5),
|
||
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||
|
|
}
|
||
|
|
|
||
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_3h7ba"]
|
||
|
|
_data = {
|
||
|
|
&"RESET": SubResource("Animation_2dget"),
|
||
|
|
&"in": SubResource("Animation_3h7ba"),
|
||
|
|
&"out": SubResource("Animation_qoh3s")
|
||
|
|
}
|
||
|
|
|
||
|
|
[node name="FloatingText" type="Control" unique_id=1495993459]
|
||
|
|
layout_mode = 3
|
||
|
|
anchors_preset = 0
|
||
|
|
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||
|
|
script = ExtResource("2_2dget")
|
||
|
|
|
||
|
|
[node name="Label" type="Label" parent="." unique_id=222924785]
|
||
|
|
layout_mode = 0
|
||
|
|
offset_right = 31.0
|
||
|
|
offset_bottom = 31.0
|
||
|
|
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||
|
|
text = "100"
|
||
|
|
label_settings = SubResource("LabelSettings_2dget")
|
||
|
|
horizontal_alignment = 1
|
||
|
|
vertical_alignment = 1
|
||
|
|
|
||
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Label" unique_id=256124678]
|
||
|
|
libraries/ = SubResource("AnimationLibrary_3h7ba")
|