Flopsy/objects/lift/lift.tscn
2022-07-17 14:24:15 +02:00

36 lines
1.1 KiB
Text

[gd_scene load_steps=7 format=2]
[ext_resource path="res://objects/lift/assets/lift_grass_3.png" type="Texture" id=1]
[ext_resource path="res://objects/lift/assets/lift_grass_2.png" type="Texture" id=2]
[ext_resource path="res://objects/lift/assets/lift_grass_1.png" type="Texture" id=3]
[ext_resource path="res://objects/lift/lift.gd" type="Script" id=4]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 3 ), ExtResource( 2 ), ExtResource( 1 ), ExtResource( 2 ) ],
"loop": true,
"name": "default",
"speed": 10.0
} ]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 190, 47 )
[node name="Lift" type="ReferenceRect"]
margin_right = 380.0
margin_bottom = 300.0
border_width = 4.0
script = ExtResource( 4 )
[node name="Lifter" type="StaticBody2D" parent="."]
position = Vector2( 190, 199 )
collision_layer = 4
collision_mask = 0
[node name="Sprite" type="AnimatedSprite" parent="Lifter"]
frames = SubResource( 1 )
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lifter"]
position = Vector2( 0, -53 )
shape = SubResource( 2 )