This commit is contained in:
2026-03-13 22:00:02 -05:00
parent 90241d6830
commit 6738e8d217
676 changed files with 15819 additions and 78 deletions

View File

@@ -0,0 +1,84 @@
[gd_scene format=3 uid="uid://d3rqn611axsfk"]
[ext_resource type="Texture2D" uid="uid://crf23tc55dxu" path="res://Assets/Spritesheets/Treasure Chests/Chest_Anim.png" id="1_8m6gq"]
[sub_resource type="AtlasTexture" id="AtlasTexture_b5bus"]
atlas = ExtResource("1_8m6gq")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_8m6gq"]
atlas = ExtResource("1_8m6gq")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_2vpuu"]
atlas = ExtResource("1_8m6gq")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ydixn"]
atlas = ExtResource("1_8m6gq")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wetyp"]
atlas = ExtResource("1_8m6gq")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_hwpw4"]
atlas = ExtResource("1_8m6gq")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_clx0v"]
atlas = ExtResource("1_8m6gq")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_t1w70"]
atlas = ExtResource("1_8m6gq")
region = Rect2(80, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_sx0xc"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_b5bus")
}],
"loop": false,
"name": &"closed",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_8m6gq")
}],
"loop": true,
"name": &"opened",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_2vpuu")
}, {
"duration": 3.0,
"texture": SubResource("AtlasTexture_ydixn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wetyp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hwpw4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_clx0v")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t1w70")
}],
"loop": false,
"name": &"opening",
"speed": 10.0
}]
[node name="Chest01 Sprite" type="AnimatedSprite2D" unique_id=1811986888]
y_sort_enabled = true
sprite_frames = SubResource("SpriteFrames_sx0xc")
animation = &"closed"
autoplay = "closed"
offset = Vector2(0, -6)

View File

@@ -0,0 +1,99 @@
[gd_scene format=3 uid="uid://clqfyxjtn67m"]
[ext_resource type="Script" uid="uid://c5pt6iroi01si" path="res://Scripts/Characters/Chicken/npc_chicken.gd" id="1_etrql"]
[ext_resource type="Texture2D" uid="uid://d4lf74neoqf4p" path="res://Assets/Spritesheets/Animals/Chickens/Chicken_01.png" id="1_hjr72"]
[sub_resource type="AtlasTexture" id="AtlasTexture_etrql"]
atlas = ExtResource("1_hjr72")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_cps5e"]
atlas = ExtResource("1_hjr72")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_hjr72"]
atlas = ExtResource("1_hjr72")
region = Rect2(0, 64, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_hgb1c"]
atlas = ExtResource("1_hjr72")
region = Rect2(32, 64, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_b7crd"]
atlas = ExtResource("1_hjr72")
region = Rect2(64, 64, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_4ggxf"]
atlas = ExtResource("1_hjr72")
region = Rect2(96, 64, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_m8e2q"]
atlas = ExtResource("1_hjr72")
region = Rect2(128, 64, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_myiu2"]
atlas = ExtResource("1_hjr72")
region = Rect2(160, 64, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_wmbj4"]
atlas = ExtResource("1_hjr72")
region = Rect2(192, 64, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_t08bh"]
atlas = ExtResource("1_hjr72")
region = Rect2(224, 64, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_hgb1c"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_etrql")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cps5e")
}],
"loop": true,
"name": &"idle",
"speed": 2.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_hjr72")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hgb1c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b7crd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4ggxf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m8e2q")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_myiu2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wmbj4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t08bh")
}],
"loop": false,
"name": &"pecking",
"speed": 8.0
}]
[node name="Npc Chicken" type="CharacterBody2D" unique_id=1839801182]
y_sort_enabled = true
script = ExtResource("1_etrql")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1119508709]
y_sort_enabled = true
position = Vector2(0, 6)
sprite_frames = SubResource("SpriteFrames_hgb1c")
animation = &"pecking"
autoplay = "idle"
offset = Vector2(0, -6)

View File

@@ -0,0 +1,32 @@
[gd_scene format=3 uid="uid://c2p8fteeqyikf"]
[ext_resource type="Texture2D" uid="uid://ksgfv6hgw8i" path="res://Assets/Spritesheets/Animals/Frogs/Frog_01.png" id="1_rggf3"]
[sub_resource type="AtlasTexture" id="AtlasTexture_xdptu"]
atlas = ExtResource("1_rggf3")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_4bqs7"]
atlas = ExtResource("1_rggf3")
region = Rect2(32, 0, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_ui74g"]
animations = [{
"frames": [{
"duration": 3.0,
"texture": SubResource("AtlasTexture_xdptu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4bqs7")
}],
"loop": true,
"name": &"default",
"speed": 2.0
}]
[node name="Npc Frog" type="CharacterBody2D" unique_id=1908167002]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1739011570]
sprite_frames = SubResource("SpriteFrames_ui74g")
autoplay = "default"
frame_progress = 0.9973062

View File

@@ -5,40 +5,96 @@
[ext_resource type="Script" uid="uid://dacvayqstkvws" path="res://Scripts/Characters/Player/player.gd" id="1_qqvsf"]
[ext_resource type="Script" uid="uid://b0l02v61if6k8" path="res://Scripts/Components/facing_direction_component.gd" id="1_siygm"]
[ext_resource type="Script" uid="uid://dwclkwbig1uii" path="res://Scripts/Characters/Player/movement_component.gd" id="4_apx8m"]
[ext_resource type="Script" uid="uid://dkmc1t43gomdb" path="res://Scripts/Characters/Player/States/idle_state.gd" id="4_dxcao"]
[ext_resource type="Script" uid="uid://ckn7gmtc23b8l" path="res://Scripts/Characters/Player/States/using_item_a_state.gd" id="5_1mdwi"]
[ext_resource type="Script" uid="uid://bwmmah30t3m0u" path="res://Scripts/Characters/Player/States/walking_state.gd" id="5_cscr0"]
[ext_resource type="Script" uid="uid://brlisuoocwehh" path="res://Scripts/Characters/Player/interact_scanner.gd" id="6_fu1fx"]
[ext_resource type="Script" uid="uid://bnp1vowmu15lg" path="res://Scripts/Characters/Player/States/drawing_bow_state.gd" id="7_cscr0"]
[ext_resource type="Script" uid="uid://cd2ewadcm8oi5" path="res://Scripts/Characters/Player/States/firing_arrow_state.gd" id="8_plevq"]
[ext_resource type="Script" uid="uid://bx1a35al4yiej" path="res://Scripts/Characters/Player/States/sitting_state.gd" id="9_sdxbo"]
[ext_resource type="Script" uid="uid://bnontuqj3cnom" path="res://Scripts/Characters/Player/States/cutscene_state.gd" id="10_p06rw"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_apx8m"]
size = Vector2(9, 5)
size = Vector2(10, 5)
[sub_resource type="CircleShape2D" id="CircleShape2D_plevq"]
radius = 12.0
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fu1fx"]
size = Vector2(6, 5)
[node name="Player" type="CharacterBody2D" unique_id=1502234578]
[node name="Player" type="CharacterBody2D" unique_id=1502234578 groups=["Player Group"]]
y_sort_enabled = true
script = ExtResource("1_qqvsf")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=495465356]
position = Vector2(0, 4.5)
shape = SubResource("RectangleShape2D_apx8m")
[node name="Components" type="Node" parent="." unique_id=567893784]
[node name="FacingDirectionComponent" type="Node" parent="Components" unique_id=408127032]
script = ExtResource("1_siygm")
[node name="StateMachine" parent="." unique_id=732559774 instance=ExtResource("1_lyjr2")]
[node name="StateMachine" parent="." unique_id=732559774 node_paths=PackedStringArray("states_container", "current_state") instance=ExtResource("1_lyjr2")]
states_container = NodePath("States")
current_state = NodePath("States/Idle State")
[node name="Idle State" type="Node" parent="StateMachine" unique_id=2017409248]
[node name="States" type="Node" parent="StateMachine" unique_id=1171587216]
[node name="Walking State" type="Node" parent="StateMachine" unique_id=1661048365]
[node name="Idle State" type="Node" parent="StateMachine/States" unique_id=2017409248 node_paths=PackedStringArray("movement_component", "state_machine")]
script = ExtResource("4_dxcao")
movement_component = NodePath("../../../MovementComponent")
state_machine = NodePath("../..")
[node name="Walking State" type="Node" parent="StateMachine/States" unique_id=1661048365 node_paths=PackedStringArray("movement_component", "direction_component", "body", "state_machine")]
script = ExtResource("5_cscr0")
movement_component = NodePath("../../../MovementComponent")
direction_component = NodePath("../../../Components/FacingDirectionComponent")
body = NodePath("../../..")
state_machine = NodePath("../..")
[node name="Using Item A State" type="Node" parent="StateMachine/States" unique_id=1017153142 node_paths=PackedStringArray("body", "direction_component", "state_machine")]
script = ExtResource("5_1mdwi")
body = NodePath("../../..")
direction_component = NodePath("../../../Components/FacingDirectionComponent")
state_machine = NodePath("../..")
[node name="Drawing Bow State" type="Node" parent="StateMachine/States" unique_id=317681716 node_paths=PackedStringArray("movement_componenent", "body", "state_machine")]
script = ExtResource("7_cscr0")
movement_componenent = NodePath("../../../MovementComponent")
body = NodePath("../../..")
state_machine = NodePath("../..")
[node name="Firing Arrow State" type="Node" parent="StateMachine/States" unique_id=2129772816 node_paths=PackedStringArray("direction_component", "arrow_spawn_marker", "state_machine")]
script = ExtResource("8_plevq")
direction_component = NodePath("../../../Components/FacingDirectionComponent")
arrow_spawn_marker = NodePath("../../../Marker2D")
state_machine = NodePath("../..")
[node name="Sitting State" type="Node" parent="StateMachine/States" unique_id=1774602333 node_paths=PackedStringArray("state_machine")]
script = ExtResource("9_sdxbo")
state_machine = NodePath("../..")
[node name="Cutscene State" type="Node" parent="StateMachine/States" unique_id=1722986400 node_paths=PackedStringArray("state_machine")]
script = ExtResource("10_p06rw")
state_machine = NodePath("../..")
[node name="MovementComponent" type="Node" parent="." unique_id=1773880772 node_paths=PackedStringArray("body")]
script = ExtResource("4_apx8m")
body = NodePath("..")
[node name="Sprite" parent="." unique_id=1169131604 node_paths=PackedStringArray("state_machine", "direction_component") instance=ExtResource("1_27cb7")]
[node name="Occlusion Culling Area" type="Area2D" parent="." unique_id=1195961806]
collision_layer = 8
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Occlusion Culling Area" unique_id=1162272029]
shape = SubResource("CircleShape2D_plevq")
[node name="Player Sprite" parent="." unique_id=1169131604 node_paths=PackedStringArray("state_machine", "direction_component") instance=ExtResource("1_27cb7")]
state_machine = NodePath("../StateMachine")
direction_component = NodePath("../Components/FacingDirectionComponent")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=495465356]
position = Vector2(-0.5, 4.5)
shape = SubResource("RectangleShape2D_apx8m")
[node name="Marker2D" type="Marker2D" parent="." unique_id=2003544808]
[node name="InteractScanner" type="Area2D" parent="Marker2D" unique_id=408353807 node_paths=PackedStringArray("parent", "direction_component")]
@@ -53,8 +109,19 @@ position = Vector2(0, 9.5)
shape = SubResource("RectangleShape2D_fu1fx")
debug_color = Color(0.79959095, 0.41617078, 0.18507844, 0.41960785)
[connection signal="DirectionChanged" from="Components/FacingDirectionComponent" to="Sprite" method="UpdateSprite"]
[connection signal="CutsceneEnded" from="." to="StateMachine/States/Cutscene State" method="OnCutsceneEnded"]
[connection signal="CutsceneStarted" from="." to="StateMachine/States/Idle State" method="OnCutsceneStarted"]
[connection signal="SitOnFurnitureTriggered" from="." to="StateMachine/States/Idle State" method="OnSitOnFurnitureTriggered"]
[connection signal="DirectionChanged" from="Components/FacingDirectionComponent" to="Player Sprite" method="UpdateSprite"]
[connection signal="DirectionChanged" from="Components/FacingDirectionComponent" to="Marker2D/InteractScanner" method="OnDirectionChanged"]
[connection signal="MovementPerformed" from="MovementComponent" to="Components/FacingDirectionComponent" method="ChangeDirectionUsingMovementVector"]
[connection signal="PlayerBecameIdle" from="StateMachine/States/Idle State" to="Player Sprite" method="UpdateSprite"]
[connection signal="PlayerBeganDrawingBow" from="StateMachine/States/Drawing Bow State" to="Player Sprite" method="UpdateSprite"]
[connection signal="PlayerBeganFiringArrow" from="StateMachine/States/Firing Arrow State" to="Player Sprite" method="UpdateSprite"]
[connection signal="PlayerFiredArrow" from="StateMachine/States/Firing Arrow State" to="." method="_on_using_item_a_state_arrow_fired"]
[connection signal="DrawingBowAnimationFinished" from="Player Sprite" to="StateMachine/States/Drawing Bow State" method="OnDrawingBowAnimationFinished"]
[connection signal="FiringArrowAnimationFinished" from="Player Sprite" to="StateMachine/States/Firing Arrow State" method="OnFiringArrowAnimationFinished"]
[connection signal="InteractionActionTriggered" from="Marker2D/InteractScanner" to="." method="_on_interaction_action_triggered"]
[connection signal="area_entered" from="Marker2D/InteractScanner" to="." method="_on_interact_scanner_area_entered"]
[connection signal="area_exited" from="Marker2D/InteractScanner" to="." method="_on_interact_scanner_area_exited"]
[connection signal="body_entered" from="Marker2D/InteractScanner" to="." method="_on_interact_scanner_body_entered"]
[connection signal="body_exited" from="Marker2D/InteractScanner" to="." method="_on_interact_scanner_body_exited"]

