diff --git a/.gitignore b/.gitignore index bcd77c4..0e212ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ project/.godot .idea +.vscode diff --git a/project/assets/tilemap/tilemaps/Bush1.png b/project/assets/tilemap/tilemaps/Bush1.png deleted file mode 100644 index a8f91e8..0000000 Binary files a/project/assets/tilemap/tilemaps/Bush1.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Bush1.png.import b/project/assets/tilemap/tilemaps/Bush1.png.import deleted file mode 100644 index 573f294..0000000 --- a/project/assets/tilemap/tilemaps/Bush1.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://by0ao1dfpv7g0" -path="res://.godot/imported/Bush1.png-092355c79998cbca852c55775b03b5a0.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Bush1.png" -dest_files=["res://.godot/imported/Bush1.png-092355c79998cbca852c55775b03b5a0.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Source File.psd b/project/assets/tilemap/tilemaps/Source File.psd deleted file mode 100644 index 1501fce..0000000 Binary files a/project/assets/tilemap/tilemaps/Source File.psd and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_1.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_1.png deleted file mode 100644 index 3394ebc..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_1.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_1.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_1.png.import deleted file mode 100644 index 2f5bc29..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_1.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c7uxij8vlypf8" -path="res://.godot/imported/wood_1.png-7a9c8ec126cf3771c98f5c26c56a4409.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_1.png" -dest_files=["res://.godot/imported/wood_1.png-7a9c8ec126cf3771c98f5c26c56a4409.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_10.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_10.png deleted file mode 100644 index b166a94..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_10.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_10.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_10.png.import deleted file mode 100644 index f371d83..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_10.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://5w6kxk04q7ve" -path="res://.godot/imported/wood_10.png-e3ac6877e0f03cc028dd9f9cd9e3bfab.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_10.png" -dest_files=["res://.godot/imported/wood_10.png-e3ac6877e0f03cc028dd9f9cd9e3bfab.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_11.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_11.png deleted file mode 100644 index b21af77..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_11.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_11.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_11.png.import deleted file mode 100644 index 307fc18..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_11.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bv8etfgdemm23" -path="res://.godot/imported/wood_11.png-5ed3cb6ef2277f6e93b32fba5cc2c488.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_11.png" -dest_files=["res://.godot/imported/wood_11.png-5ed3cb6ef2277f6e93b32fba5cc2c488.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_2.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_2.png deleted file mode 100644 index 1a018cb..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_2.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_2.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_2.png.import deleted file mode 100644 index 885bfcb..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_2.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dtpp0b7c3fngc" -path="res://.godot/imported/wood_2.png-7a5547986fff3a6f66bee10d3c30262d.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_2.png" -dest_files=["res://.godot/imported/wood_2.png-7a5547986fff3a6f66bee10d3c30262d.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_3.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_3.png deleted file mode 100644 index 19c7298..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_3.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_3.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_3.png.import deleted file mode 100644 index fd66ec7..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_3.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://fv3mesfc4n4e" -path="res://.godot/imported/wood_3.png-c731959197d567c2a5cd4c324d90932b.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_3.png" -dest_files=["res://.godot/imported/wood_3.png-c731959197d567c2a5cd4c324d90932b.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_4.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_4.png deleted file mode 100644 index 455b7a2..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_4.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_4.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_4.png.import deleted file mode 100644 index 04e1659..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_4.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://i0c020wbsnu" -path="res://.godot/imported/wood_4.png-fb4b032a2a853f8104bc18321d15a251.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_4.png" -dest_files=["res://.godot/imported/wood_4.png-fb4b032a2a853f8104bc18321d15a251.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_5.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_5.png deleted file mode 100644 index 8f2f198..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_5.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_5.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_5.png.import deleted file mode 100644 index 20985a8..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_5.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cj80dxddktm48" -path="res://.godot/imported/wood_5.png-ab271761187ec7216377f97839b1598a.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_5.png" -dest_files=["res://.godot/imported/wood_5.png-ab271761187ec7216377f97839b1598a.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_6.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_6.png deleted file mode 100644 index 2e8f714..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_6.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_6.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_6.png.import deleted file mode 100644 index 6221dd1..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_6.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://i032gptgk3yt" -path="res://.godot/imported/wood_6.png-2c6765e2e1a643fcbe2ea3a00c715dde.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_6.png" -dest_files=["res://.godot/imported/wood_6.png-2c6765e2e1a643fcbe2ea3a00c715dde.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_7.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_7.png deleted file mode 100644 index 060bd7a..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_7.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_7.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_7.png.import deleted file mode 100644 index bcc3ce1..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_7.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://lcs7ax1a83y4" -path="res://.godot/imported/wood_7.png-84b3b2691533e742ef571c33808e52fb.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_7.png" -dest_files=["res://.godot/imported/wood_7.png-84b3b2691533e742ef571c33808e52fb.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_8.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_8.png deleted file mode 100644 index 7d87d6c..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_8.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_8.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_8.png.import deleted file mode 100644 index a9feeff..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_8.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://datjchu6dk52n" -path="res://.godot/imported/wood_8.png-ffa5dc2d83162634acd0d3712c570faa.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_8.png" -dest_files=["res://.godot/imported/wood_8.png-ffa5dc2d83162634acd0d3712c570faa.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_9.png b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_9.png deleted file mode 100644 index 05e384b..0000000 Binary files a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_9.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_9.png.import b/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_9.png.import deleted file mode 100644 index 2317d64..0000000 --- a/project/assets/tilemap/tilemaps/Transparent .PNG Files/wood_9.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://crkf13g4x1kac" -path="res://.godot/imported/wood_9.png-a4dfe5085f49a8419947accdd3cd56c3.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/Transparent .PNG Files/wood_9.png" -dest_files=["res://.godot/imported/wood_9.png-a4dfe5085f49a8419947accdd3cd56c3.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/campfire-sheet.png b/project/assets/tilemap/tilemaps/campfire-sheet.png deleted file mode 100644 index 11edcda..0000000 Binary files a/project/assets/tilemap/tilemaps/campfire-sheet.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/campfire-sheet.png.import b/project/assets/tilemap/tilemaps/campfire-sheet.png.import deleted file mode 100644 index 43039c3..0000000 --- a/project/assets/tilemap/tilemaps/campfire-sheet.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://4j0vfs01d25v" -path="res://.godot/imported/campfire-sheet.png-e6b55f728a0001b35397c4b6fd44449d.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/campfire-sheet.png" -dest_files=["res://.godot/imported/campfire-sheet.png-e6b55f728a0001b35397c4b6fd44449d.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/combined_tilemap_objects.png.import b/project/assets/tilemap/tilemaps/combined_tilemap_objects.png.import deleted file mode 100644 index 66d255d..0000000 --- a/project/assets/tilemap/tilemaps/combined_tilemap_objects.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cyqmib3kbgajn" -path="res://.godot/imported/combined_tilemap_objects.png-de480fe84cfe8a19420bd631ba5b99b0.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/combined_tilemap_objects.png" -dest_files=["res://.godot/imported/combined_tilemap_objects.png-de480fe84cfe8a19420bd631ba5b99b0.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/combined_tilemap_objects2.png b/project/assets/tilemap/tilemaps/combined_tilemap_objects2.png deleted file mode 100644 index ca0223a..0000000 Binary files a/project/assets/tilemap/tilemaps/combined_tilemap_objects2.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/combined_tilemap_objects2.png.import b/project/assets/tilemap/tilemaps/combined_tilemap_objects2.png.import deleted file mode 100644 index 8ca5aaf..0000000 --- a/project/assets/tilemap/tilemaps/combined_tilemap_objects2.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://b4hb38awkytmm" -path="res://.godot/imported/combined_tilemap_objects2.png-fc6f99d7e713cb061772f862138779ce.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/combined_tilemap_objects2.png" -dest_files=["res://.godot/imported/combined_tilemap_objects2.png-fc6f99d7e713cb061772f862138779ce.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/combined_tilemap_objects_with_bush.png.import b/project/assets/tilemap/tilemaps/combined_tilemap_objects_with_bush.png.import deleted file mode 100644 index 9ba95e9..0000000 --- a/project/assets/tilemap/tilemaps/combined_tilemap_objects_with_bush.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://b7rmvuio4fliw" -path="res://.godot/imported/combined_tilemap_objects_with_bush.png-45549ca9a0961cedaeb5a37720f50a16.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/combined_tilemap_objects_with_bush.png" -dest_files=["res://.godot/imported/combined_tilemap_objects_with_bush.png-45549ca9a0961cedaeb5a37720f50a16.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/sprite-sheet.png b/project/assets/tilemap/tilemaps/sprite-sheet.png deleted file mode 100644 index 0d84596..0000000 Binary files a/project/assets/tilemap/tilemaps/sprite-sheet.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/sprite-sheet.png.import b/project/assets/tilemap/tilemaps/sprite-sheet.png.import deleted file mode 100644 index 497d6ed..0000000 --- a/project/assets/tilemap/tilemaps/sprite-sheet.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://b2u4r00fker81" -path="res://.godot/imported/sprite-sheet.png-89a1547582d3ee30bc4145081d986894.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/sprite-sheet.png" -dest_files=["res://.godot/imported/sprite-sheet.png-89a1547582d3ee30bc4145081d986894.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/sprite.json b/project/assets/tilemap/tilemaps/sprite.json index 958987a..030469f 100644 --- a/project/assets/tilemap/tilemaps/sprite.json +++ b/project/assets/tilemap/tilemaps/sprite.json @@ -1 +1 @@ -{"frames":[{"duration":0.1}],"layers":[{"name":"ground","cels":[{"image":"tilemaps\\tilemap_ground.png","frame":0}]},{"name":"objects","cels":[{"image":"tilemaps\\tilemap_objects.png","frame":0}]},{"name":"temperature","cels":[{"image":"tilemaps\\tilemap_temperature.png","frame":0}]},{"name":"player","cels":[{"image":"tilemaps\\tilemap_player.png","frame":0}]}],"height":320,"filename":"tilemaps.aseprite","width":320} \ No newline at end of file +{"layers":[{"cels":[{"frame":0,"image":"tilemaps\\tilemap_ground.png"}],"name":"ground"},{"cels":[{"frame":0,"image":"tilemaps\\tilemap_objects.png"}],"name":"objects"},{"cels":[{"frame":0,"image":"tilemaps\\tilemap_temperature.png"}],"name":"temperature"},{"cels":[{"frame":0,"image":"tilemaps\\tilemap_player.png"}],"name":"player"}],"height":320,"filename":"tilemaps.aseprite","width":320,"frames":[{"duration":0.1}]} \ No newline at end of file diff --git a/project/assets/tilemap/tilemaps/tilemap_chest.png b/project/assets/tilemap/tilemaps/tilemap_chest.png deleted file mode 100644 index 5375080..0000000 Binary files a/project/assets/tilemap/tilemaps/tilemap_chest.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/tilemap_chest.png.import b/project/assets/tilemap/tilemaps/tilemap_chest.png.import deleted file mode 100644 index a3d0862..0000000 --- a/project/assets/tilemap/tilemaps/tilemap_chest.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dw5mo025uy1gt" -path="res://.godot/imported/tilemap_chest.png-9c96f5b9598daeb4ba36fdd6c88a8d07.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/tilemap_chest.png" -dest_files=["res://.godot/imported/tilemap_chest.png-9c96f5b9598daeb4ba36fdd6c88a8d07.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/tilemap_dome.png b/project/assets/tilemap/tilemaps/tilemap_dome.png deleted file mode 100644 index 28c3c71..0000000 Binary files a/project/assets/tilemap/tilemaps/tilemap_dome.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/tilemap_dome.png.import b/project/assets/tilemap/tilemaps/tilemap_dome.png.import deleted file mode 100644 index 57ceef1..0000000 --- a/project/assets/tilemap/tilemaps/tilemap_dome.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://csuihs28cgrr4" -path="res://.godot/imported/tilemap_dome.png-5d641b6e95962f5756ea912ee06aa436.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/tilemap_dome.png" -dest_files=["res://.godot/imported/tilemap_dome.png-5d641b6e95962f5756ea912ee06aa436.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/tilemap_ground.png.import b/project/assets/tilemap/tilemaps/tilemap_ground.png.import index 48bf2f3..3632e9f 100644 --- a/project/assets/tilemap/tilemaps/tilemap_ground.png.import +++ b/project/assets/tilemap/tilemaps/tilemap_ground.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dy0gpc2vgr3o5" +uid="uid://diwoxcyj13q7v" path="res://.godot/imported/tilemap_ground.png-cb404afe66e487b3999901e2d621baa7.ctex" metadata={ "vram_texture": false @@ -31,4 +31,4 @@ 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 +detect_3d/compress_to=0 diff --git a/project/assets/tilemap/tilemaps/tilemap_objects.png.import b/project/assets/tilemap/tilemaps/tilemap_objects.png.import index 093120d..17bd991 100644 --- a/project/assets/tilemap/tilemaps/tilemap_objects.png.import +++ b/project/assets/tilemap/tilemaps/tilemap_objects.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cvb8hqljk0rv3" +uid="uid://dkvyu6a2bqans" path="res://.godot/imported/tilemap_objects.png-36dc04b2c5c4ea8db297745921fe10e8.ctex" metadata={ "vram_texture": false diff --git a/project/assets/tilemap/tilemaps/tilemap_objects_with_fire.png b/project/assets/tilemap/tilemaps/tilemap_objects_with_fire.png deleted file mode 100644 index 39025fe..0000000 Binary files a/project/assets/tilemap/tilemaps/tilemap_objects_with_fire.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/tilemap_objects_with_fire.png.import b/project/assets/tilemap/tilemaps/tilemap_objects_with_fire.png.import deleted file mode 100644 index 02eec47..0000000 --- a/project/assets/tilemap/tilemaps/tilemap_objects_with_fire.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://by3aqx7f28wx1" -path="res://.godot/imported/tilemap_objects_with_fire.png-6ab33ac36182c061b8c5f010d2dd3e0e.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/tilemap_objects_with_fire.png" -dest_files=["res://.godot/imported/tilemap_objects_with_fire.png-6ab33ac36182c061b8c5f010d2dd3e0e.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/tilemap_objects_with_woods.png b/project/assets/tilemap/tilemaps/tilemap_objects_with_woods.png deleted file mode 100644 index 380075f..0000000 Binary files a/project/assets/tilemap/tilemaps/tilemap_objects_with_woods.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/tilemap_objects_with_woods.png.import b/project/assets/tilemap/tilemaps/tilemap_objects_with_woods.png.import deleted file mode 100644 index 7ffe56c..0000000 --- a/project/assets/tilemap/tilemaps/tilemap_objects_with_woods.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://yo7djo6jpwud" -path="res://.godot/imported/tilemap_objects_with_woods.png-8c99b66eaade82277384925f4f98a020.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/tilemap_objects_with_woods.png" -dest_files=["res://.godot/imported/tilemap_objects_with_woods.png-8c99b66eaade82277384925f4f98a020.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tilemaps/tilemap_player.png.import b/project/assets/tilemap/tilemaps/tilemap_player.png.import index 7664dc4..907e393 100644 --- a/project/assets/tilemap/tilemaps/tilemap_player.png.import +++ b/project/assets/tilemap/tilemaps/tilemap_player.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bam5su5j62mof" +uid="uid://bwkvdumh22cmh" path="res://.godot/imported/tilemap_player.png-ea1fa2aedf5bb220961e9080aa573e32.ctex" metadata={ "vram_texture": false diff --git a/project/assets/tilemap/tilemaps/tilemap_temperature.png.import b/project/assets/tilemap/tilemaps/tilemap_temperature.png.import index 6566e5a..5e578c5 100644 --- a/project/assets/tilemap/tilemaps/tilemap_temperature.png.import +++ b/project/assets/tilemap/tilemaps/tilemap_temperature.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://d1sdhqjtrt1ng" +uid="uid://dtoy4tdohey8t" path="res://.godot/imported/tilemap_temperature.png-df4acfda23c8781105475512aa320086.ctex" metadata={ "vram_texture": false diff --git a/project/assets/tilemap/tilemaps/tilemap_tree.png b/project/assets/tilemap/tilemaps/tilemap_tree.png deleted file mode 100644 index e95662d..0000000 Binary files a/project/assets/tilemap/tilemaps/tilemap_tree.png and /dev/null differ diff --git a/project/assets/tilemap/tilemaps/tilemap_tree.png.import b/project/assets/tilemap/tilemaps/tilemap_tree.png.import deleted file mode 100644 index 0bc47a4..0000000 --- a/project/assets/tilemap/tilemaps/tilemap_tree.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dq624730bx1ik" -path="res://.godot/imported/tilemap_tree.png-5cce85c404bed7ffe07a2666c6ff486b.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/tilemap/tilemaps/tilemap_tree.png" -dest_files=["res://.godot/imported/tilemap_tree.png-5cce85c404bed7ffe07a2666c6ff486b.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -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/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/project/assets/tilemap/tileset.tres b/project/assets/tilemap/tileset.tres index 56de99a..d5b020d 100644 --- a/project/assets/tilemap/tileset.tres +++ b/project/assets/tilemap/tileset.tres @@ -1,10 +1,9 @@ -[gd_resource type="TileSet" load_steps=11 format=3 uid="uid://bi836ygcmyvhb"] +[gd_resource type="TileSet" load_steps=9 format=3 uid="uid://bi836ygcmyvhb"] -[ext_resource type="Texture2D" uid="uid://dy0gpc2vgr3o5" path="res://assets/tilemap/tilemaps/tilemap_ground.png" id="1_ukrsa"] -[ext_resource type="Texture2D" uid="uid://yo7djo6jpwud" path="res://assets/tilemap/tilemaps/tilemap_objects_with_woods.png" id="2_4qjvp"] -[ext_resource type="Texture2D" uid="uid://d1sdhqjtrt1ng" path="res://assets/tilemap/tilemaps/tilemap_temperature.png" id="3_xap0v"] -[ext_resource type="Texture2D" uid="uid://bam5su5j62mof" path="res://assets/tilemap/tilemaps/tilemap_player.png" id="4_f38wc"] -[ext_resource type="Texture2D" uid="uid://csuihs28cgrr4" path="res://assets/tilemap/tilemaps/tilemap_dome.png" id="6_q2m2b"] +[ext_resource type="Texture2D" uid="uid://diwoxcyj13q7v" path="res://assets/tilemap/tilemaps/tilemap_ground.png" id="1_ukrsa"] +[ext_resource type="Texture2D" uid="uid://dkvyu6a2bqans" path="res://assets/tilemap/tilemaps/tilemap_objects.png" id="2_15xge"] +[ext_resource type="Texture2D" uid="uid://dtoy4tdohey8t" path="res://assets/tilemap/tilemaps/tilemap_temperature.png" id="3_xap0v"] +[ext_resource type="Texture2D" uid="uid://bwkvdumh22cmh" path="res://assets/tilemap/tilemaps/tilemap_player.png" id="4_f38wc"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_114re"] texture = ExtResource("1_ukrsa") @@ -18,9 +17,14 @@ texture = ExtResource("1_ukrsa") 3:0/0 = 0 3:0/0/custom_data_0 = true 3:0/0/custom_data_2 = 1 +0:2/0 = 0 +1:2/0 = 0 +3:2/0 = 0 +3:3/0 = 0 +3:4/0 = 0 [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_x77e4"] -texture = ExtResource("2_4qjvp") +texture = ExtResource("2_15xge") 0:0/0 = 0 1:0/0 = 0 2:0/0 = 0 @@ -32,6 +36,16 @@ texture = ExtResource("2_4qjvp") 0:5/0 = 0 0:6/0 = 0 0:7/0 = 0 +3:0/0 = 0 +1:1/0 = 0 +2:1/0 = 0 +3:1/0 = 0 +1:2/0 = 0 +2:2/0 = 0 +3:2/0 = 0 +4:2/0 = 0 +4:0/size_in_atlas = Vector2i(1, 2) +4:0/0 = 0 [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_1og8x"] texture = ExtResource("3_xap0v") @@ -43,1559 +57,9 @@ texture = ExtResource("3_xap0v") [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_i41cv"] texture = ExtResource("4_f38wc") 0:0/0 = 0 - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_m8frf"] -texture = ExtResource("6_q2m2b") -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 -8:0/0 = 0 -9:0/0 = 0 -10:0/0 = 0 -11:0/0 = 0 -12:0/0 = 0 -13:0/0 = 0 -14:0/0 = 0 -15:0/0 = 0 -16:0/0 = 0 -17:0/0 = 0 -18:0/0 = 0 -19:0/0 = 0 -20:0/0 = 0 -21:0/0 = 0 -22:0/0 = 0 -23:0/0 = 0 -24:0/0 = 0 -25:0/0 = 0 -26:0/0 = 0 -27:0/0 = 0 -28:0/0 = 0 -29:0/0 = 0 -30:0/0 = 0 -31:0/0 = 0 -32:0/0 = 0 -33:0/0 = 0 -34:0/0 = 0 -35:0/0 = 0 -36:0/0 = 0 -37:0/0 = 0 -38:0/0 = 0 -39:0/0 = 0 -40:0/0 = 0 -41:0/0 = 0 -42:0/0 = 0 -43:0/0 = 0 -44:0/0 = 0 -45:0/0 = 0 -46:0/0 = 0 -47:0/0 = 0 -48:0/0 = 0 -49: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 -8:1/0 = 0 -9:1/0 = 0 -10:1/0 = 0 -11:1/0 = 0 -12:1/0 = 0 -13:1/0 = 0 -14:1/0 = 0 -15:1/0 = 0 -16:1/0 = 0 -17:1/0 = 0 -18:1/0 = 0 -19:1/0 = 0 -20:1/0 = 0 -21:1/0 = 0 -22:1/0 = 0 -23:1/0 = 0 -24:1/0 = 0 -25:1/0 = 0 -26:1/0 = 0 -27:1/0 = 0 -28:1/0 = 0 -29:1/0 = 0 -30:1/0 = 0 -31:1/0 = 0 -32:1/0 = 0 -33:1/0 = 0 -34:1/0 = 0 -35:1/0 = 0 -36:1/0 = 0 -37:1/0 = 0 -38:1/0 = 0 -39:1/0 = 0 -40:1/0 = 0 -41:1/0 = 0 -42:1/0 = 0 -43:1/0 = 0 -44:1/0 = 0 -45:1/0 = 0 -46:1/0 = 0 -47:1/0 = 0 -48:1/0 = 0 -49: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 -8:2/0 = 0 -9:2/0 = 0 -10:2/0 = 0 -11:2/0 = 0 -12:2/0 = 0 -13:2/0 = 0 -14:2/0 = 0 -15:2/0 = 0 -16:2/0 = 0 -17:2/0 = 0 -18:2/0 = 0 -19:2/0 = 0 -20:2/0 = 0 -21:2/0 = 0 -22:2/0 = 0 -23:2/0 = 0 -24:2/0 = 0 -25:2/0 = 0 -26:2/0 = 0 -27:2/0 = 0 -28:2/0 = 0 -29:2/0 = 0 -30:2/0 = 0 -31:2/0 = 0 -32:2/0 = 0 -33:2/0 = 0 -34:2/0 = 0 -35:2/0 = 0 -36:2/0 = 0 -37:2/0 = 0 -38:2/0 = 0 -39:2/0 = 0 -40:2/0 = 0 -41:2/0 = 0 -42:2/0 = 0 -43:2/0 = 0 -44:2/0 = 0 -45:2/0 = 0 -46:2/0 = 0 -47:2/0 = 0 -48:2/0 = 0 -49: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 -8:3/0 = 0 -9:3/0 = 0 -10:3/0 = 0 -11:3/0 = 0 -12:3/0 = 0 -13:3/0 = 0 -14:3/0 = 0 -15:3/0 = 0 -16:3/0 = 0 -17:3/0 = 0 -18:3/0 = 0 -19:3/0 = 0 -20:3/0 = 0 -21:3/0 = 0 -22:3/0 = 0 -23:3/0 = 0 -24:3/0 = 0 -25:3/0 = 0 -26:3/0 = 0 -27:3/0 = 0 -28:3/0 = 0 -29:3/0 = 0 -30:3/0 = 0 -31:3/0 = 0 -32:3/0 = 0 -33:3/0 = 0 -34:3/0 = 0 -35:3/0 = 0 -36:3/0 = 0 -37:3/0 = 0 -38:3/0 = 0 -39:3/0 = 0 -40:3/0 = 0 -41:3/0 = 0 -42:3/0 = 0 -43:3/0 = 0 -44:3/0 = 0 -45:3/0 = 0 -46:3/0 = 0 -47:3/0 = 0 -48:3/0 = 0 -49: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 -6:4/0 = 0 -7:4/0 = 0 -8:4/0 = 0 -9:4/0 = 0 -10:4/0 = 0 -11:4/0 = 0 -12:4/0 = 0 -13:4/0 = 0 -14:4/0 = 0 -15:4/0 = 0 -16:4/0 = 0 -17:4/0 = 0 -18:4/0 = 0 -19:4/0 = 0 -20:4/0 = 0 -21:4/0 = 0 -22:4/0 = 0 -23:4/0 = 0 -24:4/0 = 0 -25:4/0 = 0 -26:4/0 = 0 -27:4/0 = 0 -28:4/0 = 0 -29:4/0 = 0 -30:4/0 = 0 -31:4/0 = 0 -32:4/0 = 0 -33:4/0 = 0 -34:4/0 = 0 -35:4/0 = 0 -36:4/0 = 0 -37:4/0 = 0 -38:4/0 = 0 -39:4/0 = 0 -40:4/0 = 0 -41:4/0 = 0 -42:4/0 = 0 -43:4/0 = 0 -44:4/0 = 0 -45:4/0 = 0 -46:4/0 = 0 -47:4/0 = 0 -48:4/0 = 0 -49: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 -6:5/0 = 0 -7:5/0 = 0 -8:5/0 = 0 -9:5/0 = 0 -10:5/0 = 0 -11:5/0 = 0 -12:5/0 = 0 -13:5/0 = 0 -14:5/0 = 0 -15:5/0 = 0 -16:5/0 = 0 -17:5/0 = 0 -18:5/0 = 0 -19:5/0 = 0 -20:5/0 = 0 -21:5/0 = 0 -22:5/0 = 0 -23:5/0 = 0 -24:5/0 = 0 -25:5/0 = 0 -26:5/0 = 0 -27:5/0 = 0 -28:5/0 = 0 -29:5/0 = 0 -30:5/0 = 0 -31:5/0 = 0 -32:5/0 = 0 -33:5/0 = 0 -34:5/0 = 0 -35:5/0 = 0 -36:5/0 = 0 -37:5/0 = 0 -38:5/0 = 0 -39:5/0 = 0 -40:5/0 = 0 -41:5/0 = 0 -42:5/0 = 0 -43:5/0 = 0 -44:5/0 = 0 -45:5/0 = 0 -46:5/0 = 0 -47:5/0 = 0 -48:5/0 = 0 -49:5/0 = 0 -0:6/0 = 0 -1:6/0 = 0 -2:6/0 = 0 -3:6/0 = 0 -4:6/0 = 0 -5:6/0 = 0 -6:6/0 = 0 -7:6/0 = 0 -8:6/0 = 0 -9:6/0 = 0 -10:6/0 = 0 -11:6/0 = 0 -12:6/0 = 0 -13:6/0 = 0 -14:6/0 = 0 -15:6/0 = 0 -16:6/0 = 0 -17:6/0 = 0 -18:6/0 = 0 -19:6/0 = 0 -20:6/0 = 0 -21:6/0 = 0 -22:6/0 = 0 -23:6/0 = 0 -24:6/0 = 0 -25:6/0 = 0 -26:6/0 = 0 -27:6/0 = 0 -28:6/0 = 0 -29:6/0 = 0 -30:6/0 = 0 -31:6/0 = 0 -32:6/0 = 0 -33:6/0 = 0 -34:6/0 = 0 -35:6/0 = 0 -36:6/0 = 0 -37:6/0 = 0 -38:6/0 = 0 -39:6/0 = 0 -40:6/0 = 0 -41:6/0 = 0 -42:6/0 = 0 -43:6/0 = 0 -44:6/0 = 0 -45:6/0 = 0 -46:6/0 = 0 -47:6/0 = 0 -48:6/0 = 0 -49:6/0 = 0 -0:7/0 = 0 -1:7/0 = 0 -2:7/0 = 0 -3:7/0 = 0 -4:7/0 = 0 -5:7/0 = 0 -6:7/0 = 0 -7:7/0 = 0 -8:7/0 = 0 -9:7/0 = 0 -10:7/0 = 0 -11:7/0 = 0 -12:7/0 = 0 -13:7/0 = 0 -14:7/0 = 0 -15:7/0 = 0 -16:7/0 = 0 -17:7/0 = 0 -18:7/0 = 0 -19:7/0 = 0 -20:7/0 = 0 -21:7/0 = 0 -22:7/0 = 0 -23:7/0 = 0 -24:7/0 = 0 -25:7/0 = 0 -26:7/0 = 0 -27:7/0 = 0 -28:7/0 = 0 -29:7/0 = 0 -30:7/0 = 0 -31:7/0 = 0 -32:7/0 = 0 -33:7/0 = 0 -34:7/0 = 0 -35:7/0 = 0 -36:7/0 = 0 -37:7/0 = 0 -38:7/0 = 0 -39:7/0 = 0 -40:7/0 = 0 -41:7/0 = 0 -42:7/0 = 0 -43:7/0 = 0 -44:7/0 = 0 -45:7/0 = 0 -46:7/0 = 0 -47:7/0 = 0 -48:7/0 = 0 -49:7/0 = 0 -0:8/0 = 0 -1:8/0 = 0 -2:8/0 = 0 -3:8/0 = 0 -4:8/0 = 0 -5:8/0 = 0 -6:8/0 = 0 -7:8/0 = 0 -8:8/0 = 0 -9:8/0 = 0 -10:8/0 = 0 -11:8/0 = 0 -12:8/0 = 0 -13:8/0 = 0 -14:8/0 = 0 -15:8/0 = 0 -16:8/0 = 0 -17:8/0 = 0 -18:8/0 = 0 -19:8/0 = 0 -20:8/0 = 0 -21:8/0 = 0 -22:8/0 = 0 -23:8/0 = 0 -24:8/0 = 0 -25:8/0 = 0 -26:8/0 = 0 -27:8/0 = 0 -28:8/0 = 0 -29:8/0 = 0 -30:8/0 = 0 -31:8/0 = 0 -32:8/0 = 0 -33:8/0 = 0 -34:8/0 = 0 -35:8/0 = 0 -36:8/0 = 0 -37:8/0 = 0 -38:8/0 = 0 -39:8/0 = 0 -40:8/0 = 0 -41:8/0 = 0 -42:8/0 = 0 -43:8/0 = 0 -44:8/0 = 0 -45:8/0 = 0 -46:8/0 = 0 -47:8/0 = 0 -48:8/0 = 0 -49:8/0 = 0 -0:9/0 = 0 -1:9/0 = 0 -2:9/0 = 0 -3:9/0 = 0 -4:9/0 = 0 -5:9/0 = 0 -6:9/0 = 0 -7:9/0 = 0 -8:9/0 = 0 -9:9/0 = 0 -10:9/0 = 0 -11:9/0 = 0 -12:9/0 = 0 -13:9/0 = 0 -14:9/0 = 0 -15:9/0 = 0 -16:9/0 = 0 -17:9/0 = 0 -18:9/0 = 0 -19:9/0 = 0 -20:9/0 = 0 -21:9/0 = 0 -22:9/0 = 0 -23:9/0 = 0 -24:9/0 = 0 -25:9/0 = 0 -26:9/0 = 0 -27:9/0 = 0 -28:9/0 = 0 -29:9/0 = 0 -30:9/0 = 0 -31:9/0 = 0 -32:9/0 = 0 -33:9/0 = 0 -34:9/0 = 0 -35:9/0 = 0 -36:9/0 = 0 -37:9/0 = 0 -38:9/0 = 0 -39:9/0 = 0 -40:9/0 = 0 -41:9/0 = 0 -42:9/0 = 0 -43:9/0 = 0 -44:9/0 = 0 -45:9/0 = 0 -46:9/0 = 0 -47:9/0 = 0 -48:9/0 = 0 -49:9/0 = 0 -0:10/0 = 0 -1:10/0 = 0 -2:10/0 = 0 -3:10/0 = 0 -4:10/0 = 0 -5:10/0 = 0 -6:10/0 = 0 -7:10/0 = 0 -8:10/0 = 0 -9:10/0 = 0 -10:10/0 = 0 -11:10/0 = 0 -12:10/0 = 0 -13:10/0 = 0 -14:10/0 = 0 -15:10/0 = 0 -16:10/0 = 0 -17:10/0 = 0 -18:10/0 = 0 -19:10/0 = 0 -20:10/0 = 0 -21:10/0 = 0 -22:10/0 = 0 -23:10/0 = 0 -24:10/0 = 0 -25:10/0 = 0 -26:10/0 = 0 -27:10/0 = 0 -28:10/0 = 0 -29:10/0 = 0 -30:10/0 = 0 -31:10/0 = 0 -32:10/0 = 0 -33:10/0 = 0 -34:10/0 = 0 -35:10/0 = 0 -36:10/0 = 0 -37:10/0 = 0 -38:10/0 = 0 -39:10/0 = 0 -40:10/0 = 0 -41:10/0 = 0 -42:10/0 = 0 -43:10/0 = 0 -44:10/0 = 0 -45:10/0 = 0 -46:10/0 = 0 -47:10/0 = 0 -48:10/0 = 0 -49:10/0 = 0 -0:11/0 = 0 -1:11/0 = 0 -2:11/0 = 0 -3:11/0 = 0 -4:11/0 = 0 -5:11/0 = 0 -6:11/0 = 0 -7:11/0 = 0 -8:11/0 = 0 -9:11/0 = 0 -10:11/0 = 0 -11:11/0 = 0 -12:11/0 = 0 -13:11/0 = 0 -14:11/0 = 0 -15:11/0 = 0 -16:11/0 = 0 -17:11/0 = 0 -18:11/0 = 0 -19:11/0 = 0 -20:11/0 = 0 -21:11/0 = 0 -22:11/0 = 0 -23:11/0 = 0 -24:11/0 = 0 -25:11/0 = 0 -26:11/0 = 0 -27:11/0 = 0 -28:11/0 = 0 -29:11/0 = 0 -30:11/0 = 0 -31:11/0 = 0 -32:11/0 = 0 -33:11/0 = 0 -34:11/0 = 0 -35:11/0 = 0 -36:11/0 = 0 -37:11/0 = 0 -38:11/0 = 0 -39:11/0 = 0 -40:11/0 = 0 -41:11/0 = 0 -42:11/0 = 0 -43:11/0 = 0 -44:11/0 = 0 -45:11/0 = 0 -46:11/0 = 0 -47:11/0 = 0 -48:11/0 = 0 -49:11/0 = 0 -0:12/0 = 0 -1:12/0 = 0 -2:12/0 = 0 -3:12/0 = 0 -4:12/0 = 0 -5:12/0 = 0 -6:12/0 = 0 -7:12/0 = 0 -8:12/0 = 0 -9:12/0 = 0 -10:12/0 = 0 -11:12/0 = 0 -12:12/0 = 0 -13:12/0 = 0 -14:12/0 = 0 -15:12/0 = 0 -16:12/0 = 0 -17:12/0 = 0 -18:12/0 = 0 -19:12/0 = 0 -20:12/0 = 0 -21:12/0 = 0 -22:12/0 = 0 -23:12/0 = 0 -24:12/0 = 0 -25:12/0 = 0 -26:12/0 = 0 -27:12/0 = 0 -28:12/0 = 0 -29:12/0 = 0 -30:12/0 = 0 -31:12/0 = 0 -32:12/0 = 0 -33:12/0 = 0 -34:12/0 = 0 -35:12/0 = 0 -36:12/0 = 0 -37:12/0 = 0 -38:12/0 = 0 -39:12/0 = 0 -40:12/0 = 0 -41:12/0 = 0 -42:12/0 = 0 -43:12/0 = 0 -44:12/0 = 0 -45:12/0 = 0 -46:12/0 = 0 -47:12/0 = 0 -48:12/0 = 0 -49:12/0 = 0 -0:13/0 = 0 -1:13/0 = 0 -2:13/0 = 0 -3:13/0 = 0 -4:13/0 = 0 -5:13/0 = 0 -6:13/0 = 0 -7:13/0 = 0 -8:13/0 = 0 -9:13/0 = 0 -10:13/0 = 0 -11:13/0 = 0 -12:13/0 = 0 -13:13/0 = 0 -14:13/0 = 0 -15:13/0 = 0 -16:13/0 = 0 -17:13/0 = 0 -18:13/0 = 0 -19:13/0 = 0 -20:13/0 = 0 -21:13/0 = 0 -22:13/0 = 0 -23:13/0 = 0 -24:13/0 = 0 -25:13/0 = 0 -26:13/0 = 0 -27:13/0 = 0 -28:13/0 = 0 -29:13/0 = 0 -30:13/0 = 0 -31:13/0 = 0 -32:13/0 = 0 -33:13/0 = 0 -34:13/0 = 0 -35:13/0 = 0 -36:13/0 = 0 -37:13/0 = 0 -38:13/0 = 0 -39:13/0 = 0 -40:13/0 = 0 -41:13/0 = 0 -42:13/0 = 0 -43:13/0 = 0 -44:13/0 = 0 -45:13/0 = 0 -46:13/0 = 0 -47:13/0 = 0 -48:13/0 = 0 -49:13/0 = 0 -0:14/0 = 0 -1:14/0 = 0 -2:14/0 = 0 -3:14/0 = 0 -4:14/0 = 0 -5:14/0 = 0 -6:14/0 = 0 -7:14/0 = 0 -8:14/0 = 0 -9:14/0 = 0 -10:14/0 = 0 -11:14/0 = 0 -12:14/0 = 0 -13:14/0 = 0 -14:14/0 = 0 -15:14/0 = 0 -16:14/0 = 0 -17:14/0 = 0 -18:14/0 = 0 -19:14/0 = 0 -20:14/0 = 0 -21:14/0 = 0 -22:14/0 = 0 -23:14/0 = 0 -24:14/0 = 0 -25:14/0 = 0 -26:14/0 = 0 -27:14/0 = 0 -28:14/0 = 0 -29:14/0 = 0 -30:14/0 = 0 -31:14/0 = 0 -32:14/0 = 0 -33:14/0 = 0 -34:14/0 = 0 -35:14/0 = 0 -36:14/0 = 0 -37:14/0 = 0 -38:14/0 = 0 -39:14/0 = 0 -40:14/0 = 0 -41:14/0 = 0 -42:14/0 = 0 -43:14/0 = 0 -44:14/0 = 0 -45:14/0 = 0 -46:14/0 = 0 -47:14/0 = 0 -48:14/0 = 0 -49:14/0 = 0 -0:15/0 = 0 -1:15/0 = 0 -2:15/0 = 0 -3:15/0 = 0 -4:15/0 = 0 -5:15/0 = 0 -6:15/0 = 0 -7:15/0 = 0 -8:15/0 = 0 -9:15/0 = 0 -10:15/0 = 0 -11:15/0 = 0 -12:15/0 = 0 -13:15/0 = 0 -14:15/0 = 0 -15:15/0 = 0 -16:15/0 = 0 -17:15/0 = 0 -18:15/0 = 0 -19:15/0 = 0 -20:15/0 = 0 -21:15/0 = 0 -22:15/0 = 0 -23:15/0 = 0 -24:15/0 = 0 -25:15/0 = 0 -26:15/0 = 0 -27:15/0 = 0 -28:15/0 = 0 -29:15/0 = 0 -30:15/0 = 0 -31:15/0 = 0 -32:15/0 = 0 -33:15/0 = 0 -34:15/0 = 0 -35:15/0 = 0 -36:15/0 = 0 -37:15/0 = 0 -38:15/0 = 0 -39:15/0 = 0 -40:15/0 = 0 -41:15/0 = 0 -42:15/0 = 0 -43:15/0 = 0 -44:15/0 = 0 -45:15/0 = 0 -46:15/0 = 0 -47:15/0 = 0 -48:15/0 = 0 -49:15/0 = 0 -0:16/0 = 0 -1:16/0 = 0 -2:16/0 = 0 -3:16/0 = 0 -4:16/0 = 0 -5:16/0 = 0 -6:16/0 = 0 -7:16/0 = 0 -8:16/0 = 0 -9:16/0 = 0 -10:16/0 = 0 -11:16/0 = 0 -12:16/0 = 0 -13:16/0 = 0 -14:16/0 = 0 -15:16/0 = 0 -16:16/0 = 0 -17:16/0 = 0 -18:16/0 = 0 -19:16/0 = 0 -20:16/0 = 0 -21:16/0 = 0 -22:16/0 = 0 -23:16/0 = 0 -24:16/0 = 0 -25:16/0 = 0 -26:16/0 = 0 -27:16/0 = 0 -28:16/0 = 0 -29:16/0 = 0 -30:16/0 = 0 -31:16/0 = 0 -32:16/0 = 0 -33:16/0 = 0 -34:16/0 = 0 -35:16/0 = 0 -36:16/0 = 0 -37:16/0 = 0 -38:16/0 = 0 -39:16/0 = 0 -40:16/0 = 0 -41:16/0 = 0 -42:16/0 = 0 -43:16/0 = 0 -44:16/0 = 0 -45:16/0 = 0 -46:16/0 = 0 -47:16/0 = 0 -48:16/0 = 0 -49:16/0 = 0 -0:17/0 = 0 -1:17/0 = 0 -2:17/0 = 0 -3:17/0 = 0 -4:17/0 = 0 -5:17/0 = 0 -6:17/0 = 0 -7:17/0 = 0 -8:17/0 = 0 -9:17/0 = 0 -10:17/0 = 0 -11:17/0 = 0 -12:17/0 = 0 -13:17/0 = 0 -14:17/0 = 0 -15:17/0 = 0 -16:17/0 = 0 -17:17/0 = 0 -18:17/0 = 0 -19:17/0 = 0 -20:17/0 = 0 -21:17/0 = 0 -22:17/0 = 0 -23:17/0 = 0 -24:17/0 = 0 -25:17/0 = 0 -26:17/0 = 0 -27:17/0 = 0 -28:17/0 = 0 -29:17/0 = 0 -30:17/0 = 0 -31:17/0 = 0 -32:17/0 = 0 -33:17/0 = 0 -34:17/0 = 0 -35:17/0 = 0 -36:17/0 = 0 -37:17/0 = 0 -38:17/0 = 0 -39:17/0 = 0 -40:17/0 = 0 -41:17/0 = 0 -42:17/0 = 0 -43:17/0 = 0 -44:17/0 = 0 -45:17/0 = 0 -46:17/0 = 0 -47:17/0 = 0 -48:17/0 = 0 -49:17/0 = 0 -0:18/0 = 0 -1:18/0 = 0 -2:18/0 = 0 -3:18/0 = 0 -4:18/0 = 0 -5:18/0 = 0 -6:18/0 = 0 -7:18/0 = 0 -8:18/0 = 0 -9:18/0 = 0 -10:18/0 = 0 -11:18/0 = 0 -12:18/0 = 0 -13:18/0 = 0 -14:18/0 = 0 -15:18/0 = 0 -16:18/0 = 0 -17:18/0 = 0 -18:18/0 = 0 -19:18/0 = 0 -20:18/0 = 0 -21:18/0 = 0 -22:18/0 = 0 -23:18/0 = 0 -24:18/0 = 0 -25:18/0 = 0 -26:18/0 = 0 -27:18/0 = 0 -28:18/0 = 0 -29:18/0 = 0 -30:18/0 = 0 -31:18/0 = 0 -32:18/0 = 0 -33:18/0 = 0 -34:18/0 = 0 -35:18/0 = 0 -36:18/0 = 0 -37:18/0 = 0 -38:18/0 = 0 -39:18/0 = 0 -40:18/0 = 0 -41:18/0 = 0 -42:18/0 = 0 -43:18/0 = 0 -44:18/0 = 0 -45:18/0 = 0 -46:18/0 = 0 -47:18/0 = 0 -48:18/0 = 0 -49:18/0 = 0 -0:19/0 = 0 -1:19/0 = 0 -2:19/0 = 0 -3:19/0 = 0 -4:19/0 = 0 -5:19/0 = 0 -6:19/0 = 0 -7:19/0 = 0 -8:19/0 = 0 -9:19/0 = 0 -10:19/0 = 0 -11:19/0 = 0 -12:19/0 = 0 -13:19/0 = 0 -14:19/0 = 0 -15:19/0 = 0 -16:19/0 = 0 -17:19/0 = 0 -18:19/0 = 0 -19:19/0 = 0 -20:19/0 = 0 -21:19/0 = 0 -22:19/0 = 0 -23:19/0 = 0 -24:19/0 = 0 -25:19/0 = 0 -26:19/0 = 0 -27:19/0 = 0 -28:19/0 = 0 -29:19/0 = 0 -30:19/0 = 0 -31:19/0 = 0 -32:19/0 = 0 -33:19/0 = 0 -34:19/0 = 0 -35:19/0 = 0 -36:19/0 = 0 -37:19/0 = 0 -38:19/0 = 0 -39:19/0 = 0 -40:19/0 = 0 -41:19/0 = 0 -42:19/0 = 0 -43:19/0 = 0 -44:19/0 = 0 -45:19/0 = 0 -46:19/0 = 0 -47:19/0 = 0 -48:19/0 = 0 -49:19/0 = 0 -0:20/0 = 0 -1:20/0 = 0 -2:20/0 = 0 -3:20/0 = 0 -4:20/0 = 0 -5:20/0 = 0 -6:20/0 = 0 -7:20/0 = 0 -8:20/0 = 0 -9:20/0 = 0 -10:20/0 = 0 -11:20/0 = 0 -12:20/0 = 0 -13:20/0 = 0 -14:20/0 = 0 -15:20/0 = 0 -16:20/0 = 0 -17:20/0 = 0 -18:20/0 = 0 -19:20/0 = 0 -20:20/0 = 0 -21:20/0 = 0 -22:20/0 = 0 -23:20/0 = 0 -24:20/0 = 0 -25:20/0 = 0 -26:20/0 = 0 -27:20/0 = 0 -28:20/0 = 0 -29:20/0 = 0 -30:20/0 = 0 -31:20/0 = 0 -32:20/0 = 0 -33:20/0 = 0 -34:20/0 = 0 -35:20/0 = 0 -36:20/0 = 0 -37:20/0 = 0 -38:20/0 = 0 -39:20/0 = 0 -40:20/0 = 0 -41:20/0 = 0 -42:20/0 = 0 -43:20/0 = 0 -44:20/0 = 0 -45:20/0 = 0 -46:20/0 = 0 -47:20/0 = 0 -48:20/0 = 0 -49:20/0 = 0 -0:21/0 = 0 -1:21/0 = 0 -2:21/0 = 0 -3:21/0 = 0 -4:21/0 = 0 -5:21/0 = 0 -6:21/0 = 0 -7:21/0 = 0 -8:21/0 = 0 -9:21/0 = 0 -10:21/0 = 0 -11:21/0 = 0 -12:21/0 = 0 -13:21/0 = 0 -14:21/0 = 0 -15:21/0 = 0 -16:21/0 = 0 -17:21/0 = 0 -18:21/0 = 0 -19:21/0 = 0 -20:21/0 = 0 -21:21/0 = 0 -22:21/0 = 0 -23:21/0 = 0 -24:21/0 = 0 -25:21/0 = 0 -26:21/0 = 0 -27:21/0 = 0 -28:21/0 = 0 -29:21/0 = 0 -30:21/0 = 0 -31:21/0 = 0 -32:21/0 = 0 -33:21/0 = 0 -34:21/0 = 0 -35:21/0 = 0 -36:21/0 = 0 -37:21/0 = 0 -38:21/0 = 0 -39:21/0 = 0 -40:21/0 = 0 -41:21/0 = 0 -42:21/0 = 0 -43:21/0 = 0 -44:21/0 = 0 -45:21/0 = 0 -46:21/0 = 0 -47:21/0 = 0 -48:21/0 = 0 -49:21/0 = 0 -0:22/0 = 0 -1:22/0 = 0 -2:22/0 = 0 -3:22/0 = 0 -4:22/0 = 0 -5:22/0 = 0 -6:22/0 = 0 -7:22/0 = 0 -8:22/0 = 0 -9:22/0 = 0 -10:22/0 = 0 -11:22/0 = 0 -12:22/0 = 0 -13:22/0 = 0 -14:22/0 = 0 -15:22/0 = 0 -16:22/0 = 0 -17:22/0 = 0 -18:22/0 = 0 -19:22/0 = 0 -20:22/0 = 0 -21:22/0 = 0 -22:22/0 = 0 -23:22/0 = 0 -24:22/0 = 0 -25:22/0 = 0 -26:22/0 = 0 -27:22/0 = 0 -28:22/0 = 0 -29:22/0 = 0 -30:22/0 = 0 -31:22/0 = 0 -32:22/0 = 0 -33:22/0 = 0 -34:22/0 = 0 -35:22/0 = 0 -36:22/0 = 0 -37:22/0 = 0 -38:22/0 = 0 -39:22/0 = 0 -40:22/0 = 0 -41:22/0 = 0 -42:22/0 = 0 -43:22/0 = 0 -44:22/0 = 0 -45:22/0 = 0 -46:22/0 = 0 -47:22/0 = 0 -48:22/0 = 0 -49:22/0 = 0 -0:23/0 = 0 -1:23/0 = 0 -2:23/0 = 0 -3:23/0 = 0 -4:23/0 = 0 -5:23/0 = 0 -6:23/0 = 0 -7:23/0 = 0 -8:23/0 = 0 -9:23/0 = 0 -10:23/0 = 0 -11:23/0 = 0 -12:23/0 = 0 -13:23/0 = 0 -14:23/0 = 0 -15:23/0 = 0 -16:23/0 = 0 -17:23/0 = 0 -18:23/0 = 0 -19:23/0 = 0 -20:23/0 = 0 -21:23/0 = 0 -22:23/0 = 0 -23:23/0 = 0 -24:23/0 = 0 -25:23/0 = 0 -26:23/0 = 0 -27:23/0 = 0 -28:23/0 = 0 -29:23/0 = 0 -30:23/0 = 0 -31:23/0 = 0 -32:23/0 = 0 -33:23/0 = 0 -34:23/0 = 0 -35:23/0 = 0 -36:23/0 = 0 -37:23/0 = 0 -38:23/0 = 0 -39:23/0 = 0 -40:23/0 = 0 -41:23/0 = 0 -42:23/0 = 0 -43:23/0 = 0 -44:23/0 = 0 -45:23/0 = 0 -46:23/0 = 0 -47:23/0 = 0 -48:23/0 = 0 -49:23/0 = 0 -0:24/0 = 0 -1:24/0 = 0 -2:24/0 = 0 -3:24/0 = 0 -4:24/0 = 0 -5:24/0 = 0 -6:24/0 = 0 -7:24/0 = 0 -8:24/0 = 0 -9:24/0 = 0 -10:24/0 = 0 -11:24/0 = 0 -12:24/0 = 0 -13:24/0 = 0 -14:24/0 = 0 -15:24/0 = 0 -16:24/0 = 0 -17:24/0 = 0 -18:24/0 = 0 -19:24/0 = 0 -20:24/0 = 0 -21:24/0 = 0 -22:24/0 = 0 -23:24/0 = 0 -24:24/0 = 0 -25:24/0 = 0 -26:24/0 = 0 -27:24/0 = 0 -28:24/0 = 0 -29:24/0 = 0 -30:24/0 = 0 -31:24/0 = 0 -32:24/0 = 0 -33:24/0 = 0 -34:24/0 = 0 -35:24/0 = 0 -36:24/0 = 0 -37:24/0 = 0 -38:24/0 = 0 -39:24/0 = 0 -40:24/0 = 0 -41:24/0 = 0 -42:24/0 = 0 -43:24/0 = 0 -44:24/0 = 0 -45:24/0 = 0 -46:24/0 = 0 -47:24/0 = 0 -48:24/0 = 0 -49:24/0 = 0 -0:25/0 = 0 -1:25/0 = 0 -2:25/0 = 0 -3:25/0 = 0 -4:25/0 = 0 -5:25/0 = 0 -6:25/0 = 0 -7:25/0 = 0 -8:25/0 = 0 -9:25/0 = 0 -10:25/0 = 0 -11:25/0 = 0 -12:25/0 = 0 -13:25/0 = 0 -14:25/0 = 0 -15:25/0 = 0 -16:25/0 = 0 -17:25/0 = 0 -18:25/0 = 0 -19:25/0 = 0 -20:25/0 = 0 -21:25/0 = 0 -22:25/0 = 0 -23:25/0 = 0 -24:25/0 = 0 -25:25/0 = 0 -26:25/0 = 0 -27:25/0 = 0 -28:25/0 = 0 -29:25/0 = 0 -30:25/0 = 0 -31:25/0 = 0 -32:25/0 = 0 -33:25/0 = 0 -34:25/0 = 0 -35:25/0 = 0 -36:25/0 = 0 -37:25/0 = 0 -38:25/0 = 0 -39:25/0 = 0 -40:25/0 = 0 -41:25/0 = 0 -42:25/0 = 0 -43:25/0 = 0 -44:25/0 = 0 -45:25/0 = 0 -46:25/0 = 0 -47:25/0 = 0 -48:25/0 = 0 -49:25/0 = 0 -0:26/0 = 0 -1:26/0 = 0 -2:26/0 = 0 -3:26/0 = 0 -4:26/0 = 0 -5:26/0 = 0 -6:26/0 = 0 -7:26/0 = 0 -8:26/0 = 0 -9:26/0 = 0 -10:26/0 = 0 -11:26/0 = 0 -12:26/0 = 0 -13:26/0 = 0 -14:26/0 = 0 -15:26/0 = 0 -16:26/0 = 0 -17:26/0 = 0 -18:26/0 = 0 -19:26/0 = 0 -20:26/0 = 0 -21:26/0 = 0 -22:26/0 = 0 -23:26/0 = 0 -24:26/0 = 0 -25:26/0 = 0 -26:26/0 = 0 -27:26/0 = 0 -28:26/0 = 0 -29:26/0 = 0 -30:26/0 = 0 -31:26/0 = 0 -32:26/0 = 0 -33:26/0 = 0 -34:26/0 = 0 -35:26/0 = 0 -36:26/0 = 0 -37:26/0 = 0 -38:26/0 = 0 -39:26/0 = 0 -40:26/0 = 0 -41:26/0 = 0 -42:26/0 = 0 -43:26/0 = 0 -44:26/0 = 0 -45:26/0 = 0 -46:26/0 = 0 -47:26/0 = 0 -48:26/0 = 0 -49:26/0 = 0 -0:27/0 = 0 -1:27/0 = 0 -2:27/0 = 0 -3:27/0 = 0 -4:27/0 = 0 -5:27/0 = 0 -6:27/0 = 0 -7:27/0 = 0 -8:27/0 = 0 -9:27/0 = 0 -10:27/0 = 0 -11:27/0 = 0 -12:27/0 = 0 -13:27/0 = 0 -14:27/0 = 0 -15:27/0 = 0 -16:27/0 = 0 -17:27/0 = 0 -18:27/0 = 0 -19:27/0 = 0 -20:27/0 = 0 -21:27/0 = 0 -22:27/0 = 0 -23:27/0 = 0 -24:27/0 = 0 -25:27/0 = 0 -26:27/0 = 0 -27:27/0 = 0 -28:27/0 = 0 -29:27/0 = 0 -30:27/0 = 0 -31:27/0 = 0 -32:27/0 = 0 -33:27/0 = 0 -34:27/0 = 0 -35:27/0 = 0 -36:27/0 = 0 -37:27/0 = 0 -38:27/0 = 0 -39:27/0 = 0 -40:27/0 = 0 -41:27/0 = 0 -42:27/0 = 0 -43:27/0 = 0 -44:27/0 = 0 -45:27/0 = 0 -46:27/0 = 0 -47:27/0 = 0 -48:27/0 = 0 -49:27/0 = 0 -0:28/0 = 0 -1:28/0 = 0 -2:28/0 = 0 -3:28/0 = 0 -4:28/0 = 0 -5:28/0 = 0 -6:28/0 = 0 -7:28/0 = 0 -8:28/0 = 0 -9:28/0 = 0 -10:28/0 = 0 -11:28/0 = 0 -12:28/0 = 0 -13:28/0 = 0 -14:28/0 = 0 -15:28/0 = 0 -16:28/0 = 0 -17:28/0 = 0 -18:28/0 = 0 -19:28/0 = 0 -20:28/0 = 0 -21:28/0 = 0 -22:28/0 = 0 -23:28/0 = 0 -24:28/0 = 0 -25:28/0 = 0 -26:28/0 = 0 -27:28/0 = 0 -28:28/0 = 0 -29:28/0 = 0 -30:28/0 = 0 -31:28/0 = 0 -32:28/0 = 0 -33:28/0 = 0 -34:28/0 = 0 -35:28/0 = 0 -36:28/0 = 0 -37:28/0 = 0 -38:28/0 = 0 -39:28/0 = 0 -40:28/0 = 0 -41:28/0 = 0 -42:28/0 = 0 -43:28/0 = 0 -44:28/0 = 0 -45:28/0 = 0 -46:28/0 = 0 -47:28/0 = 0 -48:28/0 = 0 -49:28/0 = 0 -0:29/0 = 0 -1:29/0 = 0 -2:29/0 = 0 -3:29/0 = 0 -4:29/0 = 0 -5:29/0 = 0 -6:29/0 = 0 -7:29/0 = 0 -8:29/0 = 0 -9:29/0 = 0 -10:29/0 = 0 -11:29/0 = 0 -12:29/0 = 0 -13:29/0 = 0 -14:29/0 = 0 -15:29/0 = 0 -16:29/0 = 0 -17:29/0 = 0 -18:29/0 = 0 -19:29/0 = 0 -20:29/0 = 0 -21:29/0 = 0 -22:29/0 = 0 -23:29/0 = 0 -24:29/0 = 0 -25:29/0 = 0 -26:29/0 = 0 -27:29/0 = 0 -28:29/0 = 0 -29:29/0 = 0 -30:29/0 = 0 -31:29/0 = 0 -32:29/0 = 0 -33:29/0 = 0 -34:29/0 = 0 -35:29/0 = 0 -36:29/0 = 0 -37:29/0 = 0 -38:29/0 = 0 -39:29/0 = 0 -40:29/0 = 0 -41:29/0 = 0 -42:29/0 = 0 -43:29/0 = 0 -44:29/0 = 0 -45:29/0 = 0 -46:29/0 = 0 -47:29/0 = 0 -48:29/0 = 0 -49:29/0 = 0 -0:30/0 = 0 -1:30/0 = 0 -2:30/0 = 0 -3:30/0 = 0 -4:30/0 = 0 -5:30/0 = 0 -6:30/0 = 0 -7:30/0 = 0 -8:30/0 = 0 -9:30/0 = 0 -10:30/0 = 0 -11:30/0 = 0 -12:30/0 = 0 -13:30/0 = 0 -14:30/0 = 0 -15:30/0 = 0 -16:30/0 = 0 -17:30/0 = 0 -18:30/0 = 0 -19:30/0 = 0 -20:30/0 = 0 -21:30/0 = 0 -22:30/0 = 0 -23:30/0 = 0 -24:30/0 = 0 -25:30/0 = 0 -26:30/0 = 0 -27:30/0 = 0 -28:30/0 = 0 -29:30/0 = 0 -30:30/0 = 0 -31:30/0 = 0 -32:30/0 = 0 -33:30/0 = 0 -34:30/0 = 0 -35:30/0 = 0 -36:30/0 = 0 -37:30/0 = 0 -38:30/0 = 0 -39:30/0 = 0 -40:30/0 = 0 -41:30/0 = 0 -42:30/0 = 0 -43:30/0 = 0 -44:30/0 = 0 -45:30/0 = 0 -46:30/0 = 0 -47:30/0 = 0 -48:30/0 = 0 -49:30/0 = 0 [resource] custom_data_layer_0/name = "walkable" @@ -1607,5 +71,4 @@ custom_data_layer_2/type = 2 sources/0 = SubResource("TileSetAtlasSource_114re") sources/2 = SubResource("TileSetAtlasSource_1og8x") sources/3 = SubResource("TileSetAtlasSource_i41cv") -sources/5 = SubResource("TileSetAtlasSource_m8frf") sources/1 = SubResource("TileSetAtlasSource_x77e4") diff --git a/project/main-scenes/island.tscn b/project/main-scenes/island.tscn index b0060d0..395f502 100644 --- a/project/main-scenes/island.tscn +++ b/project/main-scenes/island.tscn @@ -14,6 +14,16 @@ script = ExtResource("1_eeg2d") [node name="Camera2D" type="Camera2D" parent="."] script = ExtResource("2_1vbjl") +[node name="CanvasLayer" type="CanvasLayer" parent="Camera2D"] + +[node name="VBoxContainer" type="VBoxContainer" parent="Camera2D/CanvasLayer"] +offset_right = 40.0 +offset_bottom = 40.0 + +[node name="InventoryLabel" type="Label" parent="Camera2D/CanvasLayer/VBoxContainer"] +layout_mode = 2 +text = "test" + [node name="Tileset" type="Node2D" parent="."] script = ExtResource("1_k0rw8") @@ -28,7 +38,7 @@ tile_set = ExtResource("1_vlccq") [node name="InteractiveObjectsLayer" type="TileMapLayer" parent="Tileset"] scale = Vector2(0.979337, 1.0577) -tile_map_data = PackedByteArray("AAASABYAAQAAAAEAAAAWAAoAAQAAAAEAAAALABkAAQAAAAIAAAATABwAAQAAAAMAAAASAA8AAQAAAAMAAAAQAAUAAQAAAAMAAAAhAAkAAQAAAAMAAAAKABkAAQAAAAQAAABEACIAAQAAAAUAAABsADUAAQAAAAYAAABwAA8AAQAAAAcAAAA=") +tile_map_data = PackedByteArray("AAASABYAAQAAAAEAAAAWAAoAAQAAAAEAAAALABkAAQAAAAIAAAATABwAAQAAAAMAAAASAA8AAQAAAAMAAAAQAAUAAQAAAAMAAAAhAAkAAQAAAAMAAAAKABkAAQAAAAQAAABEACIAAQAAAAUAAABsADUAAQAAAAYAAABwAA8AAQAAAAcAAAAUAAYAAQADAAEAAAAXAAYAAQADAAAAAAARAAYAAQAEAAAAAAAJAAkAAQADAAEAAAAFAAgAAQADAAEAAAAFAAwAAQADAAEAAAAJAAwAAQADAAEAAAA=") tile_set = ExtResource("1_vlccq") [node name="PlayerLayer" type="TileMapLayer" parent="Tileset"] @@ -40,21 +50,9 @@ tile_set = ExtResource("1_vlccq") [node name="PlayerManager" type="Node" parent="."] script = ExtResource("4_1xqo1") -food_damage = null -temperature_damage = null -temperature_endure = null [node name="BehaviorTree" type="Node" parent="PlayerManager"] script = ExtResource("6_efs30") [node name="sl_Root" type="Node" parent="PlayerManager/BehaviorTree"] script = ExtResource("7_1jajd") - -[node name="CanvasLayer" type="CanvasLayer" parent="PlayerManager"] - -[node name="VBoxContainer" type="VBoxContainer" parent="PlayerManager/CanvasLayer"] -offset_right = 40.0 -offset_bottom = 40.0 - -[node name="InventoryLabel" type="Label" parent="PlayerManager/CanvasLayer/VBoxContainer"] -layout_mode = 2 diff --git a/project/scripts/global/Camera.gd b/project/scripts/global/Camera.gd index 10e6dc9..1526898 100644 --- a/project/scripts/global/Camera.gd +++ b/project/scripts/global/Camera.gd @@ -1,7 +1,7 @@ class_name Camera extends Camera2D -@export var border_acceleration: float = 2000.0 +@export var border_acceleration: float = 0#2000.0 @export var max_speed: float = 500.0 @export var inner_border_threshold: float = 60.0 @export var outer_border_threshold: float = 40.0 diff --git a/project/scripts/items/item.gd b/project/scripts/items/item.gd deleted file mode 100644 index c38ee8d..0000000 --- a/project/scripts/items/item.gd +++ /dev/null @@ -1,6 +0,0 @@ -class_name Item -extends Resource - -@export var name: String = "" -@export var max_stack: int = 1 -@export var atlas_coords: Vector2i = Vector2i(-1, -1) diff --git a/project/scripts/player/PlayerManager.gd b/project/scripts/player/PlayerManager.gd index 1664c83..7d66440 100644 --- a/project/scripts/player/PlayerManager.gd +++ b/project/scripts/player/PlayerManager.gd @@ -2,9 +2,11 @@ class_name PlayerManager extends Node @onready var inventory_label = $CanvasLayer/VBoxContainer/InventoryLabel + @export var food_damage: int = 1 @export var temperature_damage: int = 1 @export var temperature_endure: int = 50 +@export var view_distance: int = 50 var tilemap_types: TileMapTileTypes = TileMapTileTypes.new() # @@ -22,165 +24,163 @@ var inventory_slot: Vector2i = tilemap_types.EMPTY func _ready() -> void: - call_deferred("defer_ready") + call_deferred("defer_ready") func defer_ready() -> void: - behavior_tree.game_manager = game_manager - update_board() + behavior_tree.game_manager = game_manager + update_board() func _process(delta: float) -> void: - if Input.is_action_just_pressed("key_3"): - game_manager.camera.go_to_zooming(game_manager.world.tilemap_player.cell_to_local(board_position), 2) - if Input.is_action_just_pressed("key_4"): - move_to_nearest_tree() - move_to_nearest_bush() - move_to_chest() - move_to_campfire() - move_to_boatpart() + if Input.is_action_just_pressed("key_3"): + game_manager.camera.go_to_zooming(game_manager.world.tilemap_player.cell_to_local(board_position), 2) + if Input.is_action_just_pressed("key_5"): + pick_up_item(Vector2i(5, 8)) + pick_up_item(Vector2i(9, 9)) + if Input.is_action_just_pressed("key_4"): + var nearest: Vector2i = find_nearest_object(game_manager.world.tilemap_types.OBJECT_COLLECTION_TREE) + # nearest.x = nearest.x - 1 + walk_towards(nearest) + update_board() + # SECTION: board access/mangement func update_board() -> void: - game_manager.world.tilemap_player.clear_cells() - game_manager.world.tilemap_player.set_cell(board_position, tilemap_types.PLAYER) + game_manager.world.tilemap_player.clear_cells() + game_manager.world.tilemap_player.set_cell(board_position, tilemap_types.PLAYER) # SECTION: inventory system func pick_up_item(tilemap_pos: Vector2i) -> void: - var pick_up_cell: TileData = game_manager.world.tilemap_interactive.get_cell(tilemap_pos) - if not pick_up_cell: - push_warning("Player trying to pick up item that does not exist at ", tilemap_pos) - return + var pick_up_cell: TileData = game_manager.world.tilemap_interactive.get_cell(tilemap_pos) + if not pick_up_cell: + push_warning("Player trying to pick up item that does not exist at ", tilemap_pos) + return - var pick_up_item_type: Vector2i = game_manager.world.tilemap_interactive.tilemap.get_cell_atlas_coords(tilemap_pos) + var pick_up_item_type: Vector2i = game_manager.world.tilemap_interactive.tilemap.get_cell_atlas_coords(tilemap_pos) - # Check if the inventory slot is empty - if inventory_slot == tilemap_types.EMPTY: - inventory_slot = pick_up_item_type - game_manager.world.tilemap_interactive.clear_cell(tilemap_pos) # Clear the tilemap - print("Picked up item:", pick_up_item_type) - else: - # Inventory is full, swap the item - print("Inventory is full. Swapping item:", inventory_slot, "with item:", pick_up_item_type) - game_manager.world.tilemap_interactive.set_cell(tilemap_pos, inventory_slot) - inventory_slot = pick_up_item_type + # check if tile will transform into another tile upon pickup + var tile_after_pickup_transform = null + if tilemap_types.OBJECT_COLLECTION_BERRY_FILLED_BUSH.has(pick_up_item_type): + tile_after_pickup_transform = tilemap_types.OBJECT_COLLECTION_BERRY_EMPTY_BUSH[0] + + # check if the inventory slot is empty + if inventory_slot == tilemap_types.EMPTY: + inventory_slot = pick_up_item_type + if tile_after_pickup_transform: + game_manager.world.tilemap_interactive.set_cell(tilemap_pos, tile_after_pickup_transform) + else: + game_manager.world.tilemap_interactive.clear_cell(tilemap_pos) + print("Picked up item: ", pick_up_item_type) + else: + # inventory is full, swap the item + print("Inventory is full. Swapping item: ", inventory_slot, " with item: ", pick_up_item_type) + if tile_after_pickup_transform: + game_manager.world.tilemap_interactive.set_cell(tilemap_pos, tile_after_pickup_transform) + var drop_location: Vector2i = game_manager.world.find_item_drop_location(tilemap_pos) + if drop_location != tilemap_types.EMPTY: + game_manager.world.tilemap_interactive.set_cell(drop_location, inventory_slot) + else: + push_warning("Could not find valid drop position for ", inventory_slot) + else: + game_manager.world.tilemap_interactive.set_cell(tilemap_pos, inventory_slot) + inventory_slot = pick_up_item_type # SECTION: player movement func walk_towards(position: Vector2i) -> void: - walk_along(game_manager.world.find_path(board_position, position)) - print(game_manager.world.find_path(board_position, position)) + var path: Array[Vector2i] = game_manager.world.find_path(board_position, position) + walk_along(path) + func walk_along(path: Array[Vector2i]) -> void: - if len(path) > 1: - var next_position: Vector2i = path[1] - var direction: Vector2i = find_direction(board_position, next_position) - move_player(direction) + if len(path) > 1: + var next_position: Vector2i = path[1] + var direction: Vector2i = find_direction(board_position, next_position) + move_player(direction) + else: + push_warning("walk_along path is empty") func move_player(direction: Vector2i) -> void: - var new_position: Vector2 = board_position + direction - if game_manager.world.is_walkable(new_position): - board_position = new_position - print("Moved to:", board_position) - update_board() - else: - push_warning("Player trying to move to non-walkable position, prevented ", new_position) + var new_position: Vector2 = board_position + direction + if game_manager.world.is_walkable(new_position): + board_position = new_position + else: + push_warning("Player trying to move to non-walkable position, prevented ", new_position) -func move_to_nearest_tree(): - move_to_nearest_object(game_manager.world.tilemap_types.OBJECT_I_TREE_1, "tree") -func move_to_nearest_bush(): - move_to_nearest_object(game_manager.world.tilemap_types.OBJECT_I_BERRY_1, "bush") +func find_nearest_object(object_collection: Array[Vector2i]) -> Vector2i: + var object_positions: Array[Vector2i] = [] -func move_to_chest(): - move_to_nearest_object(game_manager.world.tilemap_types.OBJECT_I_CHEST_1, "chest") + for obj in object_collection: + object_positions.append_array(game_manager.world.tilemap_interactive.get_cells_by_type(obj)) -func move_to_boatpart(): - move_to_nearest_object(game_manager.world.tilemap_types.OBJECT_I_BOATPART_1, "boat part") + if object_positions.size() == 0: + push_warning("No " + str(object_collection) + " found!") + return tilemap_types.NO_TILE_FOUND -# func move_to_boat_building_place(): -# move_to_nearest_object(game_manager.world.tilemap_types.OBJECT_I_BOATPART_BUILDING_PLACE, "boatbuildingplace") + var closest_object: Vector2i = tilemap_types.NO_TILE_FOUND + var shortest_distance: float = 99999999 -func move_to_campfire(): - move_to_nearest_object(game_manager.world.tilemap_types.OBJECT_I_CAMPFIRE_1, "campfire") + for position in object_positions: + var distance: float = game_manager.world.manhattan_distance(board_position, position) + if closest_object == tilemap_types.NO_TILE_FOUND or distance < shortest_distance: + closest_object = position + shortest_distance = distance -func move_to_nearest_object(object_type: Vector2i, object_name: String) -> void: - # Aktuelle Spielerposition - var player_position: Vector2i = board_position - - # Koordinaten aller Objekte des angegebenen Typs suchen - var object_positions: Array[Vector2i] = game_manager.world.tilemap_interactive.get_cells_by_type(object_type) - - if object_positions.size() == 0: - push_warning("No " + object_name + " found!") - return - - # Nächstes Objekt finden - var closest_object: Vector2i = object_positions[0] - var shortest_distance: float = player_position.distance_to(closest_object) - - for position in object_positions: - var distance: float = player_position.distance_to(position) - if distance < shortest_distance: - closest_object = position - shortest_distance = distance - - # Spieler bewegen - print("Moving to nearest " + object_name + " at:", closest_object) - walk_towards(closest_object) + print("Find nearest " + str(object_collection) + " at:", closest_object) + return closest_object func find_direction(pos_a: Vector2i, pos_b: Vector2i) -> Vector2i: - var direction: Vector2i = Vector2i(0, 0) - if pos_a.x < pos_b.x: - direction.x = 1 - elif pos_a.x > pos_b.x: - direction.x = -1 + var direction: Vector2i = Vector2i(0, 0) + if pos_a.x < pos_b.x: + direction.x = 1 + elif pos_a.x > pos_b.x: + direction.x = -1 - if pos_a.y < pos_b.y: - direction.y = 1 - elif pos_a.y > pos_b.y: - direction.y = -1 + if pos_a.y < pos_b.y: + direction.y = 1 + elif pos_a.y > pos_b.y: + direction.y = -1 - return direction + return direction # SECTION: game tick func tick_handle_temperature(cell_temperature: int): - if cell_temperature == 0: - temperature_timer = 0 - elif temperature_timer > temperature_endure: - temperature_timer += cell_temperature - health -= temperature_damage + if cell_temperature == 0: + temperature_timer = 0 + elif temperature_timer > temperature_endure: + temperature_timer += cell_temperature + health -= temperature_damage func tick_handle_food(): - if food <= 0: - health -= food_damage - - + if food <= 0: + health -= food_damage func game_tick() -> void: - behavior_tree.game_tick() + behavior_tree.game_tick() - var player_positon_array: Array[Vector2i] = game_manager.world.tilemap_player.get_cells_by_type(tilemap_types.PLAYER) - if len(player_positon_array) > 0: - var player_positon: Vector2i = player_positon_array[0] - var cell_temperature: int = game_manager.world.tilemap_temperature.get_custom_data(player_positon, "temperature", 0) as int - tick_handle_temperature(cell_temperature) - else: - push_error("No player found on tilemap") + var player_positon_array: Array[Vector2i] = game_manager.world.tilemap_player.get_cells_by_type(tilemap_types.PLAYER) + if len(player_positon_array) > 0: + var player_positon: Vector2i = player_positon_array[0] + var cell_temperature: int = game_manager.world.tilemap_temperature.get_custom_data(player_positon, "temperature", 0) as int + tick_handle_temperature(cell_temperature) + else: + push_error("No player found on tilemap") - tick_handle_food() + tick_handle_food() - if health < 0: - game_manager.player_health_depleted() + if health < 0: + game_manager.player_health_depleted() - update_board() + update_board() diff --git a/project/scripts/tilemap/TileMapLayerAccess.gd b/project/scripts/tilemap/TileMapLayerAccess.gd index 761651b..94e00eb 100644 --- a/project/scripts/tilemap/TileMapLayerAccess.gd +++ b/project/scripts/tilemap/TileMapLayerAccess.gd @@ -12,16 +12,6 @@ func setup() -> void: func get_cells_by_type(atlas_coords: Vector2i) -> Array[Vector2i]: return tilemap.get_used_cells_by_id(sid, atlas_coords) -func set_cell_custom_data(position: Vector2i, key: String, value: Variant) -> void: - var tile_data: TileData = tilemap.get_cell_tile_data(position) - if tile_data: - tile_data.set_custom_data(key, value) - -func get_cell_custom_data(position: Vector2i, key: String, default_value: Variant) -> Variant: - var tile_data: TileData = tilemap.get_cell_tile_data(position) - if tile_data: - return tile_data.get_custom_data(key) - return default_value func get_cells_by_custom_data(field_name: String, custom_data: Variant) -> Array[Vector2i]: var tiles_with_custom_data: Array = [] diff --git a/project/scripts/tilemap/TileMapTileTypes.gd b/project/scripts/tilemap/TileMapTileTypes.gd index f9c4c19..5c93b84 100644 --- a/project/scripts/tilemap/TileMapTileTypes.gd +++ b/project/scripts/tilemap/TileMapTileTypes.gd @@ -2,6 +2,7 @@ class_name TileMapTileTypes # global values const EMPTY: Vector2i = Vector2i(-1, -1) +const NO_TILE_FOUND: Vector2i = Vector2i(-999999, -999999) # # ground, sid = 0 const GROUND_GRASS: Vector2i = Vector2i(0, 0) @@ -11,22 +12,27 @@ const GROUND_SAND: Vector2i = Vector2i(3, 0) # # objects, sid = 1 # NI = not interactive - const OBJECT_NI_RANDOM_1: Vector2i = Vector2i(0, 0) # testing only, to be removed const OBJECT_NI_RANDOM_2: Vector2i = Vector2i(1, 0) # testing only, to be removed -const OBJECT_NI_ROCK_1: Vector2i = Vector2i(2, 0) +const OBJECT_NI_ROCK_1: Vector2i = Vector2i(2, 0) # I = interactive -const OBJECT_BOAT_ENGINE :Vector2i = Vector2i(0,1) -const OBJECT_FUEL : Vectro2i = Vector2i(1,1) -const OBJECT_ANCHOR: Vector2i = Vector2(2,1) -const OBJECT_EMPTY_BUSH: Vector2i = Vector2(3,0) -const OBJECT_BERRY_BUSH: Vector2i = Vector2(3,1) -const OBJECT_TREE: Vector2i = Vector2(3,0) -const OBJECT_CHEST: Vector2i = Vector(0,2) -const OBJECT_GEARS: Vector2i = Vector(1,2) -const OBJECT_MEDIKIT: Vector2i = Vector(2,2) -const OBJECT_PADDLE: Vector2i = Vector(3,2) -const OBJECT_GAS_STOVE: Vector2i = Vector(4,2) +const OBJECT_I_BOAT_ENGINE: Vector2i = Vector2i(0, 1) +const OBJECT_I_FUEL: Vector2i = Vector2i(1, 1) +const OBJECT_I_ANCHOR: Vector2i = Vector2i(2, 1) +const OBJECT_I_EMPTY_BUSH: Vector2i = Vector2i(3, 0) +const OBJECT_I_FILLED_BUSH: Vector2i = Vector2i(3, 1) +const OBJECT_I_TREE_1_TOP: Vector2i = Vector2i(4, 0) +const OBJECT_I_TREE_1_BOTTOM: Vector2i = Vector2i(4, 1) +const OBJECT_I_CHEST: Vector2i = Vector2i(0, 2) +const OBJECT_I_GEARS: Vector2i = Vector2i(1, 2) +const OBJECT_I_MEDIKIT: Vector2i = Vector2i(2, 2) +const OBJECT_I_PADDLE: Vector2i = Vector2i(3, 2) +const OBJECT_I_GAS_STOVE: Vector2i = Vector2i(4, 2) +# collections +const OBJECT_COLLECTION_TREE: Array[Vector2i] = [OBJECT_I_TREE_1_TOP, OBJECT_I_TREE_1_BOTTOM] +const OBJECT_COLLECTION_BERRY_FILLED_BUSH: Array[Vector2i] = [OBJECT_I_FILLED_BUSH] +const OBJECT_COLLECTION_BERRY_EMPTY_BUSH: Array[Vector2i] = [OBJECT_I_EMPTY_BUSH] +# # temperature, sid = 2 const TEMPERATURE_NORMAL: Vector2i = Vector2i(-1, -1) const TEMPERATURE_COLD_1: Vector2i = Vector2i(0, 0) diff --git a/project/scripts/tilemap/World.gd b/project/scripts/tilemap/World.gd index a6ab90a..518bfd3 100644 --- a/project/scripts/tilemap/World.gd +++ b/project/scripts/tilemap/World.gd @@ -8,7 +8,6 @@ var tilemap_player: TileMapLayerAccess = TileMapLayerAccess.new() var tilemap_temperature: TileMapLayerAccess = TileMapLayerAccess.new() # var tilemap_types: TileMapTileTypes = TileMapTileTypes.new() -var interactive_tile_items: Dictionary = {} func _ready() -> void: @@ -28,7 +27,6 @@ func _ready() -> void: tilemap_interactive.setup() tilemap_player.setup() tilemap_temperature.setup() - print_tree_positions() # example usage @@ -39,22 +37,19 @@ func _ready() -> void: # tilemap_ground.set_cell(Vector2i(0, 0), tilemap_types.GROUND_GRASS) # print(tilemap_ground.local_to_cell(get_local_mouse_position())) -func print_tree_positions() -> void: - var tree_coords = tilemap_types.OBJECT_I_TREE_1 # Die Atlas-Koordinaten des Baums - var tree_positions = tilemap_interactive.get_cells_by_type(tree_coords) +func find_item_drop_location(center_pos: Vector2i) -> Vector2i: + for x in range(center_pos.x - 2, center_pos.x + 2): + for y in range(center_pos.y - 2, center_pos.y + 2): + var check_pos: Vector2i = Vector2i(x, y) + if not tilemap_interactive.get_cell(check_pos) and is_walkable(check_pos): + return check_pos + return Vector2i(-1, -1) - if tree_positions.size() == 0: - print("Keine Bäume gefunden.") - return - - print("Gefundene Bäume:") - for position in tree_positions: - print("- Baum bei:", position) func is_walkable(position: Vector2i) -> bool: - var ground_tile_walkable: bool = tilemap_ground.get_custom_data(position, "walkable", false) + var ground_tile_walkable: bool = tilemap_ground.get_custom_data(position, "walkable", false) var non_interactive_walkable: bool = tilemap_non_interactive.get_custom_data(position, "walkable", true) - var interactive_walkable: bool = tilemap_interactive.get_custom_data(position, "walkable", true) + var interactive_walkable: bool = tilemap_interactive.get_custom_data(position, "walkable", true) return ground_tile_walkable and non_interactive_walkable and interactive_walkable