40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
[gd_scene load_steps=9 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/Exit.gd" id="1"]
|
|
[ext_resource type="Texture2D" uid="uid://mn17ql7wilx3" path="res://assets/art/Exit/Exit1.png" id="2"]
|
|
[ext_resource type="Texture2D" uid="uid://ca3q21m0btdrl" path="res://assets/art/Exit/Exit2.png" id="3"]
|
|
[ext_resource type="Texture2D" uid="uid://cbft4yscrmjw5" path="res://assets/art/Exit/Exit3.png" id="4"]
|
|
[ext_resource type="Texture2D" uid="uid://8nubee34g3bl" path="res://assets/art/Exit/Exit4.png" id="5"]
|
|
[ext_resource type="Texture2D" uid="uid://df3auvg5myvws" path="res://assets/art/light.png" id="6"]
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
animations = [ {
|
|
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 12.0
|
|
} ]
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 7.00912, 7.45768 )
|
|
|
|
[node name="Exit" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
z_index = -1
|
|
frames = SubResource( 1 )
|
|
frame = 2
|
|
playing = true
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
editor/display_folded = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2( 0, 0.5 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="PointLight2D" type="PointLight2D" parent="."]
|
|
texture = ExtResource( 6 )
|
|
color = Color( 0.486275, 1, 0.25098, 1 )
|