View File

@@ -0,0 +1,40 @@
[gd_scene format=3 uid="uid://cbog2vcpvg734"]
[ext_resource type="Texture2D" uid="uid://dxycty45yvcdq" path="res://Assets/Spritesheets/Player/Tools/Wooden_Bow.png" id="1_b6p0h"]
[sub_resource type="AtlasTexture" id="AtlasTexture_yka8g"]
atlas = ExtResource("1_b6p0h")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_8vxy0"]
atlas = ExtResource("1_b6p0h")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_26j7r"]
atlas = ExtResource("1_b6p0h")
region = Rect2(128, 0, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_a2gi6"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_yka8g")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8vxy0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_26j7r")
}],
"loop": false,
"name": &"draw-bow-down",
"speed": 5.0
}]
[node name="Player Bow Sprite" type="Node2D" unique_id=1297275413]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1622645109]
sprite_frames = SubResource("SpriteFrames_a2gi6")
animation = &"draw-bow-down"
frame = 2
frame_progress = 1.0

View File

@@ -3,11 +3,465 @@
[ext_resource type="Texture2D" uid="uid://de0ihg453ruyi" path="res://Assets/Spritesheets/Player/Player_Base_animations.png" id="1_45g06"]
[ext_resource type="Script" uid="uid://cuar23q48cbja" path="res://Scripts/Characters/Player/sprite.gd" id="1_jqxwg"]
[ext_resource type="Texture2D" uid="uid://1g5dx0dbupwk" path="res://Assets/Spritesheets/Player/Hair_1_Blonde.png" id="2_jqxwg"]
[ext_resource type="Texture2D" uid="uid://d1mourl3rq437" path="res://Assets/Spritesheets/Player/player-full-01.png" id="2_ndjja"]
[ext_resource type="Texture2D" uid="uid://4mpha6wuvyfy" path="res://Assets/Spritesheets/Player/Farmer_Shirt_1_Black.png" id="3_ndjja"]
[ext_resource type="Texture2D" uid="uid://lqrfxvrdc4qq" path="res://Assets/Spritesheets/Player/Farmer_Pants_1_Black.png" id="4_nwemi"]
[ext_resource type="Texture2D" uid="uid://b1yikmomtafpg" path="res://Assets/Spritesheets/Player/Hands_1_Bare.png" id="5_jlj55"]
[ext_resource type="Texture2D" uid="uid://dw03nnfxdpb85" path="res://Assets/Spritesheets/Player/Shoes_1_Black.png" id="6_h1kk7"]
[sub_resource type="AtlasTexture" id="AtlasTexture_kg8vi"]
atlas = ExtResource("2_ndjja")
region = Rect2(0, 1472, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_eqnrc"]
atlas = ExtResource("2_ndjja")
region = Rect2(64, 1472, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_rr1pu"]
atlas = ExtResource("2_ndjja")
region = Rect2(128, 1472, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_85fw5"]
atlas = ExtResource("2_ndjja")
region = Rect2(0, 1536, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5dpey"]
atlas = ExtResource("2_ndjja")
region = Rect2(64, 1536, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_vk7kj"]
atlas = ExtResource("2_ndjja")
region = Rect2(128, 1536, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3ej6w"]
atlas = ExtResource("2_ndjja")
region = Rect2(0, 1600, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_j7iyf"]
atlas = ExtResource("2_ndjja")
region = Rect2(64, 1600, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_gw75a"]
atlas = ExtResource("2_ndjja")
region = Rect2(128, 1600, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_w2nd7"]
atlas = ExtResource("2_ndjja")
region = Rect2(192, 1472, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_rd4wh"]
atlas = ExtResource("2_ndjja")
region = Rect2(256, 1472, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_rwmr7"]
atlas = ExtResource("2_ndjja")
region = Rect2(320, 1472, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_na211"]
atlas = ExtResource("2_ndjja")
region = Rect2(192, 1536, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_kl0pt"]
atlas = ExtResource("2_ndjja")
region = Rect2(256, 1536, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_sdskq"]
atlas = ExtResource("2_ndjja")
region = Rect2(320, 1536, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1dk7p"]
atlas = ExtResource("2_ndjja")
region = Rect2(192, 1600, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5pvpc"]
atlas = ExtResource("2_ndjja")
region = Rect2(256, 1600, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3uof2"]
atlas = ExtResource("2_ndjja")
region = Rect2(320, 1600, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0s5vo"]
atlas = ExtResource("2_ndjja")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_iy4ef"]
atlas = ExtResource("2_ndjja")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1l5y2"]
atlas = ExtResource("2_ndjja")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_tbera"]
atlas = ExtResource("2_ndjja")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_6giml"]
atlas = ExtResource("2_ndjja")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_huf5g"]
atlas = ExtResource("2_ndjja")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bsgi0"]
atlas = ExtResource("2_ndjja")
region = Rect2(0, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_72dk0"]
atlas = ExtResource("2_ndjja")
region = Rect2(64, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_gwc2p"]
atlas = ExtResource("2_ndjja")
region = Rect2(128, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_g4n6s"]
atlas = ExtResource("2_ndjja")
region = Rect2(192, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_tvm7c"]
atlas = ExtResource("2_ndjja")
region = Rect2(256, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_amsyc"]
atlas = ExtResource("2_ndjja")
region = Rect2(320, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ei8qf"]
atlas = ExtResource("2_ndjja")
region = Rect2(0, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3fwgt"]
atlas = ExtResource("2_ndjja")
region = Rect2(64, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_83xkn"]
atlas = ExtResource("2_ndjja")
region = Rect2(128, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_df3jv"]
atlas = ExtResource("2_ndjja")
region = Rect2(192, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bwglw"]
atlas = ExtResource("2_ndjja")
region = Rect2(256, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_j74gm"]
atlas = ExtResource("2_ndjja")
region = Rect2(320, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_s6rq5"]
atlas = ExtResource("2_ndjja")
region = Rect2(0, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_pu3ni"]
atlas = ExtResource("2_ndjja")
region = Rect2(64, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qdlmc"]
atlas = ExtResource("2_ndjja")
region = Rect2(128, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_wfvue"]
atlas = ExtResource("2_ndjja")
region = Rect2(192, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_pdvtf"]
atlas = ExtResource("2_ndjja")
region = Rect2(256, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_k84dj"]
atlas = ExtResource("2_ndjja")
region = Rect2(320, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_thygw"]
atlas = ExtResource("2_ndjja")
region = Rect2(0, 256, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_soxdi"]
atlas = ExtResource("2_ndjja")
region = Rect2(64, 256, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bexkr"]
atlas = ExtResource("2_ndjja")
region = Rect2(128, 256, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7vbqj"]
atlas = ExtResource("2_ndjja")
region = Rect2(192, 256, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xlw27"]
atlas = ExtResource("2_ndjja")
region = Rect2(256, 256, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1unn3"]
atlas = ExtResource("2_ndjja")
region = Rect2(320, 256, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_n4kyy"]
atlas = ExtResource("2_ndjja")
region = Rect2(0, 320, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_6pm4n"]
atlas = ExtResource("2_ndjja")
region = Rect2(64, 320, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_2mqt6"]
atlas = ExtResource("2_ndjja")
region = Rect2(128, 320, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4bosx"]
atlas = ExtResource("2_ndjja")
region = Rect2(192, 320, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xx24f"]
atlas = ExtResource("2_ndjja")
region = Rect2(256, 320, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_fftbb"]
atlas = ExtResource("2_ndjja")
region = Rect2(320, 320, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_jqxwg"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_kg8vi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_eqnrc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rr1pu")
}],
"loop": false,
"name": &"drawing-bow-down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_85fw5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5dpey")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vk7kj")
}],
"loop": false,
"name": &"drawing-bow-side",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_3ej6w")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j7iyf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gw75a")
}],
"loop": false,
"name": &"drawing-bow-up",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_w2nd7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rd4wh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rwmr7")
}],
"loop": false,
"name": &"firing-arrow-down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_na211")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kl0pt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sdskq")
}],
"loop": false,
"name": &"firing-arrow-side",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_1dk7p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5pvpc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3uof2")
}],
"loop": false,
"name": &"firing-arrow-up",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_0s5vo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iy4ef")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1l5y2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tbera")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6giml")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_huf5g")
}],
"loop": true,
"name": &"idle-down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_bsgi0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_72dk0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gwc2p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g4n6s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tvm7c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_amsyc")
}],
"loop": true,
"name": &"idle-side",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ei8qf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3fwgt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_83xkn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_df3jv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwglw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j74gm")
}],
"loop": true,
"name": &"idle-up",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_s6rq5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pu3ni")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qdlmc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wfvue")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pdvtf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_k84dj")
}],
"loop": true,
"name": &"walking-down",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_thygw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_soxdi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bexkr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7vbqj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xlw27")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1unn3")
}],
"loop": true,
"name": &"walking-side",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_n4kyy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6pm4n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2mqt6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4bosx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xx24f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fftbb")
}],
"loop": true,
"name": &"walking-up",
"speed": 10.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_f8npw"]
atlas = ExtResource("1_45g06")
region = Rect2(0, 1920, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5g3w8"]
atlas = ExtResource("1_45g06")
region = Rect2(64, 1920, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_8smud"]
atlas = ExtResource("1_45g06")
region = Rect2(128, 1920, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_40svl"]
atlas = ExtResource("1_45g06")
region = Rect2(0, 0, 64, 64)
@@ -108,6 +562,20 @@ region = Rect2(320, 192, 64, 64)
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_f8npw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5g3w8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8smud")
}],
"loop": false,
"name": &"draw-bow-side",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_40svl")
}, {
"duration": 1.0,
@@ -199,6 +667,18 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_6od0l"]
atlas = ExtResource("2_jqxwg")
region = Rect2(0, 1920, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nlred"]
atlas = ExtResource("2_jqxwg")
region = Rect2(64, 1920, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_rrb3g"]
atlas = ExtResource("2_jqxwg")
region = Rect2(128, 1920, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_gdgf0"]
atlas = ExtResource("2_jqxwg")
region = Rect2(0, 0, 64, 64)
@@ -299,6 +779,20 @@ region = Rect2(320, 192, 64, 64)
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6od0l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nlred")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rrb3g")
}],
"loop": false,
"name": &"draw-bow-side",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_gdgf0")
}, {
"duration": 1.0,
@@ -1155,34 +1649,68 @@ animations = [{
}]
[node name="Sprite" type="Node2D" unique_id=1169131604]
y_sort_enabled = true
script = ExtResource("1_jqxwg")
[node name="Base" type="AnimatedSprite2D" parent="." unique_id=2054948028]
sprite_frames = SubResource("SpriteFrames_gdgf0")
animation = &"walking-down"
[node name="Full" type="AnimatedSprite2D" parent="." unique_id=1296959783]
position = Vector2(0, 7)
sprite_frames = SubResource("SpriteFrames_jqxwg")
animation = &"idle-down"
autoplay = "idle-down"
offset = Vector2(0, -7)
[node name="Base" type="AnimatedSprite2D" parent="." unique_id=2054948028]
visible = false
y_sort_enabled = true
position = Vector2(0, 7)
sprite_frames = SubResource("SpriteFrames_gdgf0")
animation = &"idle-down"
autoplay = "idle-down"
offset = Vector2(0, -7)
[node name="Hair" type="AnimatedSprite2D" parent="." unique_id=231591242]
visible = false
y_sort_enabled = true
position = Vector2(0, 7)
sprite_frames = SubResource("SpriteFrames_xccyk")
animation = &"walking-down"
animation = &"idle-down"
autoplay = "idle-down"
offset = Vector2(0, -7)
[node name="Shirt" type="AnimatedSprite2D" parent="." unique_id=973518035]
visible = false
y_sort_enabled = true
position = Vector2(0, 7)
sprite_frames = SubResource("SpriteFrames_uxymp")
animation = &"walking-down"
animation = &"idle-down"
autoplay = "idle-down"
offset = Vector2(0, -7)
[node name="Pants" type="AnimatedSprite2D" parent="." unique_id=1239862223]
visible = false
y_sort_enabled = true
position = Vector2(0, 7)
sprite_frames = SubResource("SpriteFrames_inlw8")
animation = &"walking-down"
animation = &"idle-down"
autoplay = "idle-down"
offset = Vector2(0, -7)
[node name="Hands" type="AnimatedSprite2D" parent="." unique_id=1598152304]
visible = false
y_sort_enabled = true
position = Vector2(0, 7)
sprite_frames = SubResource("SpriteFrames_m75h8")
animation = &"walking-down"
animation = &"idle-down"
autoplay = "idle-down"
offset = Vector2(0, -7)
[node name="Shoes" type="AnimatedSprite2D" parent="." unique_id=482154148]
visible = false
y_sort_enabled = true
position = Vector2(0, 7)
sprite_frames = SubResource("SpriteFrames_2davj")
animation = &"walking-down"
animation = &"idle-down"
autoplay = "idle-down"
offset = Vector2(0, -7)
[connection signal="animation_finished" from="Full" to="." method="OnAnimationFinished"]

View File

@@ -0,0 +1,7 @@
[gd_scene format=3 uid="uid://303hbhqetdhy"]
[ext_resource type="Script" uid="uid://dvgd5ejerauqm" path="res://Scripts/Entity Spawners/arrow_spawner.gd" id="1_dsltu"]
[node name="Arrow Spawner" type="Node" unique_id=627092886 node_paths=PackedStringArray("arrow_parent")]
script = ExtResource("1_dsltu")
arrow_parent = NodePath("")

View File

@@ -0,0 +1,7 @@
[gd_scene format=3 uid="uid://divmfeqf10ri1"]
[ext_resource type="Script" uid="uid://c5yjcjk51l4bd" path="res://Scripts/Maps/Connectors/bench_interaction_connector.gd" id="1_34r4h"]
[node name="Bench Interaction Connector" type="Node" unique_id=541204437 node_paths=PackedStringArray("player")]
script = ExtResource("1_34r4h")
player = NodePath("")

View File

@@ -0,0 +1,6 @@
[gd_scene format=3 uid="uid://dl2jpjtbiju34"]
[ext_resource type="Script" uid="uid://dw76slp457s1v" path="res://Scripts/Maps/Connectors/chest_interaction_connector.gd" id="1_aitih"]
[node name="Chest Interaction Connector" type="Node" unique_id=625804018]
script = ExtResource("1_aitih")

View File

@@ -0,0 +1,6 @@
[gd_scene format=3 uid="uid://b03s7fw8bxdxs"]
[ext_resource type="Script" uid="uid://d3hhbegfxdnqq" path="res://Scripts/Maps/Connectors/interactive_loading_zone_connector.gd" id="1_2sjeq"]
[node name="Interactive Loading Zone Connector" type="Node" unique_id=833475826]
script = ExtResource("1_2sjeq")

View File

@@ -0,0 +1,8 @@
[gd_scene format=3 uid="uid://did853bh5xeic"]
[ext_resource type="Script" uid="uid://dkcsftcdqtmg" path="res://Scripts/Maps/Connectors/spawn_marker_connector.gd" id="1_kb3a7"]
[node name="Spawn Marker Connector" type="Node" unique_id=807187299 node_paths=PackedStringArray("player", "markers")]
script = ExtResource("1_kb3a7")
player = NodePath("")
markers = NodePath("")

View File

@@ -0,0 +1,139 @@
[gd_scene format=4 uid="uid://laxewy7irxno"]
[ext_resource type="Script" uid="uid://dbscr0b7k3rtp" path="res://Scripts/Maps/Connectors/collision_loading_zone_connector.gd" id="1_18bbf"]
[ext_resource type="TileSet" uid="uid://df0lg5vkqwbbt" path="res://Resources/Tilesets/home_interior.tres" id="1_rf04x"]
[ext_resource type="Script" uid="uid://dkcsftcdqtmg" path="res://Scripts/Maps/Connectors/spawn_marker_connector.gd" id="2_16uj4"]
[ext_resource type="PackedScene" uid="uid://ca75b65eh7vv8" path="res://Scenes/Objects/Loading Zone/collision_loading_zone.tscn" id="2_fdso5"]
[ext_resource type="PackedScene" uid="uid://6athlweutl2g" path="res://Scenes/Characters/Player/player.tscn" id="2_lky26"]
[ext_resource type="PackedScene" uid="uid://bbules4o3xayc" path="res://Scenes/Objects/Loading Zone/loading_zone_transporter.tscn" id="3_7kg22"]
[ext_resource type="PackedScene" uid="uid://dl2jpjtbiju34" path="res://Scenes/Maps/Connectors/chest_interaction_connector.tscn" id="3_ec540"]
[ext_resource type="PackedScene" uid="uid://b7u4hlvuqiefn" path="res://Scenes/Objects/Chests/Item Chests/item_chest_02 (Metal).tscn" id="4_a58cd"]
[ext_resource type="PackedScene" uid="uid://b60nr4wfvijpf" path="res://Scenes/Objects/Dialogue/dialogue_trigger.tscn" id="5_msu6a"]
[ext_resource type="Texture2D" uid="uid://bm5ewxv51potl" path="res://Assets/Spritesheets/NPCs/Miner_Mike.png" id="6_x3y8m"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7kg22"]
size = Vector2(32, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_a58cd"]
atlas = ExtResource("6_x3y8m")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_msu6a"]
atlas = ExtResource("6_x3y8m")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ec540"]
atlas = ExtResource("6_x3y8m")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_6xfm6"]
atlas = ExtResource("6_x3y8m")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nhbhl"]
atlas = ExtResource("6_x3y8m")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1662b"]
atlas = ExtResource("6_x3y8m")
region = Rect2(320, 0, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_qunaf"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_a58cd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_msu6a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ec540")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6xfm6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nhbhl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1662b")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Home 01" type="Node2D" unique_id=1401818514]
y_sort_enabled = true
[node name="Collision Loading Zone Connector" type="Node" parent="." unique_id=483597596]
script = ExtResource("1_18bbf")
[node name="Spawn Marker Connector" type="Node" parent="." unique_id=296643918 node_paths=PackedStringArray("player", "markers")]
script = ExtResource("2_16uj4")
player = NodePath("../Player")
markers = NodePath("../Spawn Markers")
[node name="Chest Interaction Connector" parent="." unique_id=625804018 instance=ExtResource("3_ec540")]
[node name="Tilemap" type="Node2D" parent="." unique_id=894627186]
y_sort_enabled = true
[node name="Structure" type="TileMapLayer" parent="Tilemap" unique_id=1211329497]
tile_map_data = PackedByteArray("AAACAAUAAQAGAAAAAAACAAYAAQAGAAEAAAACAAcAAQAGAAAAAAADAAUAAQAHAAAAAAADAAYAAQAHAAEAAAADAAcAAQAHAAAAAAAEAAUAAQAGAAAAAAAEAAYAAQAGAAEAAAAEAAcAAQAGAAAAAAAFAAUAAQAHAAAAAAAFAAYAAQAHAAEAAAAFAAcAAQAHAAAAAAAGAAUAAQAGAAAAAAAGAAYAAQAGAAEAAAAGAAcAAQAGAAAAAAAHAAUAAQAHAAAAAAAHAAYAAQAHAAEAAAAHAAcAAQAHAAAAAAAIAAUAAQAGAAAAAAAIAAYAAQAGAAEAAAAIAAcAAQAGAAAAAAAJAAUAAQAHAAAAAAAJAAYAAQAHAAEAAAAJAAcAAQAHAAAAAAAKAAUAAQAGAAAAAAAKAAYAAQAGAAEAAAAKAAcAAQAGAAAAAAALAAUAAQAHAAAAAAALAAYAAQAHAAEAAAALAAcAAQAHAAAAAAAMAAUAAQAGAAAAAAAMAAYAAQAGAAEAAAAMAAcAAQAGAAAAAAANAAUAAQAHAAAAAAANAAYAAQAHAAEAAAANAAcAAQAHAAAAAAACAAgAAQAGAAEAAAACAAkAAQAGAAAAAAACAAoAAQAGAAEAAAADAAgAAQAHAAEAAAADAAkAAQAHAAAAAAADAAoAAQAHAAEAAAAEAAgAAQAGAAEAAAAEAAkAAQAGAAAAAAAEAAoAAQAGAAEAAAAFAAgAAQAHAAEAAAAFAAkAAQAHAAAAAAAFAAoAAQAHAAEAAAAGAAgAAQAGAAEAAAAGAAkAAQAGAAAAAAAGAAoAAQAGAAEAAAAHAAgAAQAHAAEAAAAHAAkAAQAHAAAAAAAHAAoAAQAHAAEAAAAIAAgAAQAGAAEAAAAIAAkAAQAGAAAAAAAIAAoAAQAGAAEAAAAJAAgAAQAHAAEAAAAJAAkAAQAHAAAAAAAJAAoAAQAHAAEAAAAKAAgAAQAGAAEAAAAKAAkAAQAGAAAAAAAKAAoAAQAGAAEAAAALAAgAAQAHAAEAAAALAAkAAQAHAAAAAAALAAoAAQAHAAEAAAAMAAgAAQAGAAEAAAAMAAkAAQAGAAAAAAAMAAoAAQAGAAEAAAANAAgAAQAHAAEAAAANAAkAAQAHAAAAAAANAAoAAQAHAAEAAAACAAQAAAAGAAUAAAACAAIAAAAGAAMAAAACAAMAAAAGAAQAAAANAAIAAAAHAAMAAAANAAMAAAAHAAQAAAANAAQAAAAHAAUAAAADAAIAAAABAAMAAAADAAMAAAABAAQAAAADAAQAAAABAAUAAAAEAAIAAAABAAMAAAAEAAMAAAABAAQAAAAEAAQAAAABAAUAAAAFAAIAAAABAAMAAAAFAAMAAAABAAQAAAAFAAQAAAABAAUAAAAGAAIAAAABAAMAAAAGAAMAAAABAAQAAAAGAAQAAAABAAUAAAAHAAIAAAABAAMAAAAHAAMAAAABAAQAAAAHAAQAAAABAAUAAAAIAAIAAAABAAMAAAAIAAMAAAABAAQAAAAIAAQAAAABAAUAAAAJAAIAAAABAAMAAAAJAAMAAAABAAQAAAAJAAQAAAABAAUAAAAKAAIAAAABAAMAAAAKAAMAAAABAAQAAAAKAAQAAAABAAUAAAALAAIAAAABAAMAAAALAAMAAAABAAQAAAALAAQAAAABAAUAAAAMAAIAAAABAAMAAAAMAAMAAAABAAQAAAAMAAQAAAABAAUAAAAOAAIAAAACAAEAAAAOAAMAAAACAAEAAAAOAAQAAAACAAEAAAAOAAUAAAACAAEAAAAOAAYAAAACAAEAAAAOAAcAAAACAAEAAAAOAAgAAAACAAEAAAAOAAkAAAACAAEAAAAOAAoAAAACAAEAAAACAAEAAAABAAAAAAADAAEAAAABAAAAAAAEAAEAAAABAAAAAAAFAAEAAAABAAAAAAAGAAEAAAABAAAAAAAHAAEAAAABAAAAAAAIAAEAAAABAAAAAAAJAAEAAAABAAAAAAAKAAEAAAABAAAAAAALAAEAAAABAAAAAAAMAAEAAAABAAAAAAANAAEAAAABAAAAAAABAAIAAAAAAAEAAAABAAMAAAAAAAEAAAABAAQAAAAAAAEAAAABAAUAAAAAAAEAAAABAAYAAAAAAAEAAAABAAcAAAAAAAEAAAABAAgAAAAAAAEAAAABAAkAAAAAAAEAAAABAAoAAAAAAAEAAAACAAsAAAABAAIAAAADAAsAAAAEAAEAAAAMAAsAAAABAAIAAAANAAsAAAABAAIAAAABAAEAAAAAAAAAAAAOAAEAAAACAAAAAAABAAsAAAAAAAIAAAAOAAsAAAACAAIAAAALAAsAAAABAAIAAAAKAAsAAAABAAIAAAAJAAsAAAABAAIAAAAIAAsAAAABAAIAAAAHAAsAAAABAAIAAAAGAAsAAAADAAEAAAAEAAsAAQAHAAAAAAAFAAsAAQAHAAAAAAA=")
tile_set = ExtResource("1_rf04x")
[node name="Decor" type="TileMapLayer" parent="Tilemap" unique_id=941487815]
y_sort_enabled = true
tile_map_data = PackedByteArray("AAADAAQABAAAAAAAAAAEAAUABQAAAAAAAAACAAgAAgAAAAIAAAACAAkAAgAAAAMAAAADAAgAAgACAAIAAAADAAkAAgACAAMAAAAEAAgACQADAAAAAAAMAAUACwAAAAgAAAAIAAMACgAGAAAAAAA=")
tile_set = ExtResource("1_rf04x")
[node name="Decor 2" type="TileMapLayer" parent="Tilemap" unique_id=1988290805]
y_sort_enabled = true
tile_map_data = PackedByteArray("AAADAAgABwAAAAQAAAA=")
tile_set = ExtResource("1_rf04x")
[node name="Objects" type="Node2D" parent="." unique_id=1163373560]
y_sort_enabled = true
[node name="Item Chest 02" parent="Objects" unique_id=152271802 node_paths=PackedStringArray("locked_message_dialogue_trigger") instance=ExtResource("4_a58cd")]
position = Vector2(206, 117)
is_locked = true
locked_message_dialogue_trigger = NodePath("Locked Dialogue Trigger")
[node name="Locked Dialogue Trigger" parent="Objects/Item Chest 02" unique_id=189867444 instance=ExtResource("5_msu6a")]
dialogue_name = "MSG_FOREST_DUNGEON_ENTRANCE_HOME_01_LOCKED_CHEST_01"
[node name="Loading Zones" type="Node2D" parent="." unique_id=1862302491]
[node name="Collision Loading Zone" parent="Loading Zones" unique_id=1043800735 node_paths=PackedStringArray("loading_zone_transporter") instance=ExtResource("2_fdso5")]
loading_zone_transporter = NodePath("Loading Zone Transporter")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Loading Zones/Collision Loading Zone" unique_id=2049955470]
position = Vector2(80, 188)
shape = SubResource("RectangleShape2D_7kg22")
[node name="Loading Zone Transporter" parent="Loading Zones/Collision Loading Zone" unique_id=1690817663 instance=ExtResource("3_7kg22")]
destination_marker_name = "Home 01 Entrance"
[node name="Spawn Markers" type="Node2D" parent="." unique_id=1756787676]
[node name="Entrance" type="Marker2D" parent="Spawn Markers" unique_id=421447336]
position = Vector2(80, 175)
[node name="NPCs" type="Node2D" parent="." unique_id=1965309351]
[node name="CharacterBody2D" type="CharacterBody2D" parent="NPCs" unique_id=1487693855]
position = Vector2(93, 85)
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="NPCs/CharacterBody2D" unique_id=1921427945]
sprite_frames = SubResource("SpriteFrames_qunaf")
autoplay = "default"
[node name="Camera2D" type="Camera2D" parent="." unique_id=2134984506]
position = Vector2(127, 110)
zoom = Vector2(3, 3)
[node name="Player" parent="." unique_id=1502234578 instance=ExtResource("2_lky26")]
position = Vector2(108, 139)

File diff suppressed because one or more lines are too long

View File

@@ -4,10 +4,13 @@
[ext_resource type="TileSet" uid="uid://df0lg5vkqwbbt" path="res://Resources/Tilesets/home_interior.tres" id="2_kt7c3"]
[ext_resource type="Script" uid="uid://cpr710p4wdgx" path="res://Scripts/Maps/Connectors/shop_item_label_connector.gd" id="2_r8s0p"]
[ext_resource type="PackedScene" uid="uid://ddgeo3vwebqeg" path="res://Scenes/Objects/shop_item.tscn" id="3_7ftpj"]
[ext_resource type="Script" uid="uid://dkcsftcdqtmg" path="res://Scripts/Maps/Connectors/spawn_marker_connector.gd" id="3_t8w5b"]
[ext_resource type="Texture2D" uid="uid://hop1gedjh8s4" path="res://Assets/Spritesheets/Player/icons_full_32.png" id="4_r8s0p"]
[ext_resource type="PackedScene" uid="uid://6athlweutl2g" path="res://Scenes/Characters/Player/player.tscn" id="5_6ky6i"]
[ext_resource type="Texture2D" uid="uid://crebnygky3qv0" path="res://Assets/Sprites/Black Square.png" id="6_kt7c3"]
[ext_resource type="PackedScene" uid="uid://bbules4o3xayc" path="res://Scenes/Objects/Loading Zone/loading_zone_transporter.tscn" id="6_t8w5b"]
[ext_resource type="Texture2D" uid="uid://bf6llktwqhs8l" path="res://Assets/Sprites/Door Fade.png" id="7_7ftpj"]
[ext_resource type="PackedScene" uid="uid://ca75b65eh7vv8" path="res://Scenes/Objects/Loading Zone/collision_loading_zone.tscn" id="9_kp1fr"]
[sub_resource type="AtlasTexture" id="AtlasTexture_fdj0q"]
atlas = ExtResource("4_r8s0p")
@@ -30,12 +33,20 @@ region = Rect2(32, 544, 32, 32)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kt7c3"]
size = Vector2(12, 6)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kp1fr"]
size = Vector2(32, 6)
[node name="Shop" type="Node2D" unique_id=547318403]
script = ExtResource("1_83xsp")
[node name="Shop Item Notification Connector" type="Node" parent="." unique_id=1088308326]
script = ExtResource("2_r8s0p")
[node name="Spawn Marker Connector" type="Node" parent="." unique_id=2053338893 node_paths=PackedStringArray("player", "markers")]
script = ExtResource("3_t8w5b")
player = NodePath("../Player")
markers = NodePath("../Spawn Markers")
[node name="Tilemap" type="Node2D" parent="." unique_id=81778152]
[node name="TileMapLayer" type="TileMapLayer" parent="Tilemap" unique_id=1856499099]
@@ -87,6 +98,23 @@ position = Vector2(0, 7)
shape = SubResource("RectangleShape2D_kt7c3")
debug_color = Color(0.9710676, 0.103622, 0.35069537, 0.41960785)
[node name="Loading Zones" type="Node2D" parent="." unique_id=525992692]
[node name="Collision Loading Zone" parent="Loading Zones" unique_id=1043800735 node_paths=PackedStringArray("loading_zone_transporter") instance=ExtResource("9_kp1fr")]
loading_zone_transporter = NodePath("Loading Zone Transporter")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Loading Zones/Collision Loading Zone" unique_id=1798970421]
position = Vector2(224, 243)
shape = SubResource("RectangleShape2D_kp1fr")
[node name="Loading Zone Transporter" parent="Loading Zones/Collision Loading Zone" unique_id=1690817663 instance=ExtResource("6_t8w5b")]
destination_marker_name = "Shop Entrance"
[node name="Spawn Markers" type="Node2D" parent="." unique_id=680471197]
[node name="Shop Entrance" type="Marker2D" parent="Spawn Markers" unique_id=122141189]
position = Vector2(223, 225)
[node name="Player" parent="." unique_id=1502234578 instance=ExtResource("5_6ky6i")]
position = Vector2(289, 174)

View File

@@ -0,0 +1,19 @@
[gd_scene format=3 uid="uid://bjufxlsrlcuas"]
[ext_resource type="Texture2D" uid="uid://b4pkng5oqj7ex" path="res://Assets/Sprites/Buildings/Houses/Wood/House_1_Wood_Base_Red.png" id="1_khh77"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_khh77"]
size = Vector2(64, 32)
[node name="Home 01" type="StaticBody2D" unique_id=2084767105]
y_sort_enabled = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2100279943]
position = Vector2(0, 32)
shape = SubResource("RectangleShape2D_khh77")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=2016922056]
y_sort_enabled = true
position = Vector2(0, 48)
texture = ExtResource("1_khh77")
offset = Vector2(0, -48)

View File

@@ -0,0 +1,9 @@
[gd_scene format=3 uid="uid://cd3iyspcdg8m"]
[ext_resource type="Script" uid="uid://0fsmtp1umvmp" path="res://Scripts/Objects/Chests/Bases/chest_base.gd" id="1_6u2sl"]
[node name="Base Chest" type="StaticBody2D" unique_id=975880832 groups=["Treasure Chest Group"]]
y_sort_enabled = true
collision_layer = 2
collision_mask = 2
script = ExtResource("1_6u2sl")

View File

@@ -0,0 +1,7 @@
[gd_scene format=3 uid="uid://cncm0c4dmosgs"]
[ext_resource type="Script" uid="uid://dbuc0f87m24xf" path="res://Scripts/Objects/Chests/Bases/item_chest.gd" id="1_mkt0u"]
[node name="Base Item Chest" type="StaticBody2D" unique_id=991903258]
script = ExtResource("1_mkt0u")
metadata/_custom_type_script = "uid://0fsmtp1umvmp"

View File

@@ -0,0 +1,105 @@
[gd_scene format=3 uid="uid://byp273amg5ji8"]
[ext_resource type="Script" uid="uid://bvq13h8uyx572" path="res://Scripts/Objects/Chests/item_chest_01.gd" id="1_lp0kr"]
[ext_resource type="PackedScene" uid="uid://d3rqn611axsfk" path="res://Scenes/Animated Sprites/chest01_sprite.tscn" id="2_iwcc8"]
[ext_resource type="Texture2D" uid="uid://crf23tc55dxu" path="res://Assets/Spritesheets/Treasure Chests/Chest_Anim.png" id="3_iwcc8"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y3ooa"]
size = Vector2(16, 6)
[sub_resource type="AtlasTexture" id="AtlasTexture_b5bus"]
atlas = ExtResource("3_iwcc8")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_8m6gq"]
atlas = ExtResource("3_iwcc8")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_2vpuu"]
atlas = ExtResource("3_iwcc8")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ydixn"]
atlas = ExtResource("3_iwcc8")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wetyp"]
atlas = ExtResource("3_iwcc8")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_hwpw4"]
atlas = ExtResource("3_iwcc8")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_clx0v"]
atlas = ExtResource("3_iwcc8")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_t1w70"]
atlas = ExtResource("3_iwcc8")
region = Rect2(80, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_0r744"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_b5bus")
}],
"loop": false,
"name": &"closed",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_8m6gq")
}],
"loop": true,
"name": &"opened",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_2vpuu")
}, {
"duration": 3.0,
"texture": SubResource("AtlasTexture_ydixn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wetyp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hwpw4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_clx0v")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t1w70")
}],
"loop": false,
"name": &"opening",
"speed": 10.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_t6vq7"]
size = Vector2(8, 9)
[node name="Item Chest 01" type="StaticBody2D" unique_id=152271802 groups=["Treasure Chest Group"]]
script = ExtResource("1_lp0kr")
metadata/_custom_type_script = "uid://dbuc0f87m24xf"
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=192723247]
position = Vector2(0, -3)
shape = SubResource("RectangleShape2D_y3ooa")
[node name="Sprite" parent="." unique_id=1811986888 instance=ExtResource("2_iwcc8")]
sprite_frames = SubResource("SpriteFrames_0r744")
[node name="Interactable" type="Area2D" parent="." unique_id=406451066]
collision_layer = 2
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Interactable" unique_id=124862139]
position = Vector2(0, -9.5)
shape = SubResource("RectangleShape2D_t6vq7")
debug_color = Color(0.8351757, 0.36057177, 0.39313078, 0.41960785)

View File

@@ -0,0 +1,106 @@
[gd_scene format=3 uid="uid://b7u4hlvuqiefn"]
[ext_resource type="Script" uid="uid://bvq13h8uyx572" path="res://Scripts/Objects/Chests/item_chest_01.gd" id="1_77oue"]
[ext_resource type="PackedScene" uid="uid://d3rqn611axsfk" path="res://Scenes/Animated Sprites/chest01_sprite.tscn" id="2_jpeii"]
[ext_resource type="Texture2D" uid="uid://dcbk854sc3uud" path="res://Assets/Spritesheets/Home Decor/Metal_Chest_Anim.png" id="3_jpeii"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y3ooa"]
size = Vector2(16, 6)
[sub_resource type="AtlasTexture" id="AtlasTexture_1k0b3"]
atlas = ExtResource("3_jpeii")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ydgix"]
atlas = ExtResource("3_jpeii")
region = Rect2(80, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_s4uuj"]
atlas = ExtResource("3_jpeii")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_f64hp"]
atlas = ExtResource("3_jpeii")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_xb452"]
atlas = ExtResource("3_jpeii")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_mmcbf"]
atlas = ExtResource("3_jpeii")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_p1iln"]
atlas = ExtResource("3_jpeii")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wsmdh"]
atlas = ExtResource("3_jpeii")
region = Rect2(80, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_2qcbe"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_1k0b3")
}],
"loop": false,
"name": &"closed",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ydgix")
}],
"loop": true,
"name": &"opened",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_s4uuj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_f64hp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xb452")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mmcbf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_p1iln")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wsmdh")
}],
"loop": false,
"name": &"opening",
"speed": 10.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_t6vq7"]
size = Vector2(8, 9)
[node name="Item Chest 02" type="StaticBody2D" unique_id=152271802 groups=["Treasure Chest Group"]]
script = ExtResource("1_77oue")
metadata/_custom_type_script = "uid://dbuc0f87m24xf"
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=192723247]
position = Vector2(0, -3)
shape = SubResource("RectangleShape2D_y3ooa")
[node name="Sprite" parent="." unique_id=1811986888 instance=ExtResource("2_jpeii")]
sprite_frames = SubResource("SpriteFrames_2qcbe")
animation = &"opening"
[node name="Interactable" type="Area2D" parent="." unique_id=406451066]
collision_layer = 2
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Interactable" unique_id=124862139]
position = Vector2(0, -9.5)
shape = SubResource("RectangleShape2D_t6vq7")
debug_color = Color(0.8351757, 0.36057177, 0.39313078, 0.41960785)

View File

@@ -0,0 +1,48 @@
[gd_scene format=3 uid="uid://23tpba4r6ucg"]
[ext_resource type="Texture2D" uid="uid://nocnsf1xr3ap" path="res://Assets/Spritesheets/Outdoor Decor/Benches.png" id="1_jlu4v"]
[ext_resource type="Script" uid="uid://c6n652dy18xbm" path="res://Scripts/Objects/Decorative/Outdoor/wooden_bench.gd" id="1_nv27i"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nv27i"]
size = Vector2(30, 11)
[sub_resource type="AtlasTexture" id="AtlasTexture_ffqsr"]
atlas = ExtResource("1_jlu4v")
region = Rect2(32, 0, 32, 32)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jlu4v"]
size = Vector2(30, 8)
[node name="Wooden Bench" type="StaticBody2D" unique_id=134763703]
y_sort_enabled = true
collision_mask = 0
script = ExtResource("1_nv27i")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1606779105]
position = Vector2(0, 3.5)
shape = SubResource("RectangleShape2D_nv27i")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=277583581]
y_sort_enabled = true
position = Vector2(0, 5)
texture = SubResource("AtlasTexture_ffqsr")
offset = Vector2(0, -5)
[node name="Sitting Spots" type="Node2D" parent="." unique_id=1579486993]
[node name="Marker2D" type="Marker2D" parent="Sitting Spots" unique_id=1705252915]
position = Vector2(-9, 0)
[node name="Marker2D2" type="Marker2D" parent="Sitting Spots" unique_id=1990058096]
position = Vector2(9, 0)
[node name="Marker2D3" type="Marker2D" parent="Sitting Spots" unique_id=1451254051]
[node name="Interactable" type="Area2D" parent="." unique_id=1791036565]
collision_layer = 2
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Interactable" unique_id=1358423659]
position = Vector2(0, 2)
shape = SubResource("RectangleShape2D_jlu4v")
debug_color = Color(0.991744, 0, 0.26762646, 0.41960785)

View File

@@ -0,0 +1,23 @@
[gd_scene format=3 uid="uid://dwbg6wca6yl5j"]
[ext_resource type="Texture2D" uid="uid://fsdihflna5x8" path="res://Assets/Spritesheets/Outdoor Decor/Signs.png" id="1_i0umk"]
[sub_resource type="CircleShape2D" id="CircleShape2D_mo7c5"]
radius = 4.0
[sub_resource type="AtlasTexture" id="AtlasTexture_3a56g"]
atlas = ExtResource("1_i0umk")
region = Rect2(0, 144, 32, 48)
[node name="Wooden Sign 01" type="StaticBody2D" unique_id=940755730]
y_sort_enabled = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1879872203]
position = Vector2(7, 20)
shape = SubResource("CircleShape2D_mo7c5")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=824773966]
y_sort_enabled = true
position = Vector2(0, 22)
texture = SubResource("AtlasTexture_3a56g")
offset = Vector2(0, -22)

