Flopsy/objects/lift/lift.tscn

44 lines
1.3 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://objects/lift/assets/lift.svg" type="Texture" id=1]
[ext_resource path="res://objects/lift/assets/fire2.svg" type="Texture" id=2]
[ext_resource path="res://objects/lift/assets/fire1.svg" type="Texture" id=3]
[ext_resource path="res://objects/lift/lift.gd" type="Script" id=4]
[ext_resource path="res://objects/lift/assets/fire3.svg" type="Texture" id=5]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 105, 35 )
[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ ExtResource( 3 ), ExtResource( 2 ), ExtResource( 5 ), ExtResource( 2 ) ],
"loop": true,
"name": "default",
"speed": 10.0
} ]
[node name="Lift" type="ReferenceRect"]
margin_right = 210.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="Sprite" parent="Lifter"]
position = Vector2( -85, -131 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lifter"]
position = Vector2( -85, -166 )
shape = SubResource( 2 )
[node name="Fire" type="AnimatedSprite" parent="Lifter"]
position = Vector2( -85, -34 )
frames = SubResource( 3 )
frame = 3
playing = true