Unbork some very borked stuff

This commit is contained in:
2024-01-28 15:05:54 +01:00
parent 49562ba9ce
commit 258b6c7856
4 changed files with 78 additions and 56 deletions

View File

@@ -1,39 +1,52 @@
[gd_scene load_steps=9 format=3]
[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": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ) ],
[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",
"name": &"default",
"speed": 12.0
} ]
}]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 7.00912, 7.45768 )
[sub_resource type="RectangleShape2D" id="2"]
size = Vector2(14.0182, 14.9154)
[node name="Exit" type="Node2D"]
script = ExtResource( 1 )
[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
frames = SubResource( 1 )
sprite_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 )
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 )
color = Color(0.486275, 1, 0.25098, 1)
texture = ExtResource("6")