View File

@@ -0,0 +1,24 @@
[gd_scene format=3 uid="uid://coaf2ndwb6h61"]
[ext_resource type="Texture2D" uid="uid://fsdihflna5x8" path="res://Assets/Spritesheets/Outdoor Decor/Signs.png" id="1_7fm5q"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7fm5q"]
size = Vector2(4, 4)
[sub_resource type="AtlasTexture" id="AtlasTexture_83w4c"]
atlas = ExtResource("1_7fm5q")
region = Rect2(48, 0, 16, 16)
[node name="Wooden Sign 02" type="StaticBody2D" unique_id=1825670645]
y_sort_enabled = true
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1251542595]
position = Vector2(0, 5)
shape = SubResource("RectangleShape2D_7fm5q")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=679110181]
y_sort_enabled = true
position = Vector2(0, 7)
texture = SubResource("AtlasTexture_83w4c")
offset = Vector2(0, -7)

View File

@@ -0,0 +1,8 @@
[gd_scene format=3 uid="uid://b60nr4wfvijpf"]
[ext_resource type="Script" uid="uid://cfsfx0sahh5t7" path="res://Scripts/Objects/Dialogue/dialogue_trigger.gd" id="1_dyjvr"]
[node name="Dialogue Trigger" type="Area2D" unique_id=189867444 groups=["Dialog Trigger Group"]]
collision_layer = 2
collision_mask = 0
script = ExtResource("1_dyjvr")

