Flopsy/objects/hlift/hlift.tscn

54 lines
1.5 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://objects/hlift/hlift.gd" type="Script" 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/hlift/assets/lift.svg" type="Texture" id=4]
[ext_resource path="res://objects/lift/assets/fire3.svg" type="Texture" id=5]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 140, 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 = 910.0
margin_bottom = 105.0
border_width = 4.0
script = ExtResource( 1 )
[node name="Lifter" type="StaticBody2D" parent="."]
position = Vector2( 175, 210 )
collision_layer = 4
collision_mask = 0
[node name="Sprite" type="Sprite" parent="Lifter"]
position = Vector2( 55, -164 )
texture = ExtResource( 4 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lifter"]
position = Vector2( 55, -164 )
shape = SubResource( 2 )
[node name="FireLeft" type="AnimatedSprite" parent="Lifter"]
position = Vector2( -120, -164 )
rotation = 1.5708
frames = SubResource( 3 )
frame = 3
playing = true
offset = Vector2( 0, 25 )
[node name="FireRight" type="AnimatedSprite" parent="Lifter"]
position = Vector2( 230, -164 )
rotation = -1.5708
frames = SubResource( 3 )
frame = 1
playing = true
offset = Vector2( 0, 25 )