fruit-jump/platform.tscn
2025-02-10 17:00:17 +01:00

78 lines
2.5 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://c45w5pdpcytab"]
[ext_resource type="Script" path="res://platform.gd" id="1_tbu0m"]
[sub_resource type="Curve2D" id="Curve2D_5hyar"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 328, -75.1999, 0, 0, 0, 0, 371.2, -17.5999, 0, 0, 0, 0, 102.4, -51.1999, 0, 0, 0, 0, 209.6, -126.4, 0, 0, 0, 0, -20.8004, 12.8001, 0, 0, 0, 0, -52, 12, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 79, -6, 0, 0, 0, 0, 105, -17, 0, 0, 0, 0, 115, -41, 0, 0, 0, 0, 89.6475, -13.114, 0, 0, 0, 0, 62.4473, 73.286, 0, 0, 0, 0, 16.0474, 57.286, 0, 0, 0, 0, -35.1523, 42.886, 0, 0, 0, 0, -19.1523, 49.286, 0, 0, 0, 0, 12.8477, 60.486)
}
point_count = 16
[sub_resource type="RectangleShape2D" id="RectangleShape2D_re4lx"]
[sub_resource type="Animation" id="Animation_wd668"]
loop_mode = 2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("..:progress_ratio")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.966667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
[sub_resource type="Animation" id="Animation_sbgkg"]
resource_name = "new_animation"
loop_mode = 2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("..:progress_ratio")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.933333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bujqn"]
_data = {
"RESET": SubResource("Animation_wd668"),
"new_animation": SubResource("Animation_sbgkg")
}
[node name="platform" type="Path2D"]
curve = SubResource("Curve2D_5hyar")
script = ExtResource("1_tbu0m")
[node name="AnimatableBody2D" type="AnimatableBody2D" parent="."]
position = Vector2(324.766, -33.3747)
rotation = -3.01724
[node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatableBody2D"]
position = Vector2(-0.571911, -11.0963)
rotation = -0.442374
shape = SubResource("RectangleShape2D_re4lx")
[node name="PathFollow2D" type="PathFollow2D" parent="."]
position = Vector2(325.993, -23.2508)
rotation = -3.01724
progress = 117.394
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="PathFollow2D"]
position = Vector2(2.47339, 9.89355)
remote_path = NodePath("../../AnimatableBody2D")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../PathFollow2D/RemoteTransform2D")
libraries = {
"": SubResource("AnimationLibrary_bujqn")
}
autoplay = "new_animation"