View File

@@ -0,0 +1,400 @@
[gd_scene format=3 uid="uid://da4qqruhldc6b"]
[ext_resource type="Texture2D" uid="uid://1kmd0qww3368" path="res://Assets/Spritesheets/Outdoor Objects/Spike_Gate_anim.png" id="1_5ttkm"]
[ext_resource type="Script" uid="uid://8erg53skow38" path="res://Scripts/Objects/Gates/Spike Gate/spike_gate.gd" id="1_kye8r"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5ttkm"]
size = Vector2(29, 4)
[sub_resource type="AtlasTexture" id="AtlasTexture_kye8r"]
atlas = ExtResource("1_5ttkm")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_rnxg7"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1536, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_5ttkm"]
atlas = ExtResource("1_5ttkm")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_pki7h"]
atlas = ExtResource("1_5ttkm")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_lvs8d"]
atlas = ExtResource("1_5ttkm")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_40kpl"]
atlas = ExtResource("1_5ttkm")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ms1vp"]
atlas = ExtResource("1_5ttkm")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_tvc1a"]
atlas = ExtResource("1_5ttkm")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vy5ys"]
atlas = ExtResource("1_5ttkm")
region = Rect2(192, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_u2ylj"]
atlas = ExtResource("1_5ttkm")
region = Rect2(224, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_gjiar"]
atlas = ExtResource("1_5ttkm")
region = Rect2(256, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_1dqry"]
atlas = ExtResource("1_5ttkm")
region = Rect2(288, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_jck8c"]
atlas = ExtResource("1_5ttkm")
region = Rect2(320, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_5xkn8"]
atlas = ExtResource("1_5ttkm")
region = Rect2(352, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_iv6vj"]
atlas = ExtResource("1_5ttkm")
region = Rect2(384, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_i530s"]
atlas = ExtResource("1_5ttkm")
region = Rect2(416, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_d6ylt"]
atlas = ExtResource("1_5ttkm")
region = Rect2(448, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_xtjjs"]
atlas = ExtResource("1_5ttkm")
region = Rect2(480, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ci8mo"]
atlas = ExtResource("1_5ttkm")
region = Rect2(512, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_gmmov"]
atlas = ExtResource("1_5ttkm")
region = Rect2(544, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vfoxu"]
atlas = ExtResource("1_5ttkm")
region = Rect2(576, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ho6i7"]
atlas = ExtResource("1_5ttkm")
region = Rect2(608, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_iubls"]
atlas = ExtResource("1_5ttkm")
region = Rect2(640, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_m3ksf"]
atlas = ExtResource("1_5ttkm")
region = Rect2(672, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_0822b"]
atlas = ExtResource("1_5ttkm")
region = Rect2(704, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_52ayd"]
atlas = ExtResource("1_5ttkm")
region = Rect2(736, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_q0cp4"]
atlas = ExtResource("1_5ttkm")
region = Rect2(768, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_bjex2"]
atlas = ExtResource("1_5ttkm")
region = Rect2(800, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_sa64n"]
atlas = ExtResource("1_5ttkm")
region = Rect2(832, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_wnpnr"]
atlas = ExtResource("1_5ttkm")
region = Rect2(864, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_edpr7"]
atlas = ExtResource("1_5ttkm")
region = Rect2(896, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_n1dnq"]
atlas = ExtResource("1_5ttkm")
region = Rect2(928, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_oeoqj"]
atlas = ExtResource("1_5ttkm")
region = Rect2(960, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_t83ji"]
atlas = ExtResource("1_5ttkm")
region = Rect2(992, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_x467m"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1024, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_6y5l3"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1056, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_dxjpb"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1088, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_dnpsp"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1120, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_u3fxw"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1152, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_pq5cv"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1184, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_03fuj"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1216, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_qtdja"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1248, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_gpmon"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1280, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_dt18d"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1312, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_mvctv"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1344, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_m214n"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1376, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_r1uqq"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1408, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_c1gm7"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1440, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ab08u"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1472, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_r3qcl"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1504, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_osvbq"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1536, 0, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_pki7h"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_kye8r")
}],
"loop": false,
"name": &"closed",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_rnxg7")
}],
"loop": false,
"name": &"open",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_5ttkm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pki7h")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lvs8d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_40kpl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ms1vp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tvc1a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vy5ys")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u2ylj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gjiar")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1dqry")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jck8c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5xkn8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iv6vj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i530s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d6ylt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xtjjs")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ci8mo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gmmov")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vfoxu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ho6i7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iubls")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m3ksf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0822b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_52ayd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q0cp4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bjex2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sa64n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wnpnr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_edpr7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_n1dnq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oeoqj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t83ji")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x467m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6y5l3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dxjpb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dnpsp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u3fxw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pq5cv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_03fuj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qtdja")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gpmon")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dt18d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mvctv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m214n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r1uqq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_c1gm7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ab08u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r3qcl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_osvbq")
}],
"loop": false,
"name": &"opening",
"speed": 20.0
}]
[node name="Spike Gate" type="StaticBody2D" unique_id=1020421430]
y_sort_enabled = true
collision_layer = 5
collision_mask = 0
script = ExtResource("1_kye8r")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=522352776]
position = Vector2(0.5, 13)
shape = SubResource("RectangleShape2D_5ttkm")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1790681326]
y_sort_enabled = true
position = Vector2(0, 15)
sprite_frames = SubResource("SpriteFrames_pki7h")
animation = &"closed"
autoplay = "closed"
offset = Vector2(0, -15)

View File

@@ -0,0 +1,9 @@
[gd_scene format=3 uid="uid://ca75b65eh7vv8"]
[ext_resource type="Script" uid="uid://g0r5waf50gp5" path="res://Scripts/Objects/Loading Zone/collision_loading_zone.gd" id="1_pb5hg"]
[node name="Collision Loading Zone" type="Area2D" unique_id=1043800735 groups=["Collision Loading Zone Group"]]
collision_layer = 0
script = ExtResource("1_pb5hg")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View File

@@ -0,0 +1,8 @@
[gd_scene format=3 uid="uid://cla2d3gii8qda"]
[ext_resource type="Script" uid="uid://dla7fe0nsbdvv" path="res://Scripts/Objects/Loading Zone/interactive_loading_zone.gd" id="1_7bdbd"]
[node name="Interactive Loading Zone" type="Area2D" unique_id=1427014981 groups=["Interactive Loading Zone Group"]]
collision_layer = 2
collision_mask = 0
script = ExtResource("1_7bdbd")

View File

@@ -0,0 +1,6 @@
[gd_scene format=3 uid="uid://bbules4o3xayc"]
[ext_resource type="Script" uid="uid://cshtpe5n2iubh" path="res://Scripts/Objects/Loading Zone/loading_zone_transporter.gd" id="1_p8o2m"]
[node name="Loading Zone Transporter" type="Node" unique_id=1690817663 groups=["Loading Zone Transporter Group"]]
script = ExtResource("1_p8o2m")

View File

@@ -0,0 +1,53 @@
[gd_scene format=3 uid="uid://b8m08wroe1qu2"]
[ext_resource type="Texture2D" uid="uid://k2htcxstdj5v" path="res://Assets/Spritesheets/Outdoor Objects/Arrow Target-Sheet.png" id="1_b0s8y"]
[ext_resource type="Script" uid="uid://6jls1eokv2to" path="res://Scripts/Objects/arrow_target.gd" id="1_uhut5"]
[sub_resource type="CircleShape2D" id="CircleShape2D_uhut5"]
radius = 8.0
[sub_resource type="AtlasTexture" id="AtlasTexture_b0s8y"]
atlas = ExtResource("1_b0s8y")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_uhut5"]
atlas = ExtResource("1_b0s8y")
region = Rect2(0, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_bfwsr"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_b0s8y")
}],
"loop": true,
"name": &"hit",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_uhut5")
}],
"loop": true,
"name": &"unhit",
"speed": 5.0
}]
[node name="ArrowTarget" type="Area2D" unique_id=1856751990]
y_sort_enabled = true
collision_layer = 4
collision_mask = 4
script = ExtResource("1_uhut5")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=522196069]
shape = SubResource("CircleShape2D_uhut5")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1145493202]
y_sort_enabled = true
position = Vector2(0, 8)
sprite_frames = SubResource("SpriteFrames_bfwsr")
animation = &"unhit"
autoplay = "unhit"
offset = Vector2(0, -8)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View File

@@ -0,0 +1,52 @@
[gd_scene format=3 uid="uid://b5t4h63xhuods"]
[ext_resource type="Script" uid="uid://cxt7ht66jiac8" path="res://Scripts/Objects/Mechanisms/pressure_plate.gd" id="1_po2h8"]
[ext_resource type="Texture2D" uid="uid://dhtolttw5h33" path="res://Assets/Spritesheets/Mechanisms/Pressure Plate.png" id="1_ulio5"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ulio5"]
size = Vector2(12, 10)
[sub_resource type="AtlasTexture" id="AtlasTexture_ulio5"]
atlas = ExtResource("1_ulio5")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_po2h8"]
atlas = ExtResource("1_ulio5")
region = Rect2(0, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_50pip"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ulio5")
}],
"loop": true,
"name": &"activated",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_po2h8")
}],
"loop": false,
"name": &"default",
"speed": 5.0
}]
[node name="PressurePlate" type="Area2D" unique_id=1213720400]
y_sort_enabled = true
collision_layer = 0
script = ExtResource("1_po2h8")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=180813085]
position = Vector2(0, -1)
shape = SubResource("RectangleShape2D_ulio5")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=3182720]
y_sort_enabled = true
position = Vector2(0, -7)
sprite_frames = SubResource("SpriteFrames_50pip")
autoplay = "default"
offset = Vector2(0, 7)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View File

