[gd_scene format=3 uid="uid://cr72q4uij4dee"] [ext_resource type="Script" uid="uid://dp8e0btv8lktd" path="res://scenes/enemy_mirror.gd" id="1_ucqiy"] [ext_resource type="Script" uid="uid://dno2nntxrik2j" path="res://scenes/sink.gd" id="2_alyar"] [ext_resource type="Texture2D" uid="uid://bs5540jcnaf7o" path="res://sprites/sink_and_mirror.png" id="2_il73p"] [ext_resource type="AudioStream" uid="uid://cq7lebefb2e05" path="res://sounds/web_ready/CRT_IMPACT.mp3" id="4_alyar"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_tcthq"] size = Vector2(26, 18) [sub_resource type="Animation" id="Animation_515op"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("..:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(0, 0)] } [sub_resource type="Animation" id="Animation_52i7y"] resource_name = "travel" length = 8.0 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("..:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1.9666667, 4, 6.0333333, 8.033334), "transitions": PackedFloat32Array(1, 1, 1, 1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(88, 0), Vector2(0, 0), Vector2(-88, 0), Vector2(0, 0)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_uxg4c"] _data = { &"RESET": SubResource("Animation_515op"), &"travel": SubResource("Animation_52i7y") } [node name="EnemyMirror" type="Node2D" unique_id=1897558241] z_index = -1 script = ExtResource("1_ucqiy") [node name="Sink" type="Area2D" parent="." unique_id=767161856 groups=["enemies"]] script = ExtResource("2_alyar") [node name="Sprite" type="Sprite2D" parent="Sink" unique_id=1825839263] texture = ExtResource("2_il73p") hframes = 4 region_enabled = true region_rect = Rect2(0, 0, 128, 36) [node name="CollisionShape2D" type="CollisionShape2D" parent="Sink" unique_id=251481492] position = Vector2(0, -7) shape = SubResource("RectangleShape2D_tcthq") [node name="AnimationPlayer" type="AnimationPlayer" parent="Sink" unique_id=1288483812] root_node = NodePath("../Sprite") libraries/ = SubResource("AnimationLibrary_uxg4c") autoplay = &"travel" [node name="ImpactSound" type="AudioStreamPlayer2D" parent="Sink" unique_id=227261011] stream = ExtResource("4_alyar") [node name="SinkMarkers" type="Node2D" parent="." unique_id=527549021] [node name="Marker2D" type="Marker2D" parent="SinkMarkers" unique_id=1345428527] position = Vector2(88, 0) [node name="Marker2D2" type="Marker2D" parent="SinkMarkers" unique_id=1724416493] position = Vector2(-88, 0) [node name="Table" type="Node2D" parent="." unique_id=128144371] [node name="Top" type="Node2D" parent="Table" unique_id=1108085768]