77 lines
2.3 KiB
Plaintext
77 lines
2.3 KiB
Plaintext
[gd_scene format=3 uid="uid://dm5jnsovjc4n3"]
|
|
|
|
[ext_resource type="Script" uid="uid://bd12rmbsx165" path="res://menu_button.gd" id="1_xkiaj"]
|
|
[ext_resource type="PackedScene" uid="uid://dd2hhxsy2tyrg" path="res://levels/level_1/level_1.tscn" id="2_fr6dv"]
|
|
|
|
[sub_resource type="Animation" id="Animation_cn3gd"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:offset_transform_rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:offset_transform_position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_fr6dv"]
|
|
resource_name = "wiggle"
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:offset_transform_rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3, 0.6666667, 1),
|
|
"transitions": PackedFloat32Array(1, 1.8025011, 3.605001, 3.0314324),
|
|
"update": 0,
|
|
"values": [0.0, 0.05235987755982989, -0.05235987755982989, 0.0]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:offset_transform_position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.3, 0.6666667, 1),
|
|
"transitions": PackedFloat32Array(1, 2.3784142, 3.605001, 3.0314324),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0), Vector2(2.355, 2.085), Vector2(-2, -2.77), Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cn3gd"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_cn3gd"),
|
|
&"wiggle": SubResource("Animation_fr6dv")
|
|
}
|
|
|
|
[node name="MyMenuButton" type="Button" unique_id=785167230]
|
|
custom_minimum_size = Vector2(64, 64)
|
|
offset_transform_enabled = true
|
|
text = "1"
|
|
script = ExtResource("1_xkiaj")
|
|
level = ExtResource("2_fr6dv")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1255510199]
|
|
unique_name_in_owner = true
|
|
libraries/ = SubResource("AnimationLibrary_cn3gd")
|