@@ -0,0 +1,11 @@
[gd_scene format=3 uid="uid://d24gcv3umq60k"]
[ext_resource type="Script" uid="uid://d4g6s63d0bh4o" path="res://Scripts/Objects/Occlusion/occlusion_culler.gd" id="1_4550i"]
[node name="Occlusion Culler" type="Area2D" unique_id=1362480066]
collision_layer = 0
collision_mask = 8
script = ExtResource("1_4550i")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="area_exited" from="." to="." method="_on_area_exited"]

View File

@@ -0,0 +1,36 @@
[gd_scene format=3 uid="uid://cc3qat6un2323"]
[ext_resource type="Texture2D" uid="uid://xygpf7c886pj" path="res://Assets/Spritesheets/Trees/Medium_Oak_Tree.png" id="1_i2ia5"]
[ext_resource type="PackedScene" uid="uid://d24gcv3umq60k" path="res://Scenes/Objects/Occlusion/occlusion_culler.tscn" id="1_jbed0"]
[ext_resource type="Material" uid="uid://1shsptwu7rdt" path="res://Resources/Materials/tree_sway.tres" id="2_o0u4i"]
[sub_resource type="CircleShape2D" id="CircleShape2D_jbed0"]
radius = 12.0
[sub_resource type="AtlasTexture" id="AtlasTexture_5otsd"]
atlas = ExtResource("1_i2ia5")
region = Rect2(32, 0, 32, 48)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0srx6"]
size = Vector2(6, 3)
[node name="Tree 01" type="StaticBody2D" unique_id=2046930104]
y_sort_enabled = true
[node name="Occlusion Culler" parent="." unique_id=1362480066 node_paths=PackedStringArray("nodes_to_occlude") instance=ExtResource("1_jbed0")]
nodes_to_occlude = [NodePath("../Sprite2D")]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Occlusion Culler" unique_id=731605527]
position = Vector2(0, -10)
shape = SubResource("CircleShape2D_jbed0")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1420512565]
y_sort_enabled = true
material = ExtResource("2_o0u4i")
position = Vector2(0, 8)
texture = SubResource("AtlasTexture_5otsd")
offset = Vector2(0, -8)
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=870152657]
position = Vector2(0, 6.5)
shape = SubResource("RectangleShape2D_0srx6")

