diff --git a/Assets/Aseprite Files/Black Square.ase b/Assets/Aseprite Files/Black Square.ase new file mode 100644 index 0000000..aa80399 Binary files /dev/null and b/Assets/Aseprite Files/Black Square.ase differ diff --git a/Assets/Aseprite Files/Door Fade.aseprite b/Assets/Aseprite Files/Door Fade.aseprite new file mode 100644 index 0000000..3cfcd8d Binary files /dev/null and b/Assets/Aseprite Files/Door Fade.aseprite differ diff --git a/Assets/Sprites/Black Square.png b/Assets/Sprites/Black Square.png new file mode 100644 index 0000000..b76b9c4 Binary files /dev/null and b/Assets/Sprites/Black Square.png differ diff --git a/Assets/Sprites/Black Square.png.import b/Assets/Sprites/Black Square.png.import new file mode 100644 index 0000000..b461634 --- /dev/null +++ b/Assets/Sprites/Black Square.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://crebnygky3qv0" +path="res://.godot/imported/Black Square.png-994ac8da24343f27589fe9826b8085e1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Sprites/Black Square.png" +dest_files=["res://.godot/imported/Black Square.png-994ac8da24343f27589fe9826b8085e1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Sprites/Door Fade.png b/Assets/Sprites/Door Fade.png new file mode 100644 index 0000000..205bdce Binary files /dev/null and b/Assets/Sprites/Door Fade.png differ diff --git a/Assets/Sprites/Door Fade.png.import b/Assets/Sprites/Door Fade.png.import new file mode 100644 index 0000000..87e799d --- /dev/null +++ b/Assets/Sprites/Door Fade.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bf6llktwqhs8l" +path="res://.godot/imported/Door Fade.png-31650546633888bbe1c935ed0c3de1e9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Sprites/Door Fade.png" +dest_files=["res://.godot/imported/Door Fade.png-31650546633888bbe1c935ed0c3de1e9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Home Decor/Tables.png b/Assets/Spritesheets/Home Decor/Tables.png new file mode 100644 index 0000000..f4e5c4f Binary files /dev/null and b/Assets/Spritesheets/Home Decor/Tables.png differ diff --git a/Assets/Spritesheets/Home Decor/Tables.png.import b/Assets/Spritesheets/Home Decor/Tables.png.import new file mode 100644 index 0000000..85a1aa8 --- /dev/null +++ b/Assets/Spritesheets/Home Decor/Tables.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c2q1ujkyn2gyv" +path="res://.godot/imported/Tables.png-566d40b8f97b331d2e22f423bc09ac71.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Home Decor/Tables.png" +dest_files=["res://.godot/imported/Tables.png-566d40b8f97b331d2e22f423bc09ac71.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Home Interior/Interior_Walls.png b/Assets/Spritesheets/Home Interior/Interior_Walls.png new file mode 100644 index 0000000..1ca1f48 Binary files /dev/null and b/Assets/Spritesheets/Home Interior/Interior_Walls.png differ diff --git a/Assets/Spritesheets/Home Interior/Interior_Walls.png.import b/Assets/Spritesheets/Home Interior/Interior_Walls.png.import new file mode 100644 index 0000000..5bdbf15 --- /dev/null +++ b/Assets/Spritesheets/Home Interior/Interior_Walls.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b1u7s2tpsf57a" +path="res://.godot/imported/Interior_Walls.png-cd5bba410a63e45ad056f35b47412a5f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Home Interior/Interior_Walls.png" +dest_files=["res://.godot/imported/Interior_Walls.png-cd5bba410a63e45ad056f35b47412a5f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Home Interior/Wood_Floor_Tiles.png b/Assets/Spritesheets/Home Interior/Wood_Floor_Tiles.png new file mode 100644 index 0000000..f919e58 Binary files /dev/null and b/Assets/Spritesheets/Home Interior/Wood_Floor_Tiles.png differ diff --git a/Assets/Spritesheets/Home Interior/Wood_Floor_Tiles.png.import b/Assets/Spritesheets/Home Interior/Wood_Floor_Tiles.png.import new file mode 100644 index 0000000..4a7b9fc --- /dev/null +++ b/Assets/Spritesheets/Home Interior/Wood_Floor_Tiles.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdxatmrbqslw1" +path="res://.godot/imported/Wood_Floor_Tiles.png-f13bdb79b64b7ee19c964496271ec7e7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Home Interior/Wood_Floor_Tiles.png" +dest_files=["res://.godot/imported/Wood_Floor_Tiles.png-f13bdb79b64b7ee19c964496271ec7e7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Player/Farmer_Pants_1_Black.png b/Assets/Spritesheets/Player/Farmer_Pants_1_Black.png new file mode 100644 index 0000000..e499505 Binary files /dev/null and b/Assets/Spritesheets/Player/Farmer_Pants_1_Black.png differ diff --git a/Assets/Spritesheets/Player/Farmer_Pants_1_Black.png.import b/Assets/Spritesheets/Player/Farmer_Pants_1_Black.png.import new file mode 100644 index 0000000..bad94ac --- /dev/null +++ b/Assets/Spritesheets/Player/Farmer_Pants_1_Black.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://lqrfxvrdc4qq" +path="res://.godot/imported/Farmer_Pants_1_Black.png-92fca8e9129bd9bc1be4b4219ccc920a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Player/Farmer_Pants_1_Black.png" +dest_files=["res://.godot/imported/Farmer_Pants_1_Black.png-92fca8e9129bd9bc1be4b4219ccc920a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Player/Farmer_Shirt_1_Black.png b/Assets/Spritesheets/Player/Farmer_Shirt_1_Black.png new file mode 100644 index 0000000..e2b31d2 Binary files /dev/null and b/Assets/Spritesheets/Player/Farmer_Shirt_1_Black.png differ diff --git a/Assets/Spritesheets/Player/Farmer_Shirt_1_Black.png.import b/Assets/Spritesheets/Player/Farmer_Shirt_1_Black.png.import new file mode 100644 index 0000000..4e65604 --- /dev/null +++ b/Assets/Spritesheets/Player/Farmer_Shirt_1_Black.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://4mpha6wuvyfy" +path="res://.godot/imported/Farmer_Shirt_1_Black.png-1336e98dddc7883e745d7306ef728072.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Player/Farmer_Shirt_1_Black.png" +dest_files=["res://.godot/imported/Farmer_Shirt_1_Black.png-1336e98dddc7883e745d7306ef728072.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Player/Hair_1_Blonde.png b/Assets/Spritesheets/Player/Hair_1_Blonde.png new file mode 100644 index 0000000..6b14a80 Binary files /dev/null and b/Assets/Spritesheets/Player/Hair_1_Blonde.png differ diff --git a/Assets/Spritesheets/Player/Hair_1_Blonde.png.import b/Assets/Spritesheets/Player/Hair_1_Blonde.png.import new file mode 100644 index 0000000..1073303 --- /dev/null +++ b/Assets/Spritesheets/Player/Hair_1_Blonde.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://1g5dx0dbupwk" +path="res://.godot/imported/Hair_1_Blonde.png-4a9c380281a8265d6003cbee5d0cd791.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Player/Hair_1_Blonde.png" +dest_files=["res://.godot/imported/Hair_1_Blonde.png-4a9c380281a8265d6003cbee5d0cd791.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Player/Hands_1_Bare.png b/Assets/Spritesheets/Player/Hands_1_Bare.png new file mode 100644 index 0000000..b66aad1 Binary files /dev/null and b/Assets/Spritesheets/Player/Hands_1_Bare.png differ diff --git a/Assets/Spritesheets/Player/Hands_1_Bare.png.import b/Assets/Spritesheets/Player/Hands_1_Bare.png.import new file mode 100644 index 0000000..a48ecb7 --- /dev/null +++ b/Assets/Spritesheets/Player/Hands_1_Bare.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b1yikmomtafpg" +path="res://.godot/imported/Hands_1_Bare.png-36d131c4da98ce04e25f86d2280b094b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Player/Hands_1_Bare.png" +dest_files=["res://.godot/imported/Hands_1_Bare.png-36d131c4da98ce04e25f86d2280b094b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Player/Player_Base_animations.png b/Assets/Spritesheets/Player/Player_Base_animations.png new file mode 100644 index 0000000..4f1fa27 Binary files /dev/null and b/Assets/Spritesheets/Player/Player_Base_animations.png differ diff --git a/Assets/Spritesheets/Player/Player_Base_animations.png.import b/Assets/Spritesheets/Player/Player_Base_animations.png.import new file mode 100644 index 0000000..ac7a6c3 --- /dev/null +++ b/Assets/Spritesheets/Player/Player_Base_animations.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://de0ihg453ruyi" +path="res://.godot/imported/Player_Base_animations.png-e58abc88ad4c7737a037dbf7af99ff9a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Player/Player_Base_animations.png" +dest_files=["res://.godot/imported/Player_Base_animations.png-e58abc88ad4c7737a037dbf7af99ff9a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Player/Shoes_1_Black.png b/Assets/Spritesheets/Player/Shoes_1_Black.png new file mode 100644 index 0000000..2796f86 Binary files /dev/null and b/Assets/Spritesheets/Player/Shoes_1_Black.png differ diff --git a/Assets/Spritesheets/Player/Shoes_1_Black.png.import b/Assets/Spritesheets/Player/Shoes_1_Black.png.import new file mode 100644 index 0000000..5abdf27 --- /dev/null +++ b/Assets/Spritesheets/Player/Shoes_1_Black.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dw03nnfxdpb85" +path="res://.godot/imported/Shoes_1_Black.png-8cb9285d288de4741c50b2d1e436fbe2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Player/Shoes_1_Black.png" +dest_files=["res://.godot/imported/Shoes_1_Black.png-8cb9285d288de4741c50b2d1e436fbe2.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Spritesheets/Player/icons_full_32.png b/Assets/Spritesheets/Player/icons_full_32.png new file mode 100644 index 0000000..e26550f Binary files /dev/null and b/Assets/Spritesheets/Player/icons_full_32.png differ diff --git a/Assets/Spritesheets/Player/icons_full_32.png.import b/Assets/Spritesheets/Player/icons_full_32.png.import new file mode 100644 index 0000000..82786b5 --- /dev/null +++ b/Assets/Spritesheets/Player/icons_full_32.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://hop1gedjh8s4" +path="res://.godot/imported/icons_full_32.png-81959eb37af8504e4ccec3d0aa4e958e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spritesheets/Player/icons_full_32.png" +dest_files=["res://.godot/imported/icons_full_32.png-81959eb37af8504e4ccec3d0aa4e958e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Resources/Tilesets/home_interior.tres b/Resources/Tilesets/home_interior.tres new file mode 100644 index 0000000..9a5ef3a --- /dev/null +++ b/Resources/Tilesets/home_interior.tres @@ -0,0 +1,240 @@ +[gd_resource type="TileSet" format=3 uid="uid://df0lg5vkqwbbt"] + +[ext_resource type="Texture2D" uid="uid://b1u7s2tpsf57a" path="res://Assets/Spritesheets/Home Interior/Interior_Walls.png" id="1_ny5c8"] +[ext_resource type="Texture2D" uid="uid://bdxatmrbqslw1" path="res://Assets/Spritesheets/Home Interior/Wood_Floor_Tiles.png" id="2_bvhuc"] +[ext_resource type="Texture2D" uid="uid://c2q1ujkyn2gyv" path="res://Assets/Spritesheets/Home Decor/Tables.png" id="3_bvhuc"] + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_5xc7v"] +texture = ExtResource("1_ny5c8") +0:0/0 = 0 +0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, 0, 0, 0, 0, 8, 8, 8) +1:0/0 = 0 +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, 0, -8, 0, -8, 8, 8, 8) +2:0/0 = 0 +2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 8, 0, 0, -8, 0, -8, 8) +0:1/0 = 0 +0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, -8, 0, 8, 8, 8, 8, -8) +2:1/0 = 0 +2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 8, 0, -8, -8, -8, -8, 8) +3:1/0 = 0 +3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, -4, 8, -4, 0, -4, 0, 8, 0, 8, -8, -8, -8) +4:1/0 = 0 +4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, 8, 4, 8, 4, 0, 4, 0, -8, 0, -8, -8, 8, -8) +0:2/0 = 0 +0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, -8, 0, 0, 8, 0, 8, -8) +1:2/0 = 0 +1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 0, 8, 0, 8, -8, -8, -8) +2:2/0 = 0 +2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 0, 0, 0, 0, -8, -8, -8) +3:2/0 = 0 +3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -4, -8, -4, 0, -4, 0, 8, 0, 8, 8, -8, 8) +4:2/0 = 0 +4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 4, -8, 4, 0, 4, 0, -8, 0, -8, 8, 8, 8) +0:3/0 = 0 +0:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +1:3/0 = 0 +1:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +2:3/0 = 0 +2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +3:3/0 = 0 +3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +4:3/0 = 0 +4:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +5:3/0 = 0 +5:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +6:3/0 = 0 +6:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +7:3/0 = 0 +7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +8:3/0 = 0 +8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +9:3/0 = 0 +9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +10:3/0 = 0 +10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +11:3/0 = 0 +11:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +12:3/0 = 0 +12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +13:3/0 = 0 +13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +0:4/0 = 0 +0:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +1:4/0 = 0 +1:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +2:4/0 = 0 +2:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +3:4/0 = 0 +3:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +4:4/0 = 0 +4:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +5:4/0 = 0 +5:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +6:4/0 = 0 +6:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +7:4/0 = 0 +7:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +8:4/0 = 0 +8:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +9:4/0 = 0 +9:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +10:4/0 = 0 +10:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +11:4/0 = 0 +11:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +12:4/0 = 0 +12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +13:4/0 = 0 +13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +0:5/0 = 0 +0:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +1:5/0 = 0 +1:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +2:5/0 = 0 +2:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +3:5/0 = 0 +3:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +4:5/0 = 0 +4:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +5:5/0 = 0 +5:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +6:5/0 = 0 +6:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +7:5/0 = 0 +7:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +8:5/0 = 0 +8:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +9:5/0 = 0 +9:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +10:5/0 = 0 +10:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +11:5/0 = 0 +11:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +12:5/0 = 0 +12:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) +13:5/0 = 0 +13:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, 8, -8, -8, -8) + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_juogc"] +texture = ExtResource("2_bvhuc") +0:0/0 = 0 +1:0/0 = 0 +2:0/0 = 0 +3:0/0 = 0 +4:0/0 = 0 +5:0/0 = 0 +6:0/0 = 0 +7:0/0 = 0 +0:1/0 = 0 +1:1/0 = 0 +2:1/0 = 0 +3:1/0 = 0 +4:1/0 = 0 +5:1/0 = 0 +6:1/0 = 0 +7:1/0 = 0 +0:2/0 = 0 +1:2/0 = 0 +2:2/0 = 0 +3:2/0 = 0 +4:2/0 = 0 +5:2/0 = 0 +6:2/0 = 0 +7:2/0 = 0 +0:3/0 = 0 +1:3/0 = 0 +2:3/0 = 0 +3:3/0 = 0 +4:3/0 = 0 +5:3/0 = 0 +6:3/0 = 0 +7:3/0 = 0 +0:4/0 = 0 +1:4/0 = 0 +2:4/0 = 0 +3:4/0 = 0 +4:4/0 = 0 +5:4/0 = 0 +0:5/0 = 0 +1:5/0 = 0 +2:5/0 = 0 +3:5/0 = 0 +4:5/0 = 0 +5:5/0 = 0 + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_47nlb"] +texture = ExtResource("3_bvhuc") +0:0/0 = 0 +0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, -8, 4, 8, 4, 8, 8) +1:0/0 = 0 +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, -8, 4, 8, 4, 8, 8) +2:0/0 = 0 +3:0/0 = 0 +4:0/0 = 0 +4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, -8, 4, 8, 4, 8, 8) +5:0/0 = 0 +5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, -8, 4, 8, 4, 8, 8) +6:0/0 = 0 +7:0/0 = 0 +8:0/0 = 0 +9:0/0 = 0 +10:0/0 = 0 +11:0/0 = 0 +0:1/0 = 0 +0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +1:1/0 = 0 +1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +2:1/0 = 0 +3:1/0 = 0 +4:1/0 = 0 +4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +5:1/0 = 0 +5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +6:1/0 = 0 +7:1/0 = 0 +8:1/0 = 0 +9:1/0 = 0 +10:1/0 = 0 +11:1/0 = 0 +0:2/0 = 0 +0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +1:2/0 = 0 +1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +2:2/0 = 0 +2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +3:2/0 = 0 +3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +4:2/0 = 0 +4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +5:2/0 = 0 +5:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +6:2/0 = 0 +7:2/0 = 0 +8:2/0 = 0 +9:2/0 = 0 +0:3/0 = 0 +0:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +1:3/0 = 0 +1:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +2:3/0 = 0 +2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +3:3/0 = 0 +3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +4:3/0 = 0 +4:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +5:3/0 = 0 +5:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +6:3/0 = 0 +7:3/0 = 0 +8:3/0 = 0 +9:3/0 = 0 +6:4/0 = 0 +7:4/0 = 0 +8:4/0 = 0 +9:4/0 = 0 + +[resource] +physics_layer_0/collision_layer = 1 +sources/0 = SubResource("TileSetAtlasSource_5xc7v") +sources/1 = SubResource("TileSetAtlasSource_juogc") +sources/2 = SubResource("TileSetAtlasSource_47nlb") diff --git a/Scenes/Maps/shop.tscn b/Scenes/Maps/shop.tscn new file mode 100644 index 0000000..ce85d68 --- /dev/null +++ b/Scenes/Maps/shop.tscn @@ -0,0 +1,122 @@ +[gd_scene format=4 uid="uid://bwt0ijoq4qmhn"] + +[ext_resource type="Script" uid="uid://btg630l3xo16w" path="res://Scripts/Maps/shop.gd" id="1_83xsp"] +[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="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="Texture2D" uid="uid://bf6llktwqhs8l" path="res://Assets/Sprites/Door Fade.png" id="7_7ftpj"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_fdj0q"] +atlas = ExtResource("4_r8s0p") +region = Rect2(0, 960, 32, 32) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_fdj0q"] +size = Vector2(8, 6) + +[sub_resource type="AtlasTexture" id="AtlasTexture_k6jq0"] +atlas = ExtResource("4_r8s0p") +region = Rect2(128, 704, 32, 32) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_83xsp"] +size = Vector2(14, 6) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3ps1r"] +atlas = ExtResource("4_r8s0p") +region = Rect2(32, 544, 32, 32) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_kt7c3"] +size = Vector2(12, 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="Tilemap" type="Node2D" parent="." unique_id=81778152] + +[node name="TileMapLayer" type="TileMapLayer" parent="Tilemap" unique_id=1856499099] +tile_map_data = PackedByteArray("AAANAAgAAQAAAAIAAAANAAkAAQAAAAMAAAAOAAgAAQABAAIAAAAOAAkAAQABAAMAAAANAAoAAQAAAAIAAAANAAsAAQAAAAMAAAAOAAoAAQABAAIAAAAOAAsAAQABAAMAAAAPAAoAAQAAAAIAAAAPAAsAAQAAAAMAAAAQAAoAAQABAAIAAAAQAAsAAQABAAMAAAARAAoAAQAAAAIAAAARAAsAAQAAAAMAAAASAAoAAQABAAIAAAASAAsAAQABAAMAAAATAAoAAQAAAAIAAAATAAsAAQAAAAMAAAAUAAoAAQABAAIAAAAUAAsAAQABAAMAAAAVAAoAAQAAAAIAAAAVAAsAAQAAAAMAAAAWAAoAAQABAAIAAAAWAAsAAQABAAMAAAAXAAoAAQAAAAIAAAAXAAsAAQAAAAMAAAAYAAoAAQABAAIAAAAYAAsAAQABAAMAAAAZAAoAAQAAAAIAAAAZAAsAAQAAAAMAAAAaAAoAAQABAAIAAAAaAAsAAQABAAMAAAAZAAgAAQAAAAIAAAAZAAkAAQAAAAMAAAAaAAgAAQABAAIAAAAaAAkAAQABAAMAAAAXAAgAAQAAAAIAAAAXAAkAAQAAAAMAAAAYAAgAAQABAAIAAAAYAAkAAQABAAMAAAAVAAgAAQAAAAIAAAAVAAkAAQAAAAMAAAAWAAgAAQABAAIAAAAWAAkAAQABAAMAAAATAAgAAQAAAAIAAAATAAkAAQAAAAMAAAAUAAgAAQABAAIAAAAUAAkAAQABAAMAAAARAAgAAQAAAAIAAAARAAkAAQAAAAMAAAASAAgAAQABAAIAAAASAAkAAQABAAMAAAAPAAgAAQAAAAIAAAAPAAkAAQAAAAMAAAAQAAgAAQABAAIAAAAQAAkAAQABAAMAAAALAAoAAQAAAAIAAAALAAsAAQAAAAMAAAAMAAoAAQABAAIAAAAMAAsAAQABAAMAAAALAAwAAQAAAAIAAAALAA0AAQAAAAMAAAAMAAwAAQABAAIAAAAMAA0AAQABAAMAAAANAAwAAQAAAAIAAAANAA0AAQAAAAMAAAAOAAwAAQABAAIAAAAOAA0AAQABAAMAAAAPAAwAAQAAAAIAAAAPAA0AAQAAAAMAAAAQAAwAAQABAAIAAAAQAA0AAQABAAMAAAARAAwAAQAAAAIAAAARAA0AAQAAAAMAAAASAAwAAQABAAIAAAASAA0AAQABAAMAAAATAAwAAQAAAAIAAAATAA0AAQAAAAMAAAAUAAwAAQABAAIAAAAUAA0AAQABAAMAAAAVAAwAAQAAAAIAAAAVAA0AAQAAAAMAAAAWAAwAAQABAAIAAAAWAA0AAQABAAMAAAAXAAwAAQAAAAIAAAAXAA0AAQAAAAMAAAAYAAwAAQABAAIAAAAYAA0AAQABAAMAAAAZAAwAAQAAAAIAAAAZAA0AAQAAAAMAAAAaAAwAAQABAAIAAAAaAA0AAQABAAMAAAALAAgAAQAAAAIAAAALAAkAAQAAAAMAAAAMAAgAAQABAAIAAAAMAAkAAQABAAMAAAALAAUAAAAKAAMAAAALAAYAAAAKAAQAAAALAAcAAAAKAAUAAAAaAAUAAAALAAMAAAAaAAYAAAALAAQAAAAaAAcAAAALAAUAAAAMAAUAAAAEAAMAAAAMAAYAAAAEAAQAAAAMAAcAAAAEAAUAAAANAAUAAAAEAAMAAAANAAYAAAAEAAQAAAANAAcAAAAEAAUAAAAOAAUAAAAEAAMAAAAOAAYAAAAEAAQAAAAOAAcAAAAEAAUAAAAPAAUAAAAEAAMAAAAPAAYAAAAEAAQAAAAPAAcAAAAEAAUAAAAQAAUAAAAEAAMAAAAQAAYAAAAEAAQAAAAQAAcAAAAEAAUAAAARAAUAAAAEAAMAAAARAAYAAAAEAAQAAAARAAcAAAAEAAUAAAASAAUAAAAEAAMAAAASAAYAAAAEAAQAAAASAAcAAAAEAAUAAAATAAUAAAAEAAMAAAATAAYAAAAEAAQAAAATAAcAAAAEAAUAAAAUAAUAAAAEAAMAAAAUAAYAAAAEAAQAAAAUAAcAAAAEAAUAAAAVAAUAAAAEAAMAAAAVAAYAAAAEAAQAAAAVAAcAAAAEAAUAAAAWAAUAAAAEAAMAAAAWAAYAAAAEAAQAAAAWAAcAAAAEAAUAAAAXAAUAAAAEAAMAAAAXAAYAAAAEAAQAAAAXAAcAAAAEAAUAAAAYAAUAAAAEAAMAAAAYAAYAAAAEAAQAAAAYAAcAAAAEAAUAAAAZAAUAAAAEAAMAAAAZAAYAAAAEAAQAAAAZAAcAAAAEAAUAAAALAAQAAAABAAAAAAAMAAQAAAABAAAAAAANAAQAAAABAAAAAAAOAAQAAAABAAAAAAAPAAQAAAABAAAAAAAQAAQAAAABAAAAAAARAAQAAAABAAAAAAASAAQAAAABAAAAAAATAAQAAAABAAAAAAAUAAQAAAABAAAAAAAVAAQAAAABAAAAAAAWAAQAAAABAAAAAAAXAAQAAAABAAAAAAAYAAQAAAABAAAAAAAZAAQAAAABAAAAAAAaAAQAAAABAAAAAAAbAAUAAAACAAEAAAAbAAYAAAACAAEAAAAbAAcAAAACAAEAAAAbAAgAAAACAAEAAAAbAAkAAAACAAEAAAAbAAoAAAACAAEAAAAbAAsAAAACAAEAAAAbAAwAAAACAAEAAAAbAA0AAAACAAEAAAAKAAUAAAAAAAEAAAAKAAYAAAAAAAEAAAAKAAcAAAAAAAEAAAAKAAgAAAAAAAEAAAAKAAkAAAAAAAEAAAAKAAoAAAAAAAEAAAAKAAsAAAAAAAEAAAAKAAwAAAAAAAEAAAAKAA0AAAAAAAEAAAAKAAQAAAAAAAAAAAAbAAQAAAACAAAAAAAKAA4AAAAAAAIAAAALAA4AAAABAAIAAAAMAA4AAAAEAAEAAAAPAA4AAAADAAEAAAAUAA4AAAABAAIAAAAVAA4AAAABAAIAAAAWAA4AAAABAAIAAAAXAA4AAAABAAIAAAAYAA4AAAABAAIAAAAZAA4AAAABAAIAAAAaAA4AAAABAAIAAAAbAA4AAAACAAIAAAAQAA4AAAABAAIAAAARAA4AAAABAAIAAAASAA4AAAABAAIAAAATAA4AAAABAAIAAAANAA4AAQAAAAIAAAAOAA4AAQABAAIAAAAPAA8AAAACAAIAAAAMAA8AAAAAAAIAAAA=") +tile_set = ExtResource("2_kt7c3") + +[node name="TileMapLayer2" type="TileMapLayer" parent="Tilemap" unique_id=970584760] +tile_map_data = PackedByteArray("AAALAAkAAgADAAIAAAALAAoAAgADAAMAAAAMAAkAAgAEAAIAAAAMAAoAAgAEAAMAAAANAAkAAgAEAAIAAAANAAoAAgAEAAMAAAAOAAkAAgAEAAIAAAAOAAoAAgAEAAMAAAAPAAkAAgAEAAIAAAAPAAoAAgAEAAMAAAAQAAkAAgAFAAIAAAAQAAoAAgAFAAMAAAATAAkAAgADAAIAAAATAAoAAgADAAMAAAAUAAkAAgAEAAIAAAAUAAoAAgAEAAMAAAAVAAkAAgAEAAIAAAAVAAoAAgAEAAMAAAAWAAkAAgAEAAIAAAAWAAoAAgAEAAMAAAAXAAkAAgAEAAIAAAAXAAoAAgAEAAMAAAAYAAkAAgAEAAIAAAAYAAoAAgAEAAMAAAAZAAkAAgAEAAIAAAAZAAoAAgAEAAMAAAAaAAkAAgAFAAIAAAAaAAoAAgAFAAMAAAA=") +tile_set = ExtResource("2_kt7c3") + +[node name="Items For Sale" type="Node2D" parent="." unique_id=1720300524] + +[node name="Wooden Sword" parent="Items For Sale" unique_id=8248758 instance=ExtResource("3_7ftpj")] +position = Vector2(193, 156) + +[node name="Sprite" type="Sprite2D" parent="Items For Sale/Wooden Sword" unique_id=1754807739] +scale = Vector2(0.5, 0.5) +texture = SubResource("AtlasTexture_fdj0q") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Items For Sale/Wooden Sword" unique_id=145882430] +position = Vector2(-1, 8) +shape = SubResource("RectangleShape2D_fdj0q") +debug_color = Color(0.9710676, 0.103622, 0.35069537, 0.41960785) + +[node name="Bronze Key" parent="Items For Sale" unique_id=1844694995 instance=ExtResource("3_7ftpj")] +position = Vector2(219, 159) +check_location = 1 + +[node name="Sprite" type="Sprite2D" parent="Items For Sale/Bronze Key" unique_id=1718023639] +position = Vector2(6, -2) +scale = Vector2(0.5, 0.5) +texture = SubResource("AtlasTexture_k6jq0") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Items For Sale/Bronze Key" unique_id=228842260] +position = Vector2(6, 4) +shape = SubResource("RectangleShape2D_83xsp") +debug_color = Color(0.9710676, 0.103622, 0.35069537, 0.41960785) + +[node name="Potion" parent="Items For Sale" unique_id=817810520 instance=ExtResource("3_7ftpj")] +position = Vector2(255, 156) +check_location = 2 + +[node name="Sprite" type="Sprite2D" parent="Items For Sale/Potion" unique_id=625278572] +scale = Vector2(0.5, 0.5) +texture = SubResource("AtlasTexture_3ps1r") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Items For Sale/Potion" unique_id=2016098276] +position = Vector2(0, 7) +shape = SubResource("RectangleShape2D_kt7c3") +debug_color = Color(0.9710676, 0.103622, 0.35069537, 0.41960785) + +[node name="Player" parent="." unique_id=1502234578 instance=ExtResource("5_6ky6i")] +position = Vector2(289, 174) + +[node name="Camera2D" type="Camera2D" parent="." unique_id=1684491254] +position = Vector2(307, 165) +zoom = Vector2(3, 3) + +[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1847766034] + +[node name="Item Notification" type="Label" parent="CanvasLayer" unique_id=55309360] +anchors_preset = 3 +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = -40.0 +offset_top = -23.0 +grow_horizontal = 0 +grow_vertical = 0 + +[node name="Background" type="Sprite2D" parent="." unique_id=607338553] +z_index = -999 +position = Vector2(356.5, 187.5) +scale = Vector2(23.28125, 12.71875) +texture = ExtResource("6_kt7c3") + +[node name="Door Fade" type="Sprite2D" parent="." unique_id=833339897] +position = Vector2(224, 232) +scale = Vector2(2, 1) +texture = ExtResource("7_7ftpj") + +[connection signal="InteractScannerAreaEntered" from="Player" to="Shop Item Notification Connector" method="OnPlayerInteractScannerAreaEntered"] +[connection signal="InteractScannerAreaExited" from="Player" to="Shop Item Notification Connector" method="OnPlayerInteractScannerAreaExited"] diff --git a/Scenes/Objects/shop_item.tscn b/Scenes/Objects/shop_item.tscn new file mode 100644 index 0000000..f9be66f --- /dev/null +++ b/Scenes/Objects/shop_item.tscn @@ -0,0 +1,8 @@ +[gd_scene format=3 uid="uid://ddgeo3vwebqeg"] + +[ext_resource type="Script" uid="uid://cggyjxrk4qqfm" path="res://Scripts/Objects/shop_item.gd" id="1_0luup"] + +[node name="ShopItem" type="Area2D" unique_id=1768344009] +collision_layer = 2 +collision_mask = 0 +script = ExtResource("1_0luup") diff --git a/Scenes/main.tscn b/Scenes/main.tscn new file mode 100644 index 0000000..1f5a95d --- /dev/null +++ b/Scenes/main.tscn @@ -0,0 +1,20 @@ +[gd_scene format=3 uid="uid://dqgxg3i307lvr"] + +[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"] + +[node name="Main" type="Node2D" unique_id=1457826519] +script = ExtResource("1_jjgbg") + +[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 +script = ExtResource("3_8gbba") diff --git a/Scripts/Characters/Player/interact_scanner.gd b/Scripts/Characters/Player/interact_scanner.gd new file mode 100644 index 0000000..2d123c2 --- /dev/null +++ b/Scripts/Characters/Player/interact_scanner.gd @@ -0,0 +1,16 @@ +extends Area2D + +@export var parent: Node2D +@export var direction_component: FacingDirectionComponent + +# Public Methods +func OnDirectionChanged() -> void: + var direction := direction_component.GetCurrentDirection() + if direction == Enums.Directions.LEFT: + parent.rotation = deg_to_rad(90) + elif direction == Enums.Directions.RIGHT: + parent.rotation = deg_to_rad(-90) + elif direction == Enums.Directions.UP: + parent.rotation = deg_to_rad(180) + else: + parent.rotation = deg_to_rad(0) diff --git a/Scripts/Characters/Player/interact_scanner.gd.uid b/Scripts/Characters/Player/interact_scanner.gd.uid new file mode 100644 index 0000000..5914c5f --- /dev/null +++ b/Scripts/Characters/Player/interact_scanner.gd.uid @@ -0,0 +1 @@ +uid://brlisuoocwehh diff --git a/Scripts/Characters/Player/movement_component.gd b/Scripts/Characters/Player/movement_component.gd new file mode 100644 index 0000000..4827422 --- /dev/null +++ b/Scripts/Characters/Player/movement_component.gd @@ -0,0 +1,18 @@ +extends Node + +signal MovementPerformed(movement_vector: Vector2) + +# Constant Exports +@export var SPEED := 100.0 + +@export var body: CharacterBody2D + +func _physics_process(_delta: float) -> void: + var direction_vector := Input.get_vector("ui_left", "ui_right", "ui_up", "ui_down") + + if direction_vector: + var movement_vector := direction_vector * SPEED + body.velocity = movement_vector + body.move_and_slide() + + MovementPerformed.emit(movement_vector) diff --git a/Scripts/Characters/Player/movement_component.gd.uid b/Scripts/Characters/Player/movement_component.gd.uid new file mode 100644 index 0000000..5d35be5 --- /dev/null +++ b/Scripts/Characters/Player/movement_component.gd.uid @@ -0,0 +1 @@ +uid://dwclkwbig1uii diff --git a/Scripts/Characters/Player/player.gd b/Scripts/Characters/Player/player.gd new file mode 100644 index 0000000..f0bd5c5 --- /dev/null +++ b/Scripts/Characters/Player/player.gd @@ -0,0 +1,12 @@ +extends CharacterBody2D + +signal InteractScannerAreaEntered(area: Area2D) +signal InteractScannerAreaExited(area: Area2D) + + +func _on_interact_scanner_area_entered(area: Area2D) -> void: + InteractScannerAreaEntered.emit(area) + + +func _on_interact_scanner_area_exited(area: Area2D) -> void: + InteractScannerAreaExited.emit(area) diff --git a/Scripts/Characters/Player/player.gd.uid b/Scripts/Characters/Player/player.gd.uid new file mode 100644 index 0000000..c51c982 --- /dev/null +++ b/Scripts/Characters/Player/player.gd.uid @@ -0,0 +1 @@ +uid://dacvayqstkvws diff --git a/Scripts/Components/facing_direction_component.gd b/Scripts/Components/facing_direction_component.gd new file mode 100644 index 0000000..e1917d7 --- /dev/null +++ b/Scripts/Components/facing_direction_component.gd @@ -0,0 +1,26 @@ +extends Node +class_name FacingDirectionComponent + +signal DirectionChanged + +@export var current_direction: Enums.Directions = Enums.Directions.DOWN + +# Public Methods +func GetCurrentDirection() -> Enums.Directions: + return current_direction + + +func ChangeDirectionUsingMovementVector(movement_vector: Vector2) -> void: + var new_direction := _get_direction_from_mov_vec(movement_vector) + if current_direction != new_direction: + current_direction = new_direction + DirectionChanged.emit() + + +# Private Methods +func _get_direction_from_mov_vec(mov_vec: Vector2) -> Enums.Directions: + if mov_vec.x < 0: return Enums.Directions.LEFT + if mov_vec.x > 0: return Enums.Directions.RIGHT + if mov_vec.y < 0: return Enums.Directions.UP + if mov_vec.y > 0: return Enums.Directions.DOWN + return Enums.Directions.DOWN diff --git a/Scripts/Components/facing_direction_component.gd.uid b/Scripts/Components/facing_direction_component.gd.uid new file mode 100644 index 0000000..726d694 --- /dev/null +++ b/Scripts/Components/facing_direction_component.gd.uid @@ -0,0 +1 @@ +uid://b0l02v61if6k8 diff --git a/Scripts/Item Locations/abstract_location_items.gd b/Scripts/Item Locations/abstract_location_items.gd new file mode 100644 index 0000000..da91f56 --- /dev/null +++ b/Scripts/Item Locations/abstract_location_items.gd @@ -0,0 +1,12 @@ +extends Node +class_name AbstractLocationItems + +# Public Methods +func CheckItemAtLocation(_location: Enums.CheckLocations) -> Enums.Items: + push_error("Unimplemented Method") + return Enums.Items.RED_POTION + + +func GetLocationShopPrice(_location: Enums.CheckLocations) -> int: + push_error("Unimplemented Method") + return 0 diff --git a/Scripts/Item Locations/abstract_location_items.gd.uid b/Scripts/Item Locations/abstract_location_items.gd.uid new file mode 100644 index 0000000..d1c6fca --- /dev/null +++ b/Scripts/Item Locations/abstract_location_items.gd.uid @@ -0,0 +1 @@ +uid://dhwej0slcry2j diff --git a/Scripts/Item Locations/location_items.gd b/Scripts/Item Locations/location_items.gd new file mode 100644 index 0000000..6c20098 --- /dev/null +++ b/Scripts/Item Locations/location_items.gd @@ -0,0 +1,24 @@ +extends AbstractLocationItems +class_name LocationItems + +# Public Methods +func CheckItemAtLocation(location: Enums.CheckLocations) -> Enums.Items: + match location: + Enums.CheckLocations.SHOP_1: + return Enums.Items.WOOD_SWORD + Enums.CheckLocations.SHOP_2: + return Enums.Items.BRONZE_KEY + Enums.CheckLocations.SHOP_3: + return Enums.Items.RED_POTION + return Enums.Items.GOLD_100 + + +func GetLocationShopPrice(location: Enums.CheckLocations) -> int: + match location: + Enums.CheckLocations.SHOP_1: + return 500 + Enums.CheckLocations.SHOP_2: + return 200 + Enums.CheckLocations.SHOP_3: + return 100 + return 1234 diff --git a/Scripts/Item Locations/location_items.gd.uid b/Scripts/Item Locations/location_items.gd.uid new file mode 100644 index 0000000..dc4cd43 --- /dev/null +++ b/Scripts/Item Locations/location_items.gd.uid @@ -0,0 +1 @@ +uid://dmtsyb6x5lnco diff --git a/Scripts/Managers/game_manager.gd b/Scripts/Managers/game_manager.gd new file mode 100644 index 0000000..30067b4 --- /dev/null +++ b/Scripts/Managers/game_manager.gd @@ -0,0 +1,8 @@ +extends Node + +var location_items: AbstractLocationItems + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + # TODO Will have an APLocationItems, select the correct one + location_items = LocationItems.new() diff --git a/Scripts/Managers/game_manager.gd.uid b/Scripts/Managers/game_manager.gd.uid new file mode 100644 index 0000000..efe94b5 --- /dev/null +++ b/Scripts/Managers/game_manager.gd.uid @@ -0,0 +1 @@ +uid://cb4tuxriixfqs diff --git a/Scripts/Maps/Connectors/shop_item_label_connector.gd b/Scripts/Maps/Connectors/shop_item_label_connector.gd new file mode 100644 index 0000000..26e0c80 --- /dev/null +++ b/Scripts/Maps/Connectors/shop_item_label_connector.gd @@ -0,0 +1,27 @@ +extends Node + +@onready var item_notification: Label = $"../CanvasLayer/Item Notification" + +var current_shop_item: ShopItem = null + +# Public Methods +func OnPlayerInteractScannerAreaEntered(area: Area2D) -> void: + if area is not ShopItem: + return + + var shop_item := area as ShopItem + if shop_item != current_shop_item: + current_shop_item = shop_item + var check_location := shop_item.check_location + var item := GameManager.location_items.CheckItemAtLocation(check_location) + var item_name: String = Enums.Items.keys()[item] + item_notification.text = item_name + + +func OnPlayerInteractScannerAreaExited(area: Area2D) -> void: + if area is not ShopItem: + return + + if area == current_shop_item: + item_notification.text = "" + current_shop_item = null diff --git a/Scripts/Maps/Connectors/shop_item_label_connector.gd.uid b/Scripts/Maps/Connectors/shop_item_label_connector.gd.uid new file mode 100644 index 0000000..1311f8b --- /dev/null +++ b/Scripts/Maps/Connectors/shop_item_label_connector.gd.uid @@ -0,0 +1 @@ +uid://cpr710p4wdgx diff --git a/Scripts/Maps/shop.gd b/Scripts/Maps/shop.gd new file mode 100644 index 0000000..e9f5f01 --- /dev/null +++ b/Scripts/Maps/shop.gd @@ -0,0 +1,11 @@ +extends Node2D + +@onready var item_notification: Label = $"CanvasLayer/Item Notification" + + +func _on_player_shop_item_scanned(item_name: String) -> void: + item_notification.text = item_name + + +func _on_player_shop_item_unscanned() -> void: + item_notification.text = "" diff --git a/Scripts/Maps/shop.gd.uid b/Scripts/Maps/shop.gd.uid new file mode 100644 index 0000000..768f10e --- /dev/null +++ b/Scripts/Maps/shop.gd.uid @@ -0,0 +1 @@ +uid://btg630l3xo16w diff --git a/Scripts/Objects/shop_item.gd b/Scripts/Objects/shop_item.gd new file mode 100644 index 0000000..a5dd27c --- /dev/null +++ b/Scripts/Objects/shop_item.gd @@ -0,0 +1,13 @@ +extends Area2D +class_name ShopItem + +@export var check_location: Enums.CheckLocations + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(_delta: float) -> void: + pass diff --git a/Scripts/Objects/shop_item.gd.uid b/Scripts/Objects/shop_item.gd.uid new file mode 100644 index 0000000..cdd4743 --- /dev/null +++ b/Scripts/Objects/shop_item.gd.uid @@ -0,0 +1 @@ +uid://cggyjxrk4qqfm diff --git a/Scripts/gui.gd b/Scripts/gui.gd new file mode 100644 index 0000000..a1d4176 --- /dev/null +++ b/Scripts/gui.gd @@ -0,0 +1,11 @@ +extends Control + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + pass diff --git a/Scripts/gui.gd.uid b/Scripts/gui.gd.uid new file mode 100644 index 0000000..932afc2 --- /dev/null +++ b/Scripts/gui.gd.uid @@ -0,0 +1 @@ +uid://c4w8hney4mesw diff --git a/Scripts/main.gd b/Scripts/main.gd new file mode 100644 index 0000000..2cecd9c --- /dev/null +++ b/Scripts/main.gd @@ -0,0 +1,11 @@ +extends Node2D + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + pass diff --git a/Scripts/main.gd.uid b/Scripts/main.gd.uid new file mode 100644 index 0000000..7a69356 --- /dev/null +++ b/Scripts/main.gd.uid @@ -0,0 +1 @@ +uid://vv4pj8uhiad8 diff --git a/Scripts/world.gd b/Scripts/world.gd new file mode 100644 index 0000000..2cecd9c --- /dev/null +++ b/Scripts/world.gd @@ -0,0 +1,11 @@ +extends Node2D + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + pass diff --git a/Scripts/world.gd.uid b/Scripts/world.gd.uid new file mode 100644 index 0000000..98fe420 --- /dev/null +++ b/Scripts/world.gd.uid @@ -0,0 +1 @@ +uid://ekp7au5wf06q