Fixed up some custom level menu stuff

This commit is contained in:
JHDev2006
2025-09-22 12:41:32 +01:00
parent 795f9be8c2
commit b6c97ffa1e
5 changed files with 41 additions and 17 deletions

View File

@@ -24,7 +24,6 @@ tracks/0/keys = {
[sub_resource type="Animation" id="Animation_a0wqs"]
resource_name = "Left"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
@@ -32,10 +31,10 @@ tracks/0/path = NodePath("Joint:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(-16, 0), Vector2(0, 0)]
"values": [Vector2(-16, 8), Vector2(8, 8)]
}
[sub_resource type="Animation" id="Animation_f1jdk"]
@@ -55,7 +54,6 @@ tracks/0/keys = {
[sub_resource type="Animation" id="Animation_6pkd4"]
resource_name = "Right"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
@@ -63,10 +61,10 @@ tracks/0/path = NodePath("Joint:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(16, 0), Vector2(0, 0)]
"values": [Vector2(16, 8), Vector2(-8, 8)]
}
[sub_resource type="Animation" id="Animation_amwyv"]
@@ -124,7 +122,7 @@ wait_time = 3.0
script = ExtResource("4_f1jdk")
properties = Array[String](["item", "direction"])
filters = Dictionary[String, String]({
"item": "can_be_stored"
"item": "can_be_dispensed"
})
[node name="Check" type="RayCast2D" parent="."]
@@ -132,4 +130,6 @@ target_position = Vector2(0, 16)
collision_mask = 6
hit_from_inside = true
[node name="VisibleOnScreenEnabler2D" type="VisibleOnScreenEnabler2D" parent="."]
[connection signal="timeout" from="Timer" to="." method="on_timeout"]