View File

@@ -0,0 +1,95 @@
[gd_scene format=3 uid="uid://be6xfndyj4ckx"]
[ext_resource type="PackedScene" uid="uid://d24gcv3umq60k" path="res://Scenes/Objects/Occlusion/occlusion_culler.tscn" id="1_ijlg6"]
[ext_resource type="Texture2D" uid="uid://c6cddkuevr4hl" path="res://Assets/Spritesheets/Trees/Big_Oak_Tree-Isolated.png" id="2_mxye4"]
[ext_resource type="Material" uid="uid://1shsptwu7rdt" path="res://Resources/Materials/tree_sway.tres" id="2_pv2vp"]
[ext_resource type="Script" uid="uid://vmyfl4obus88" path="res://Scripts/Objects/Trees/leaf_spawner.gd" id="3_mxye4"]
[sub_resource type="CircleShape2D" id="CircleShape2D_ijlg6"]
radius = 23.021729
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0srx6"]
size = Vector2(16, 10)
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_mxye4"]
load_path = "res://.godot/imported/Oak_Leaf_Particle.png-90b4e62cf0b626a461440019d7b31cd8.ctex"
[node name="Tree 02" type="StaticBody2D" unique_id=2046930104]
y_sort_enabled = true
[node name="Occlusion Culler" parent="." unique_id=1362480066 node_paths=PackedStringArray("nodes_to_occlude") instance=ExtResource("1_ijlg6")]
nodes_to_occlude = [NodePath("../Sprite2D")]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Occlusion Culler" unique_id=1085880925]
position = Vector2(0, -10)
shape = SubResource("CircleShape2D_ijlg6")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1420512565]
y_sort_enabled = true
material = ExtResource("2_pv2vp")
position = Vector2(0, 24)
texture = ExtResource("2_mxye4")
offset = Vector2(0, -24)
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=870152657]
position = Vector2(0, 19)
shape = SubResource("RectangleShape2D_0srx6")
[node name="Leaf Spawner" type="Node2D" parent="." unique_id=1908114650 node_paths=PackedStringArray("spawn_markers", "destination_markers")]
y_sort_enabled = true
script = ExtResource("3_mxye4")
leaf_texture = SubResource("CompressedTexture2D_mxye4")
spawn_markers = NodePath("Spawn Markers")
destination_markers = NodePath("Destination Markers")
[node name="Spawn Markers" type="Node2D" parent="Leaf Spawner" unique_id=718423149]
[node name="Marker2D" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=110047229]
position = Vector2(-10, -19)
[node name="Marker2D2" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=1030089042]
position = Vector2(-15, -2)
[node name="Marker2D3" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=1530367987]
position = Vector2(9, 4)
[node name="Marker2D4" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=2042975279]
position = Vector2(15, -10)
[node name="Marker2D5" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=712311756]
position = Vector2(8, -24)
[node name="Destination Markers" type="Node2D" parent="Leaf Spawner" unique_id=1860944141]
[node name="Marker2D" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=608985314]
position = Vector2(-23, 14)
[node name="Marker2D2" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=860056803]
position = Vector2(-27, 25)
[node name="Marker2D3" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=457722512]
position = Vector2(-15, 21)
[node name="Marker2D4" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1184860371]
position = Vector2(-5, 30)
[node name="Marker2D5" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=181196191]
position = Vector2(6, 26)
[node name="Marker2D6" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1185929582]
position = Vector2(18, 34)
[node name="Marker2D7" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=180258159]
position = Vector2(25, 18)
[node name="Marker2D8" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1566992504]
position = Vector2(14, 20)
[node name="Marker2D9" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1862213394]
position = Vector2(16, 11)
[node name="Marker2D10" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=489682641]
position = Vector2(30, 8)
[node name="Marker2D11" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=495586307]
position = Vector2(-34, 12)

