Untracked Files

This commit is contained in:
2026-02-22 13:54:40 -06:00
parent 63e2f75e7b
commit 90241d6830
56 changed files with 1083 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

View File

@@ -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

View File

@@ -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")

122
Scenes/Maps/shop.tscn Normal file
View File

@@ -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"]

View File

@@ -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")

20
Scenes/main.tscn Normal file
View File

@@ -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")

View File

@@ -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)

View File

@@ -0,0 +1 @@
uid://brlisuoocwehh

View File

@@ -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)

View File

@@ -0,0 +1 @@
uid://dwclkwbig1uii

View File

@@ -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)

View File

@@ -0,0 +1 @@
uid://dacvayqstkvws

View File

@@ -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

View File

@@ -0,0 +1 @@
uid://b0l02v61if6k8

View File

@@ -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

View File

@@ -0,0 +1 @@
uid://dhwej0slcry2j

View File

@@ -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

View File

@@ -0,0 +1 @@
uid://dmtsyb6x5lnco

View File

@@ -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()

View File

@@ -0,0 +1 @@
uid://cb4tuxriixfqs

View File

@@ -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

View File

@@ -0,0 +1 @@
uid://cpr710p4wdgx

11
Scripts/Maps/shop.gd Normal file
View File

@@ -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 = ""

1
Scripts/Maps/shop.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://btg630l3xo16w

View File

@@ -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

View File

@@ -0,0 +1 @@
uid://cggyjxrk4qqfm

11
Scripts/gui.gd Normal file
View File

@@ -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

1
Scripts/gui.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://c4w8hney4mesw

11
Scripts/main.gd Normal file
View File

@@ -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

1
Scripts/main.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://vv4pj8uhiad8

11
Scripts/world.gd Normal file
View File

@@ -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

1
Scripts/world.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://ekp7au5wf06q