86 lines
2.4 KiB
Plaintext
86 lines
2.4 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bvn25sn10au02"]
|
|
|
|
[ext_resource type="Script" path="res://Scenes/FlaskContent.cs" id="1_4wcwd"]
|
|
|
|
[sub_resource type="Animation" id="Animation_04bwn"]
|
|
resource_name = "HeightChange"
|
|
length = 0.5
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:size")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.4995),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(128, 4), Vector2(128, 4)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_itbox"]
|
|
resource_name = "MouseEntered"
|
|
length = 0.15
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Bar:size")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.1332),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(150, 2), Vector2(170, 2)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_qjpxn"]
|
|
resource_name = "PositionChange"
|
|
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.4995),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0), Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5ty26"]
|
|
_data = {
|
|
"HeightChange": SubResource("Animation_04bwn"),
|
|
"MouseEntered": SubResource("Animation_itbox"),
|
|
"PositionChange": SubResource("Animation_qjpxn")
|
|
}
|
|
|
|
[node name="FlaskContent" type="ColorRect"]
|
|
custom_minimum_size = Vector2(128, 0)
|
|
offset_right = 128.0
|
|
offset_bottom = 4.0
|
|
script = ExtResource("1_4wcwd")
|
|
|
|
[node name="Bar" type="ColorRect" parent="."]
|
|
layout_mode = 0
|
|
offset_right = 170.0
|
|
offset_bottom = 2.0
|
|
color = Color(0.160784, 0, 0, 0.701961)
|
|
|
|
[node name="AP" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_5ty26")
|
|
}
|
|
|
|
[node name="Mask" type="TextureButton" parent="."]
|
|
layout_mode = 0
|
|
offset_right = 128.0
|
|
offset_bottom = 4.0
|
|
|
|
[connection signal="resized" from="." to="." method="OnSizeChange"]
|
|
[connection signal="mouse_entered" from="Mask" to="." method="OnMouseEnter"]
|
|
[connection signal="mouse_exited" from="Mask" to="." method="OnMouseExit"]
|
|
[connection signal="pressed" from="Mask" to="." method="OnClick"]
|