View File

@@ -0,0 +1,142 @@
[gd_scene format=3 uid="uid://bcx1d8kvp7o0h"]
[ext_resource type="Texture2D" uid="uid://bhdecga15imvk" path="res://Assets/Spritesheets/Trees/Big_Spruce_tree.png" id="1_xun88"]
[ext_resource type="PackedScene" uid="uid://d24gcv3umq60k" path="res://Scenes/Objects/Occlusion/occlusion_culler.tscn" id="2_45i4c"]
[ext_resource type="Material" uid="uid://1shsptwu7rdt" path="res://Resources/Materials/tree_sway.tres" id="2_bbkr4"]
[ext_resource type="Script" uid="uid://vmyfl4obus88" path="res://Scripts/Objects/Trees/leaf_spawner.gd" id="3_13veg"]
[ext_resource type="Texture2D" uid="uid://ckvfo6bl606hp" path="res://Assets/Spritesheets/Trees/Spruce_Needle_Particle.png" id="4_34ibr"]
[sub_resource type="CircleShape2D" id="CircleShape2D_13veg"]
radius = 15.033297
[sub_resource type="CircleShape2D" id="CircleShape2D_34ibr"]
radius = 8.0
[sub_resource type="CircleShape2D" id="CircleShape2D_bbkr4"]
radius = 3.0
[sub_resource type="AtlasTexture" id="AtlasTexture_5otsd"]
atlas = ExtResource("1_xun88")
region = Rect2(64, 0, 64, 80)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0srx6"]
size = Vector2(16, 10)
[node name="Tree 03" type="StaticBody2D" unique_id=2046930104]
y_sort_enabled = true
[node name="Occlusion Culler" parent="." unique_id=1362480066 node_paths=PackedStringArray("nodes_to_occlude") instance=ExtResource("2_45i4c")]
nodes_to_occlude = [NodePath("../Sprite2D")]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Occlusion Culler" unique_id=585236031]
shape = SubResource("CircleShape2D_13veg")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Occlusion Culler" unique_id=1731688944]
position = Vector2(0, -18)
shape = SubResource("CircleShape2D_34ibr")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Occlusion Culler" unique_id=424659978]
position = Vector2(0, -32)
shape = SubResource("CircleShape2D_bbkr4")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1420512565]
y_sort_enabled = true
material = ExtResource("2_bbkr4")
position = Vector2(0, 24)
texture = SubResource("AtlasTexture_5otsd")
offset = Vector2(0, -24)
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=870152657]
position = Vector2(0, 19)
shape = SubResource("RectangleShape2D_0srx6")
[node name="Leaf Spawner" type="Node2D" parent="." unique_id=1308634781 node_paths=PackedStringArray("spawn_markers", "destination_markers")]
script = ExtResource("3_13veg")
leaf_texture = ExtResource("4_34ibr")
spawn_markers = NodePath("Spawn Markers")
destination_markers = NodePath("Destination Markers")
[node name="Spawn Markers" type="Node2D" parent="Leaf Spawner" unique_id=992261793]
[node name="Marker2D" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=1312492144]
position = Vector2(-14, 5)
[node name="Marker2D2" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=1942462835]
position = Vector2(-11, -4)
[node name="Marker2D3" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=810574820]
position = Vector2(-7, -15)
[node name="Marker2D4" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=291879085]
position = Vector2(-3, -29)
[node name="Marker2D5" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=1559139972]
position = Vector2(4, -30)
[node name="Marker2D6" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=842452431]
position = Vector2(7, -22)
[node name="Marker2D7" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=947896890]
position = Vector2(10, -12)
[node name="Marker2D8" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=1254697051]
position = Vector2(11, 1)
[node name="Marker2D9" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=598463156]
position = Vector2(13, 12)
[node name="Marker2D10" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=1632041472]
position = Vector2(7, 14)
[node name="Marker2D11" type="Marker2D" parent="Leaf Spawner/Spawn Markers" unique_id=705248658]
position = Vector2(-7, 14)
[node name="Destination Markers" type="Node2D" parent="Leaf Spawner" unique_id=1084196582]
[node name="Marker2D" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1434626655]
position = Vector2(-17, 19)
[node name="Marker2D2" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1985496050]
position = Vector2(-32, 27)
[node name="Marker2D3" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=612599198]
position = Vector2(-30, 15)
[node name="Marker2D4" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1750692117]
position = Vector2(-19, 33)
[node name="Marker2D5" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1637274691]
position = Vector2(-7, 38)
[node name="Marker2D6" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=270534968]
position = Vector2(-1, 30)
[node name="Marker2D7" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1580580484]
position = Vector2(-8, 27)
[node name="Marker2D8" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1666879158]
position = Vector2(14, 38)
[node name="Marker2D9" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=33388155]
position = Vector2(12, 30)
[node name="Marker2D10" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1245617655]
position = Vector2(24, 25)
[node name="Marker2D11" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=709006321]
position = Vector2(19, 20)
[node name="Marker2D12" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=602455411]
position = Vector2(28, 14)
[node name="Marker2D13" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=264453249]
position = Vector2(35, 28)
[node name="Marker2D14" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=2036567999]
position = Vector2(28, 36)
[node name="Marker2D15" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1663646612]
position = Vector2(-26, 34)
[node name="Marker2D16" type="Marker2D" parent="Leaf Spawner/Destination Markers" unique_id=1858656621]
position = Vector2(-26, 34)

