[gd_scene load_steps=5 format=2]

[ext_resource path="res://assets/contraption/FlyingPlatformClean.png" type="Texture" id=1]
[ext_resource path="res://src/Platforms/FlyingPlatform.gd" type="Script" id=2]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 24, 6 )

[sub_resource type="Animation" id=2]
resource_name = "Horizontal"
length = 6.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("KinematicBody2D:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 3 ),
"transitions": PoolRealArray( 1.33, 1.33 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 84, 0 ) ]
}

[node name="FlyingPlatformClean" type="Node2D"]
script = ExtResource( 2 )

[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
collision_layer = 16
collision_mask = 0
motion/sync_to_physics = true

[node name="Sprite" type="Sprite" parent="KinematicBody2D"]
texture = ExtResource( 1 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
shape = SubResource( 1 )

[node name="anim" type="AnimationPlayer" parent="."]
pause_mode = 2
playback_process_mode = 0
anims/Horizontal = SubResource( 2 )
