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