View File

@@ -0,0 +1,8 @@
[gd_scene format=3 uid="uid://bc8u3wlyag7c4"]
[ext_resource type="Script" uid="uid://8q26ldhfyijx" path="res://Scripts/Objects/Weapons/Projectiles/base_projectile.gd" id="1_0qxu7"]
[node name="BaseProjectile" type="CharacterBody2D" unique_id=647680377]
collision_layer = 0
collision_mask = 0
script = ExtResource("1_0qxu7")

View File

@@ -0,0 +1,103 @@
[gd_scene format=3 uid="uid://b2wq5m01b68rx"]
[ext_resource type="Texture2D" uid="uid://hop1gedjh8s4" path="res://Assets/Spritesheets/Player/icons_full_32.png" id="1_0h1c2"]
[ext_resource type="Script" uid="uid://j5yj4piyfql1" path="res://Scripts/Objects/Weapons/Projectiles/wooden_arrow.gd" id="1_44gti"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0h1c2"]
size = Vector2(10, 2)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_44gti"]
size = Vector2(11, 2)
[sub_resource type="AtlasTexture" id="AtlasTexture_44gti"]
atlas = ExtResource("1_0h1c2")
region = Rect2(320, 1056, 32, 32)
[sub_resource type="Animation" id="Animation_44gti"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.7853982]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Sprite2D:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 0)]
}
[sub_resource type="Animation" id="Animation_321dg"]
resource_name = "shaking"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [0.7853982, 1.1344640137963142, 0.7853982, 0.4363323129985824, 0.7853982]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Sprite2D:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(0, -1.705), Vector2(0, 0), Vector2(0, 1.73), Vector2(0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_m21sp"]
_data = {
&"RESET": SubResource("Animation_44gti"),
&"shaking": SubResource("Animation_321dg")
}
[node name="Wooden Arrow" type="CharacterBody2D" unique_id=609733948]
z_index = 1
collision_layer = 4
collision_mask = 4
script = ExtResource("1_44gti")
metadata/_custom_type_script = "uid://8q26ldhfyijx"
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1657279556]
shape = SubResource("RectangleShape2D_0h1c2")
[node name="Collision Detector" type="Area2D" parent="." unique_id=367998143]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Collision Detector" unique_id=740276065]
position = Vector2(0.5, 0)
shape = SubResource("RectangleShape2D_44gti")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=442865143]
rotation = 0.7853982
scale = Vector2(0.3, 0.3)
texture = SubResource("AtlasTexture_44gti")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1874694929]
libraries/ = SubResource("AnimationLibrary_m21sp")
[connection signal="area_entered" from="Collision Detector" to="." method="_on_collision_detector_area_entered"]
[connection signal="body_entered" from="Collision Detector" to="." method="_on_collision_detector_body_entered"]

View File

@@ -0,0 +1,39 @@
[gd_scene format=3 uid="uid://cxc4x4yp7l3hg"]
[ext_resource type="Script" uid="uid://d0mlugcfvyksn" path="res://Scripts/UI/dialogue_box.gd" id="1_tpmx7"]
[node name="Dialogue Box" type="Control" unique_id=586562815]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_tpmx7")
[node name="ColorRect" type="ColorRect" parent="." unique_id=2046069713]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -163.0
grow_horizontal = 2
grow_vertical = 0
color = Color(0.15294118, 0.15294118, 0.15294118, 0.6313726)
[node name="MarginContainer" type="MarginContainer" parent="ColorRect" unique_id=992506053]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="Label" type="Label" parent="ColorRect/MarginContainer" unique_id=908108367]
layout_mode = 2
text = "Sample Text"

View File

@@ -3,18 +3,27 @@
[ext_resource type="Script" uid="uid://vv4pj8uhiad8" path="res://Scripts/main.gd" id="1_jjgbg"]
[ext_resource type="Script" uid="uid://ekp7au5wf06q" path="res://Scripts/world.gd" id="2_bo1nx"]
[ext_resource type="Script" uid="uid://c4w8hney4mesw" path="res://Scripts/gui.gd" id="3_8gbba"]
[ext_resource type="Script" uid="uid://dr7ljodtof1k5" path="res://Scripts/map_transitioner.gd" id="3_kry3j"]
[ext_resource type="Script" uid="uid://cluyhxrc3pdb" path="res://Scripts/dialogue_trigger_connector.gd" id="4_6bp64"]
[ext_resource type="PackedScene" uid="uid://cxc4x4yp7l3hg" path="res://Scenes/UI/dialogue_box.tscn" id="6_21xkr"]
[node name="Main" type="Node2D" unique_id=1457826519]
script = ExtResource("1_jjgbg")
[node name="Map Transitioner" type="Node" parent="." unique_id=1528505665]
script = ExtResource("3_kry3j")
[node name="Dialogue Trigger Connector" type="Node" parent="." unique_id=1187622540]
script = ExtResource("4_6bp64")
[node name="World" type="Node2D" parent="." unique_id=578440549]
script = ExtResource("2_bo1nx")
[node name="Gui" type="Control" parent="." unique_id=1576688189]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Gui" type="CanvasLayer" parent="." unique_id=982257728]
script = ExtResource("3_8gbba")
[node name="Dialogue Box" parent="Gui" unique_id=586562815 instance=ExtResource("6_21xkr")]
visible = false
[connection signal="MapChanged" from="Map Transitioner" to="Dialogue Trigger Connector" method="_on_map_changed"]
[connection signal="DialogueTriggered" from="Dialogue Trigger Connector" to="Gui/Dialogue Box" method="OnDialogueTriggered"]