glitch-in-the-system/nodes/exit.tscn

53 lines
1.7 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://cahrkuao8ip70"]
[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="PackedScene" uid="uid://dnicfvo878on7" path="res://nodes/Victory.tscn" id="2_i8a2h"]
[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": [{
"duration": 1.0,
"texture": ExtResource("2")
}, {
"duration": 1.0,
"texture": ExtResource("3")
}, {
"duration": 1.0,
"texture": ExtResource("4")
}, {
"duration": 1.0,
"texture": ExtResource("5")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[sub_resource type="RectangleShape2D" id="2"]
size = Vector2(14.0182, 14.9154)
[node name="Exit" type="Node2D" node_paths=PackedStringArray("area")]
script = ExtResource("1")
area = NodePath("Area2D")
victory_scene = ExtResource("2_i8a2h")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
z_index = -1
sprite_frames = SubResource("1")
frame = 2
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(0, 0.5)
shape = SubResource("2")
[node name="PointLight2D" type="PointLight2D" parent="."]
color = Color(0.486275, 1, 0.25098, 1)
texture = ExtResource("6")