diff --git a/prefabs/Interactable.tscn b/prefabs/Interactable.tscn index 2fff34e..35d0929 100644 --- a/prefabs/Interactable.tscn +++ b/prefabs/Interactable.tscn @@ -4,7 +4,7 @@ [ext_resource type="SpriteFrames" uid="uid://bvnfvjn7am8tc" path="res://resources/sprites/key.tres" id="2_0s1fq"] [sub_resource type="CircleShape2D" id="CircleShape2D_w4p6k"] -radius = 20.0 +radius = 60.0 [node name="Interactable" type="Node2D"] script = ExtResource("1_4ni08") diff --git a/prefabs/NPC.tscn b/prefabs/NPC.tscn index 0a38433..f65898d 100644 --- a/prefabs/NPC.tscn +++ b/prefabs/NPC.tscn @@ -9,11 +9,11 @@ script = ExtResource("1_xeo83") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = ExtResource("2_r10xf") -frame_progress = 0.220485 +frame_progress = 0.100142 [node name="Interactable" parent="." instance=ExtResource("2_hcfxj")] SpriteOffset = Vector2(0, -35) -AreaRadius = 20.0 +AreaRadius = 60.0 [connection signal="PlayerLeft" from="Interactable" to="." method="_on_interactable_player_left"] [connection signal="PlayerNearBy" from="Interactable" to="." method="_on_interactable_player_near_by"] diff --git a/resources/sprites/Sub/Sub.png b/resources/sprites/Sub/Sub.png index b9f7b39..90b8472 100644 Binary files a/resources/sprites/Sub/Sub.png and b/resources/sprites/Sub/Sub.png differ diff --git a/resources/sprites/npcs/Empty.tres b/resources/sprites/npcs/Empty.tres new file mode 100644 index 0000000..8f4371e --- /dev/null +++ b/resources/sprites/npcs/Empty.tres @@ -0,0 +1,18 @@ +[gd_resource type="SpriteFrames" load_steps=3 format=3 uid="uid://wu7pmuvjw5qm"] + +[ext_resource type="Texture2D" uid="uid://c2l2x12w8fsdu" path="res://resources/sprites/npcs/captain.png" id="1_l2h64"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_tn0ip"] +atlas = ExtResource("1_l2h64") +region = Rect2(0, 0, 23, 16) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_tn0ip") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] diff --git a/scenes/Day1.tscn b/scenes/Day1.tscn new file mode 100644 index 0000000..7be902f --- /dev/null +++ b/scenes/Day1.tscn @@ -0,0 +1,200 @@ +[gd_scene load_steps=22 format=3 uid="uid://c1abgp6quvo3o"] + +[ext_resource type="Texture2D" uid="uid://b5baxx5o21qy1" path="res://resources/sprites/Sub/Sub.png" id="1_a6v5r"] +[ext_resource type="PackedScene" uid="uid://coogmsw6rsdun" path="res://prefabs/Door.tscn" id="2_qedp5"] +[ext_resource type="PackedScene" uid="uid://c5ndo6b0unkst" path="res://prefabs/NPC.tscn" id="3_t4e54"] +[ext_resource type="SpriteFrames" uid="uid://dsgqo48qikwsn" path="res://resources/sprites/npcs/cock.tres" id="4_ephn1"] +[ext_resource type="SpriteFrames" uid="uid://bwssm27bm14s7" path="res://resources/sprites/npcs/captain.tres" id="5_o0reb"] +[ext_resource type="SpriteFrames" uid="uid://1r4r5gmf5kdo" path="res://resources/sprites/npcs/doctor.tres" id="6_vd74o"] +[ext_resource type="SpriteFrames" uid="uid://532buo56y4q2" path="res://resources/sprites/npcs/crewmate.tres" id="7_j5wfn"] +[ext_resource type="PackedScene" uid="uid://dfdsnwub212o6" path="res://prefabs/Player.tscn" id="8_csxln"] +[ext_resource type="AudioStream" uid="uid://be35iuapayv0u" path="res://resources/music/Day1.wav" id="9_43nb0"] +[ext_resource type="SpriteFrames" uid="uid://wu7pmuvjw5qm" path="res://resources/sprites/npcs/Empty.tres" id="10_medl6"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_h0540"] +size = Vector2(640, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_i40av"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3xi1q"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_nl627"] +size = Vector2(1697, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_f1hcn"] +size = Vector2(33.75, 199) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_hgf7s"] +size = Vector2(681, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3d2ji"] +size = Vector2(2311, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_1dgo4"] +size = Vector2(23, 302.5) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_ogw0u"] +size = Vector2(32.75, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_bafxi"] +size = Vector2(640, 24) + +[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_7838k"] +fade_time = 1.0 +stream_count = 1 +stream_0 = ExtResource("9_43nb0") + +[node name="Test" type="Node2D"] + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture = ExtResource("1_a6v5r") + +[node name="StaticBody2D" type="StaticBody2D" parent="Sprite2D"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(560, 51) +shape = SubResource("RectangleShape2D_h0540") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(232, 11) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(889, 11) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(883, 171) +shape = SubResource("RectangleShape2D_nl627") + +[node name="CollisionShape2D5" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(34.875, 83.5) +shape = SubResource("RectangleShape2D_f1hcn") + +[node name="CollisionShape2D6" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 127) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D7" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1397, 51) +shape = SubResource("RectangleShape2D_hgf7s") + +[node name="CollisionShape2D8" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D9" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1068, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D10" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(576.5, 292) +shape = SubResource("RectangleShape2D_3d2ji") + +[node name="CollisionShape2D11" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(-568.5, 135.25) +shape = SubResource("RectangleShape2D_1dgo4") + +[node name="CollisionShape2D12" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1540, 243) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D13" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(552.625, 246) +shape = SubResource("RectangleShape2D_ogw0u") + +[node name="CollisionShape2D14" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(231, 248) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D15" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(829, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D16" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1172, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D17" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1032, -221) +shape = SubResource("RectangleShape2D_bafxi") + +[node name="Doors" type="Node2D" parent="."] + +[node name="Door_3F" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_qedp5")] +position = Vector2(788, 14) +Exit = NodePath("../Door_3F2") + +[node name="Door_3F2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_qedp5")] +position = Vector2(790, 134) +Exit = NodePath("../Door_3F") + +[node name="Door_MEDBAY" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_qedp5")] +position = Vector2(474, 134) +Exit = NodePath("../Door_MEDBAY2") + +[node name="Door_MEDBAY2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_qedp5")] +position = Vector2(474, 255) +Exit = NodePath("../Door_MEDBAY") + +[node name="Door_SONAR" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_qedp5")] +position = Vector2(1180, 134) +Exit = NodePath("../Door_SONAR2") + +[node name="Door_SONAR2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_qedp5")] +position = Vector2(1179, 14) +Exit = NodePath("../Door_SONAR") + +[node name="Door_QUOTERS" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_qedp5")] +position = Vector2(1436, 134) +Exit = NodePath("../Door_QUOTERS2") + +[node name="Door_QUOTERS2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_qedp5")] +position = Vector2(1442, 255) +Exit = NodePath("../Door_QUOTERS") + +[node name="NPCs" type="Node2D" parent="."] + +[node name="Test" parent="NPCs" instance=ExtResource("3_t4e54")] +position = Vector2(351, 14) +NPCName = "Chef" +Frames = ExtResource("4_ephn1") + +[node name="Captain" parent="NPCs" instance=ExtResource("3_t4e54")] +position = Vector2(889, -258) +NPCName = "Captain" +Frames = ExtResource("5_o0reb") + +[node name="Doctor" parent="NPCs" instance=ExtResource("3_t4e54")] +position = Vector2(286, 255) +NPCName = "Doctor" +Frames = ExtResource("6_vd74o") + +[node name="Crewmate" parent="NPCs" instance=ExtResource("3_t4e54")] +position = Vector2(1307, 254) +NPCName = "Crewmate" +Frames = ExtResource("7_j5wfn") + +[node name="Npc" parent="NPCs" instance=ExtResource("3_t4e54")] +position = Vector2(1326, 14) +Frames = ExtResource("7_j5wfn") + +[node name="Npc2" parent="NPCs" instance=ExtResource("3_t4e54")] +position = Vector2(575, -6) +Frames = ExtResource("7_j5wfn") + +[node name="Player" parent="." instance=ExtResource("8_csxln")] +position = Vector2(1054, 255) +Speed = 100.0 + +[node name="Music" type="AudioStreamPlayer" parent="."] +stream = SubResource("AudioStreamPlaylist_7838k") +autoplay = true +bus = &"Music" + +[node name="Npc" parent="." instance=ExtResource("3_t4e54")] +position = Vector2(1597, -12) +NPCName = "Computer" +Frames = ExtResource("10_medl6") diff --git a/scenes/Day2.tscn b/scenes/Day2.tscn new file mode 100644 index 0000000..921915e --- /dev/null +++ b/scenes/Day2.tscn @@ -0,0 +1,194 @@ +[gd_scene load_steps=21 format=3 uid="uid://c8nn57lfv6ou"] + +[ext_resource type="Texture2D" uid="uid://b5baxx5o21qy1" path="res://resources/sprites/Sub/Sub.png" id="1_1c4ln"] +[ext_resource type="PackedScene" uid="uid://coogmsw6rsdun" path="res://prefabs/Door.tscn" id="2_g17xb"] +[ext_resource type="PackedScene" uid="uid://c5ndo6b0unkst" path="res://prefabs/NPC.tscn" id="3_4n3ql"] +[ext_resource type="SpriteFrames" uid="uid://dsgqo48qikwsn" path="res://resources/sprites/npcs/cock.tres" id="4_0ph2x"] +[ext_resource type="SpriteFrames" uid="uid://bwssm27bm14s7" path="res://resources/sprites/npcs/captain.tres" id="5_e4los"] +[ext_resource type="SpriteFrames" uid="uid://1r4r5gmf5kdo" path="res://resources/sprites/npcs/doctor.tres" id="6_pjpon"] +[ext_resource type="SpriteFrames" uid="uid://532buo56y4q2" path="res://resources/sprites/npcs/crewmate.tres" id="7_c5sgk"] +[ext_resource type="PackedScene" uid="uid://dfdsnwub212o6" path="res://prefabs/Player.tscn" id="8_8ynsc"] +[ext_resource type="AudioStream" uid="uid://be35iuapayv0u" path="res://resources/music/Day1.wav" id="9_pd364"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_h0540"] +size = Vector2(640, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_i40av"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3xi1q"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_nl627"] +size = Vector2(1697, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_f1hcn"] +size = Vector2(33.75, 199) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_hgf7s"] +size = Vector2(681, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3d2ji"] +size = Vector2(2311, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_1dgo4"] +size = Vector2(23, 302.5) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_ogw0u"] +size = Vector2(32.75, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_bafxi"] +size = Vector2(640, 24) + +[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_7838k"] +fade_time = 1.0 +stream_count = 1 +stream_0 = ExtResource("9_pd364") + +[node name="Test" type="Node2D"] + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture = ExtResource("1_1c4ln") + +[node name="StaticBody2D" type="StaticBody2D" parent="Sprite2D"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(560, 51) +shape = SubResource("RectangleShape2D_h0540") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(232, 11) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(889, 11) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(883, 171) +shape = SubResource("RectangleShape2D_nl627") + +[node name="CollisionShape2D5" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(34.875, 83.5) +shape = SubResource("RectangleShape2D_f1hcn") + +[node name="CollisionShape2D6" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 127) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D7" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1397, 51) +shape = SubResource("RectangleShape2D_hgf7s") + +[node name="CollisionShape2D8" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D9" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1068, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D10" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(576.5, 292) +shape = SubResource("RectangleShape2D_3d2ji") + +[node name="CollisionShape2D11" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(-568.5, 135.25) +shape = SubResource("RectangleShape2D_1dgo4") + +[node name="CollisionShape2D12" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1540, 243) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D13" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(552.625, 246) +shape = SubResource("RectangleShape2D_ogw0u") + +[node name="CollisionShape2D14" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(231, 248) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D15" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(829, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D16" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1172, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D17" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1032, -221) +shape = SubResource("RectangleShape2D_bafxi") + +[node name="Doors" type="Node2D" parent="."] + +[node name="Door_3F" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_g17xb")] +position = Vector2(788, 14) +Exit = NodePath("../Door_3F2") + +[node name="Door_3F2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_g17xb")] +position = Vector2(790, 134) +Exit = NodePath("../Door_3F") + +[node name="Door_MEDBAY" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_g17xb")] +position = Vector2(474, 134) +Exit = NodePath("../Door_MEDBAY2") + +[node name="Door_MEDBAY2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_g17xb")] +position = Vector2(474, 255) +Exit = NodePath("../Door_MEDBAY") + +[node name="Door_SONAR" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_g17xb")] +position = Vector2(1180, 134) +Exit = NodePath("../Door_SONAR2") + +[node name="Door_SONAR2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_g17xb")] +position = Vector2(1179, 14) +Exit = NodePath("../Door_SONAR") + +[node name="Door_QUOTERS" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_g17xb")] +position = Vector2(1436, 134) +Exit = NodePath("../Door_QUOTERS2") + +[node name="Door_QUOTERS2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_g17xb")] +position = Vector2(1442, 255) +Exit = NodePath("../Door_QUOTERS") + +[node name="NPCs" type="Node2D" parent="."] + +[node name="Test" parent="NPCs" instance=ExtResource("3_4n3ql")] +position = Vector2(351, 14) +NPCName = "Chef" +Frames = ExtResource("4_0ph2x") + +[node name="Captain" parent="NPCs" instance=ExtResource("3_4n3ql")] +position = Vector2(889, -258) +NPCName = "Captain" +Frames = ExtResource("5_e4los") + +[node name="Doctor" parent="NPCs" instance=ExtResource("3_4n3ql")] +position = Vector2(286, 255) +NPCName = "Doctor" +Frames = ExtResource("6_pjpon") + +[node name="Crewmate" parent="NPCs" instance=ExtResource("3_4n3ql")] +position = Vector2(1307, 254) +NPCName = "Crewmate" +Frames = ExtResource("7_c5sgk") + +[node name="Npc" parent="NPCs" instance=ExtResource("3_4n3ql")] +position = Vector2(1326, 14) +Frames = ExtResource("7_c5sgk") + +[node name="Npc2" parent="NPCs" instance=ExtResource("3_4n3ql")] +position = Vector2(575, -6) +Frames = ExtResource("7_c5sgk") + +[node name="Player" parent="." instance=ExtResource("8_8ynsc")] +position = Vector2(1054, 255) +Speed = 100.0 + +[node name="Music" type="AudioStreamPlayer" parent="."] +stream = SubResource("AudioStreamPlaylist_7838k") +autoplay = true +bus = &"Music" diff --git a/scenes/Day3.tscn b/scenes/Day3.tscn new file mode 100644 index 0000000..3853767 --- /dev/null +++ b/scenes/Day3.tscn @@ -0,0 +1,194 @@ +[gd_scene load_steps=21 format=3 uid="uid://cyvy4s62fa452"] + +[ext_resource type="Texture2D" uid="uid://b5baxx5o21qy1" path="res://resources/sprites/Sub/Sub.png" id="1_otfpc"] +[ext_resource type="PackedScene" uid="uid://coogmsw6rsdun" path="res://prefabs/Door.tscn" id="2_53l42"] +[ext_resource type="PackedScene" uid="uid://c5ndo6b0unkst" path="res://prefabs/NPC.tscn" id="3_ykngu"] +[ext_resource type="SpriteFrames" uid="uid://dsgqo48qikwsn" path="res://resources/sprites/npcs/cock.tres" id="4_vcnww"] +[ext_resource type="SpriteFrames" uid="uid://bwssm27bm14s7" path="res://resources/sprites/npcs/captain.tres" id="5_0qu3f"] +[ext_resource type="SpriteFrames" uid="uid://1r4r5gmf5kdo" path="res://resources/sprites/npcs/doctor.tres" id="6_bdwkj"] +[ext_resource type="SpriteFrames" uid="uid://532buo56y4q2" path="res://resources/sprites/npcs/crewmate.tres" id="7_ev5f0"] +[ext_resource type="PackedScene" uid="uid://dfdsnwub212o6" path="res://prefabs/Player.tscn" id="8_4w5ya"] +[ext_resource type="AudioStream" uid="uid://be35iuapayv0u" path="res://resources/music/Day1.wav" id="9_36ba4"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_h0540"] +size = Vector2(640, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_i40av"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3xi1q"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_nl627"] +size = Vector2(1697, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_f1hcn"] +size = Vector2(33.75, 199) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_hgf7s"] +size = Vector2(681, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3d2ji"] +size = Vector2(2311, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_1dgo4"] +size = Vector2(23, 302.5) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_ogw0u"] +size = Vector2(32.75, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_bafxi"] +size = Vector2(640, 24) + +[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_7838k"] +fade_time = 1.0 +stream_count = 1 +stream_0 = ExtResource("9_36ba4") + +[node name="Test" type="Node2D"] + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture = ExtResource("1_otfpc") + +[node name="StaticBody2D" type="StaticBody2D" parent="Sprite2D"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(560, 51) +shape = SubResource("RectangleShape2D_h0540") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(232, 11) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(889, 11) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(883, 171) +shape = SubResource("RectangleShape2D_nl627") + +[node name="CollisionShape2D5" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(34.875, 83.5) +shape = SubResource("RectangleShape2D_f1hcn") + +[node name="CollisionShape2D6" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 127) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D7" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1397, 51) +shape = SubResource("RectangleShape2D_hgf7s") + +[node name="CollisionShape2D8" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D9" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1068, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D10" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(576.5, 292) +shape = SubResource("RectangleShape2D_3d2ji") + +[node name="CollisionShape2D11" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(-568.5, 135.25) +shape = SubResource("RectangleShape2D_1dgo4") + +[node name="CollisionShape2D12" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1540, 243) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D13" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(552.625, 246) +shape = SubResource("RectangleShape2D_ogw0u") + +[node name="CollisionShape2D14" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(231, 248) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D15" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(829, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D16" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1172, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D17" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1032, -221) +shape = SubResource("RectangleShape2D_bafxi") + +[node name="Doors" type="Node2D" parent="."] + +[node name="Door_3F" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_53l42")] +position = Vector2(788, 14) +Exit = NodePath("../Door_3F2") + +[node name="Door_3F2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_53l42")] +position = Vector2(790, 134) +Exit = NodePath("../Door_3F") + +[node name="Door_MEDBAY" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_53l42")] +position = Vector2(474, 134) +Exit = NodePath("../Door_MEDBAY2") + +[node name="Door_MEDBAY2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_53l42")] +position = Vector2(474, 255) +Exit = NodePath("../Door_MEDBAY") + +[node name="Door_SONAR" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_53l42")] +position = Vector2(1180, 134) +Exit = NodePath("../Door_SONAR2") + +[node name="Door_SONAR2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_53l42")] +position = Vector2(1179, 14) +Exit = NodePath("../Door_SONAR") + +[node name="Door_QUOTERS" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_53l42")] +position = Vector2(1436, 134) +Exit = NodePath("../Door_QUOTERS2") + +[node name="Door_QUOTERS2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_53l42")] +position = Vector2(1442, 255) +Exit = NodePath("../Door_QUOTERS") + +[node name="NPCs" type="Node2D" parent="."] + +[node name="Test" parent="NPCs" instance=ExtResource("3_ykngu")] +position = Vector2(351, 14) +NPCName = "Chef" +Frames = ExtResource("4_vcnww") + +[node name="Captain" parent="NPCs" instance=ExtResource("3_ykngu")] +position = Vector2(889, -258) +NPCName = "Captain" +Frames = ExtResource("5_0qu3f") + +[node name="Doctor" parent="NPCs" instance=ExtResource("3_ykngu")] +position = Vector2(286, 255) +NPCName = "Doctor" +Frames = ExtResource("6_bdwkj") + +[node name="Crewmate" parent="NPCs" instance=ExtResource("3_ykngu")] +position = Vector2(1307, 254) +NPCName = "Crewmate" +Frames = ExtResource("7_ev5f0") + +[node name="Npc" parent="NPCs" instance=ExtResource("3_ykngu")] +position = Vector2(1326, 14) +Frames = ExtResource("7_ev5f0") + +[node name="Npc2" parent="NPCs" instance=ExtResource("3_ykngu")] +position = Vector2(575, -6) +Frames = ExtResource("7_ev5f0") + +[node name="Player" parent="." instance=ExtResource("8_4w5ya")] +position = Vector2(1054, 255) +Speed = 100.0 + +[node name="Music" type="AudioStreamPlayer" parent="."] +stream = SubResource("AudioStreamPlaylist_7838k") +autoplay = true +bus = &"Music" diff --git a/scenes/Day4.tscn b/scenes/Day4.tscn new file mode 100644 index 0000000..2e49d86 --- /dev/null +++ b/scenes/Day4.tscn @@ -0,0 +1,194 @@ +[gd_scene load_steps=21 format=3 uid="uid://cggs2kf4oafyh"] + +[ext_resource type="Texture2D" uid="uid://b5baxx5o21qy1" path="res://resources/sprites/Sub/Sub.png" id="1_u05xn"] +[ext_resource type="PackedScene" uid="uid://coogmsw6rsdun" path="res://prefabs/Door.tscn" id="2_3pd8r"] +[ext_resource type="PackedScene" uid="uid://c5ndo6b0unkst" path="res://prefabs/NPC.tscn" id="3_hnx22"] +[ext_resource type="SpriteFrames" uid="uid://dsgqo48qikwsn" path="res://resources/sprites/npcs/cock.tres" id="4_nb8g4"] +[ext_resource type="SpriteFrames" uid="uid://bwssm27bm14s7" path="res://resources/sprites/npcs/captain.tres" id="5_jsnd7"] +[ext_resource type="SpriteFrames" uid="uid://1r4r5gmf5kdo" path="res://resources/sprites/npcs/doctor.tres" id="6_ul4l1"] +[ext_resource type="SpriteFrames" uid="uid://532buo56y4q2" path="res://resources/sprites/npcs/crewmate.tres" id="7_q2gxe"] +[ext_resource type="PackedScene" uid="uid://dfdsnwub212o6" path="res://prefabs/Player.tscn" id="8_djfuf"] +[ext_resource type="AudioStream" uid="uid://be35iuapayv0u" path="res://resources/music/Day1.wav" id="9_64d0j"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_h0540"] +size = Vector2(640, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_i40av"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3xi1q"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_nl627"] +size = Vector2(1697, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_f1hcn"] +size = Vector2(33.75, 199) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_hgf7s"] +size = Vector2(681, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3d2ji"] +size = Vector2(2311, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_1dgo4"] +size = Vector2(23, 302.5) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_ogw0u"] +size = Vector2(32.75, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_bafxi"] +size = Vector2(640, 24) + +[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_7838k"] +fade_time = 1.0 +stream_count = 1 +stream_0 = ExtResource("9_64d0j") + +[node name="Test" type="Node2D"] + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture = ExtResource("1_u05xn") + +[node name="StaticBody2D" type="StaticBody2D" parent="Sprite2D"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(560, 51) +shape = SubResource("RectangleShape2D_h0540") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(232, 11) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(889, 11) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(883, 171) +shape = SubResource("RectangleShape2D_nl627") + +[node name="CollisionShape2D5" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(34.875, 83.5) +shape = SubResource("RectangleShape2D_f1hcn") + +[node name="CollisionShape2D6" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 127) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D7" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1397, 51) +shape = SubResource("RectangleShape2D_hgf7s") + +[node name="CollisionShape2D8" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D9" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1068, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D10" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(576.5, 292) +shape = SubResource("RectangleShape2D_3d2ji") + +[node name="CollisionShape2D11" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(-568.5, 135.25) +shape = SubResource("RectangleShape2D_1dgo4") + +[node name="CollisionShape2D12" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1540, 243) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D13" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(552.625, 246) +shape = SubResource("RectangleShape2D_ogw0u") + +[node name="CollisionShape2D14" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(231, 248) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D15" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(829, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D16" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1172, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D17" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1032, -221) +shape = SubResource("RectangleShape2D_bafxi") + +[node name="Doors" type="Node2D" parent="."] + +[node name="Door_3F" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_3pd8r")] +position = Vector2(788, 14) +Exit = NodePath("../Door_3F2") + +[node name="Door_3F2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_3pd8r")] +position = Vector2(790, 134) +Exit = NodePath("../Door_3F") + +[node name="Door_MEDBAY" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_3pd8r")] +position = Vector2(474, 134) +Exit = NodePath("../Door_MEDBAY2") + +[node name="Door_MEDBAY2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_3pd8r")] +position = Vector2(474, 255) +Exit = NodePath("../Door_MEDBAY") + +[node name="Door_SONAR" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_3pd8r")] +position = Vector2(1180, 134) +Exit = NodePath("../Door_SONAR2") + +[node name="Door_SONAR2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_3pd8r")] +position = Vector2(1179, 14) +Exit = NodePath("../Door_SONAR") + +[node name="Door_QUOTERS" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_3pd8r")] +position = Vector2(1436, 134) +Exit = NodePath("../Door_QUOTERS2") + +[node name="Door_QUOTERS2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_3pd8r")] +position = Vector2(1442, 255) +Exit = NodePath("../Door_QUOTERS") + +[node name="NPCs" type="Node2D" parent="."] + +[node name="Test" parent="NPCs" instance=ExtResource("3_hnx22")] +position = Vector2(351, 14) +NPCName = "Chef" +Frames = ExtResource("4_nb8g4") + +[node name="Captain" parent="NPCs" instance=ExtResource("3_hnx22")] +position = Vector2(889, -258) +NPCName = "Captain" +Frames = ExtResource("5_jsnd7") + +[node name="Doctor" parent="NPCs" instance=ExtResource("3_hnx22")] +position = Vector2(286, 255) +NPCName = "Doctor" +Frames = ExtResource("6_ul4l1") + +[node name="Crewmate" parent="NPCs" instance=ExtResource("3_hnx22")] +position = Vector2(1307, 254) +NPCName = "Crewmate" +Frames = ExtResource("7_q2gxe") + +[node name="Npc" parent="NPCs" instance=ExtResource("3_hnx22")] +position = Vector2(1326, 14) +Frames = ExtResource("7_q2gxe") + +[node name="Npc2" parent="NPCs" instance=ExtResource("3_hnx22")] +position = Vector2(575, -6) +Frames = ExtResource("7_q2gxe") + +[node name="Player" parent="." instance=ExtResource("8_djfuf")] +position = Vector2(1054, 255) +Speed = 100.0 + +[node name="Music" type="AudioStreamPlayer" parent="."] +stream = SubResource("AudioStreamPlaylist_7838k") +autoplay = true +bus = &"Music" diff --git a/scenes/Day5.tscn b/scenes/Day5.tscn new file mode 100644 index 0000000..60dff61 --- /dev/null +++ b/scenes/Day5.tscn @@ -0,0 +1,194 @@ +[gd_scene load_steps=21 format=3 uid="uid://ci6mrsqs1gafg"] + +[ext_resource type="Texture2D" uid="uid://b5baxx5o21qy1" path="res://resources/sprites/Sub/Sub.png" id="1_ynuk4"] +[ext_resource type="PackedScene" uid="uid://coogmsw6rsdun" path="res://prefabs/Door.tscn" id="2_k5nsw"] +[ext_resource type="PackedScene" uid="uid://c5ndo6b0unkst" path="res://prefabs/NPC.tscn" id="3_k5xn1"] +[ext_resource type="SpriteFrames" uid="uid://dsgqo48qikwsn" path="res://resources/sprites/npcs/cock.tres" id="4_rjcue"] +[ext_resource type="SpriteFrames" uid="uid://bwssm27bm14s7" path="res://resources/sprites/npcs/captain.tres" id="5_ejd4f"] +[ext_resource type="SpriteFrames" uid="uid://1r4r5gmf5kdo" path="res://resources/sprites/npcs/doctor.tres" id="6_27q3e"] +[ext_resource type="SpriteFrames" uid="uid://532buo56y4q2" path="res://resources/sprites/npcs/crewmate.tres" id="7_ptpge"] +[ext_resource type="PackedScene" uid="uid://dfdsnwub212o6" path="res://prefabs/Player.tscn" id="8_nks88"] +[ext_resource type="AudioStream" uid="uid://be35iuapayv0u" path="res://resources/music/Day1.wav" id="9_3m6gm"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_h0540"] +size = Vector2(640, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_i40av"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3xi1q"] +size = Vector2(25.5, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_nl627"] +size = Vector2(1697, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_f1hcn"] +size = Vector2(33.75, 199) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_hgf7s"] +size = Vector2(681, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_3d2ji"] +size = Vector2(2311, 24) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_1dgo4"] +size = Vector2(23, 302.5) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_ogw0u"] +size = Vector2(32.75, 104) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_bafxi"] +size = Vector2(640, 24) + +[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_7838k"] +fade_time = 1.0 +stream_count = 1 +stream_0 = ExtResource("9_3m6gm") + +[node name="Test" type="Node2D"] + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture = ExtResource("1_ynuk4") + +[node name="StaticBody2D" type="StaticBody2D" parent="Sprite2D"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(560, 51) +shape = SubResource("RectangleShape2D_h0540") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(232, 11) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(889, 11) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(883, 171) +shape = SubResource("RectangleShape2D_nl627") + +[node name="CollisionShape2D5" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(34.875, 83.5) +shape = SubResource("RectangleShape2D_f1hcn") + +[node name="CollisionShape2D6" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 127) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D7" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1397, 51) +shape = SubResource("RectangleShape2D_hgf7s") + +[node name="CollisionShape2D8" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1727, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D9" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1068, 5) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D10" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(576.5, 292) +shape = SubResource("RectangleShape2D_3d2ji") + +[node name="CollisionShape2D11" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(-568.5, 135.25) +shape = SubResource("RectangleShape2D_1dgo4") + +[node name="CollisionShape2D12" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1540, 243) +shape = SubResource("RectangleShape2D_3xi1q") + +[node name="CollisionShape2D13" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(552.625, 246) +shape = SubResource("RectangleShape2D_ogw0u") + +[node name="CollisionShape2D14" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(231, 248) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D15" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(829, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D16" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1172, -268) +shape = SubResource("RectangleShape2D_i40av") + +[node name="CollisionShape2D17" type="CollisionShape2D" parent="Sprite2D/StaticBody2D"] +position = Vector2(1032, -221) +shape = SubResource("RectangleShape2D_bafxi") + +[node name="Doors" type="Node2D" parent="."] + +[node name="Door_3F" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_k5nsw")] +position = Vector2(788, 14) +Exit = NodePath("../Door_3F2") + +[node name="Door_3F2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_k5nsw")] +position = Vector2(790, 134) +Exit = NodePath("../Door_3F") + +[node name="Door_MEDBAY" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_k5nsw")] +position = Vector2(474, 134) +Exit = NodePath("../Door_MEDBAY2") + +[node name="Door_MEDBAY2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_k5nsw")] +position = Vector2(474, 255) +Exit = NodePath("../Door_MEDBAY") + +[node name="Door_SONAR" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_k5nsw")] +position = Vector2(1180, 134) +Exit = NodePath("../Door_SONAR2") + +[node name="Door_SONAR2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_k5nsw")] +position = Vector2(1179, 14) +Exit = NodePath("../Door_SONAR") + +[node name="Door_QUOTERS" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_k5nsw")] +position = Vector2(1436, 134) +Exit = NodePath("../Door_QUOTERS2") + +[node name="Door_QUOTERS2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("2_k5nsw")] +position = Vector2(1442, 255) +Exit = NodePath("../Door_QUOTERS") + +[node name="NPCs" type="Node2D" parent="."] + +[node name="Test" parent="NPCs" instance=ExtResource("3_k5xn1")] +position = Vector2(351, 14) +NPCName = "Chef" +Frames = ExtResource("4_rjcue") + +[node name="Captain" parent="NPCs" instance=ExtResource("3_k5xn1")] +position = Vector2(889, -258) +NPCName = "Captain" +Frames = ExtResource("5_ejd4f") + +[node name="Doctor" parent="NPCs" instance=ExtResource("3_k5xn1")] +position = Vector2(286, 255) +NPCName = "Doctor" +Frames = ExtResource("6_27q3e") + +[node name="Crewmate" parent="NPCs" instance=ExtResource("3_k5xn1")] +position = Vector2(1307, 254) +NPCName = "Crewmate" +Frames = ExtResource("7_ptpge") + +[node name="Npc" parent="NPCs" instance=ExtResource("3_k5xn1")] +position = Vector2(1326, 14) +Frames = ExtResource("7_ptpge") + +[node name="Npc2" parent="NPCs" instance=ExtResource("3_k5xn1")] +position = Vector2(575, -6) +Frames = ExtResource("7_ptpge") + +[node name="Player" parent="." instance=ExtResource("8_nks88")] +position = Vector2(1054, 255) +Speed = 100.0 + +[node name="Music" type="AudioStreamPlayer" parent="."] +stream = SubResource("AudioStreamPlaylist_7838k") +autoplay = true +bus = &"Music" diff --git a/scenes/test.tscn b/scenes/test.tscn index 751e61e..afc2890 100644 --- a/scenes/test.tscn +++ b/scenes/test.tscn @@ -157,17 +157,17 @@ Exit = NodePath("../Door_QUOTERS") [node name="NPCs" type="Node2D" parent="."] [node name="Test" parent="NPCs" instance=ExtResource("3_cu4p0")] -position = Vector2(652, 14) +position = Vector2(351, 14) NPCName = "Chef" Frames = ExtResource("4_7refo") [node name="Captain" parent="NPCs" instance=ExtResource("3_cu4p0")] -position = Vector2(1116, -257) +position = Vector2(889, -258) NPCName = "Captain" Frames = ExtResource("5_8eaj1") [node name="Doctor" parent="NPCs" instance=ExtResource("3_cu4p0")] -position = Vector2(318, 255) +position = Vector2(286, 255) NPCName = "Doctor" Frames = ExtResource("6_hfiji") @@ -175,8 +175,14 @@ Frames = ExtResource("6_hfiji") position = Vector2(1307, 254) NPCName = "Crewmate" Frames = ExtResource("7_3qwvo") -DefaultDialogLine = "Прости. Я сейчас занят." -DialogLines = ["Test message.", "Hi! My name is Vanyok. I'm your crewmate.", "Тестовое сообщение.", "Привет! Меня зовут Ванек. Я твой напарник по команде. "] + +[node name="Npc" parent="NPCs" instance=ExtResource("3_cu4p0")] +position = Vector2(1326, 14) +Frames = ExtResource("7_3qwvo") + +[node name="Npc2" parent="NPCs" instance=ExtResource("3_cu4p0")] +position = Vector2(575, -6) +Frames = ExtResource("7_3qwvo") [node name="Player" parent="." instance=ExtResource("2_mmd6a")] position = Vector2(1054, 255)