diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/1.png b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/1.png new file mode 100644 index 0000000..f436e40 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a7a74a8211fb15020079e549048cc74b376689cff79c7cb5a0ecedaa6b2f66b +size 3317867 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/1.png.import b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/1.png.import new file mode 100644 index 0000000..acc9812 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/1.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://du7l08nfe12c2" +path="res://.godot/imported/1.png-740f1e53c0d26122bd8d51edb620e3ee.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/cityfirstprops/1.png" +dest_files=["res://.godot/imported/1.png-740f1e53c0d26122bd8d51edb620e3ee.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/2.png b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/2.png new file mode 100644 index 0000000..16a49ca --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aab4ec42fd099092f037527229969103aba964cf1a518eb646a01b55d04ea1cb +size 3173317 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/2.png.import b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/2.png.import new file mode 100644 index 0000000..1d14131 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/2.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c6b37ojha2chl" +path="res://.godot/imported/2.png-8597e7232adc1b4a66ce074ef3b5e201.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/cityfirstprops/2.png" +dest_files=["res://.godot/imported/2.png-8597e7232adc1b4a66ce074ef3b5e201.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/3.png b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/3.png new file mode 100644 index 0000000..7c111a4 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd01227337c3a7f724983f8f8296647fb7c3ca61de14ec095b042b2f974b8e2c +size 2844587 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/3.png.import b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/3.png.import new file mode 100644 index 0000000..54916df --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/3.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://desoml0l330dy" +path="res://.godot/imported/3.png-724a29f6d43f6d26a86a266037d0afea.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/cityfirstprops/3.png" +dest_files=["res://.godot/imported/3.png-724a29f6d43f6d26a86a266037d0afea.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/4.png b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/4.png new file mode 100644 index 0000000..a5bf443 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:085cdd9c89c345d4bf24dea00e8167409069f9a5715b4c9712acdcdf368be4fc +size 3114072 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/4.png.import b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/4.png.import new file mode 100644 index 0000000..a6a964c --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/4.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c8f1w8rwb7jeb" +path="res://.godot/imported/4.png-48c775c13b0c69de279ec2f0b35b86ee.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/cityfirstprops/4.png" +dest_files=["res://.godot/imported/4.png-48c775c13b0c69de279ec2f0b35b86ee.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/5.png b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/5.png new file mode 100644 index 0000000..dbead3d --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af6534fef1a2a46f76328d3715a88bd10f34c23b057a8d81a4f6e70df71a78b4 +size 2962870 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/5.png.import b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/5.png.import new file mode 100644 index 0000000..77ffec7 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/5.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cg3msud4arrcv" +path="res://.godot/imported/5.png-cc1f4a149f1e260118f4e74b663264d4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/cityfirstprops/5.png" +dest_files=["res://.godot/imported/5.png-cc1f4a149f1e260118f4e74b663264d4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/6.png b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/6.png new file mode 100644 index 0000000..7d7c758 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89195c22670c0e884960a4f7ba664690f2093d5b90b3e13ea764acb56f363e9d +size 3086931 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/6.png.import b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/6.png.import new file mode 100644 index 0000000..c70584e --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/6.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://om2p3177qane" +path="res://.godot/imported/6.png-54ede6774894659427742c89fd6a3622.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/cityfirstprops/6.png" +dest_files=["res://.godot/imported/6.png-54ede6774894659427742c89fd6a3622.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/7.png b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/7.png new file mode 100644 index 0000000..b076336 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aeb7204dfa90f45178e361c42acefc0b016d1fd1fe8232f818a8bb943e978bc2 +size 2823527 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/7.png.import b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/7.png.import new file mode 100644 index 0000000..1a80323 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/7.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dwdyggbxoyxs5" +path="res://.godot/imported/7.png-6594bf9880cf5018797a4ab4b3d8650e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/cityfirstprops/7.png" +dest_files=["res://.godot/imported/7.png-6594bf9880cf5018797a4ab4b3d8650e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/8.png b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/8.png new file mode 100644 index 0000000..db1daeb --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/8.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c275eab5d42a896efd7b0c1dc7ac8e7c346314f9b90127b00a3db11e50d1e2e5 +size 3176857 diff --git a/assets/2d_city/2dcitywithoutoutline/cityfirstprops/8.png.import b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/8.png.import new file mode 100644 index 0000000..7bf8c07 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/cityfirstprops/8.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dq6jxsb7f0sco" +path="res://.godot/imported/8.png-df50111ed51bb6c35997701dd33cd23f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/cityfirstprops/8.png" +dest_files=["res://.godot/imported/8.png-df50111ed51bb6c35997701dd33cd23f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0001.png b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0001.png new file mode 100644 index 0000000..394e91a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:688e546dfef1b847d5ae4b96d69fa2fccdcf9433177cc72bb8842f4db28f7731 +size 2939470 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0001.png.import b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0001.png.import new file mode 100644 index 0000000..e0ec385 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0001.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d2oq8r3111t1o" +path="res://.godot/imported/citysecondcityprops0001.png-de2765c774d4a45d393272745f105280.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0001.png" +dest_files=["res://.godot/imported/citysecondcityprops0001.png-de2765c774d4a45d393272745f105280.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0002.png b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0002.png new file mode 100644 index 0000000..91c1c16 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daa0dd19d76b86ae72d750b6be553210d94728430673392d97eea331abbdb9ea +size 3185769 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0002.png.import b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0002.png.import new file mode 100644 index 0000000..98f0ce2 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0002.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c5fa4wbjg2nul" +path="res://.godot/imported/citysecondcityprops0002.png-0ff4a27812bf24f21571323a57a85cb9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0002.png" +dest_files=["res://.godot/imported/citysecondcityprops0002.png-0ff4a27812bf24f21571323a57a85cb9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0003.png b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0003.png new file mode 100644 index 0000000..4d34f18 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0003.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5321a869354f1b1707c2cdc4f7c08e797e8a2b4cbd09a51b52491f198fc53da9 +size 3016378 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0003.png.import b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0003.png.import new file mode 100644 index 0000000..4864010 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0003.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdfar267x2asq" +path="res://.godot/imported/citysecondcityprops0003.png-af1c31f50595a5536e6e471dba5057c1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0003.png" +dest_files=["res://.godot/imported/citysecondcityprops0003.png-af1c31f50595a5536e6e471dba5057c1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0004.png b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0004.png new file mode 100644 index 0000000..e3d382e --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0004.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3de4591afc1242f561519a9e57052b92687e45fad1ef1ba2647e4067c40f64ca +size 3328708 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0004.png.import b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0004.png.import new file mode 100644 index 0000000..fb03b58 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0004.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://csoie1s86i00t" +path="res://.godot/imported/citysecondcityprops0004.png-98e5d90582902e4a847215bcd913e827.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0004.png" +dest_files=["res://.godot/imported/citysecondcityprops0004.png-98e5d90582902e4a847215bcd913e827.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0005.png b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0005.png new file mode 100644 index 0000000..bb879a4 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0005.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e378cca5a7d5d6b95f8ce05c5dad2ed97575ae60b00b6ae6f2edb492eceb2837 +size 3063673 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0005.png.import b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0005.png.import new file mode 100644 index 0000000..01a06fb --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0005.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://xms2reqh3u4r" +path="res://.godot/imported/citysecondcityprops0005.png-60d1b884e6a73f0e98fcb3f0a22fad1d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0005.png" +dest_files=["res://.godot/imported/citysecondcityprops0005.png-60d1b884e6a73f0e98fcb3f0a22fad1d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0006.png b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0006.png new file mode 100644 index 0000000..d46c15a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bf27f90ee41dab18ec9e5953cbc551fe450e151f9e2dc7fafb58bbc1e552e3f +size 3311031 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0006.png.import b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0006.png.import new file mode 100644 index 0000000..0c39cd5 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0006.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dy3dl84s40olu" +path="res://.godot/imported/citysecondcityprops0006.png-c39289cc6bd9689d0a9764f39ad2b49e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0006.png" +dest_files=["res://.godot/imported/citysecondcityprops0006.png-c39289cc6bd9689d0a9764f39ad2b49e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0007.png b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0007.png new file mode 100644 index 0000000..b1784b1 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0007.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26b4c5fe544f412fbc13bcda1766a7a5e787a7c6ebb724f82cd1db53644211d2 +size 3012865 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0007.png.import b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0007.png.import new file mode 100644 index 0000000..5c261f7 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0007.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://crtayc4b4hpew" +path="res://.godot/imported/citysecondcityprops0007.png-ae72aa72dcf08c12604372f1cb5641ca.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0007.png" +dest_files=["res://.godot/imported/citysecondcityprops0007.png-ae72aa72dcf08c12604372f1cb5641ca.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0008.png b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0008.png new file mode 100644 index 0000000..273a26f --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0008.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4151e9e24449d85f239550655b0a171ee77716b926c42b5e0b8969a2214db719 +size 3213886 diff --git a/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0008.png.import b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0008.png.import new file mode 100644 index 0000000..6cb37d7 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0008.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cu8d52k0w2cwg" +path="res://.godot/imported/citysecondcityprops0008.png-5eb87b8e87d0de53767da249f2f41499.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/citysecondprops/citysecondcityprops0008.png" +dest_files=["res://.godot/imported/citysecondcityprops0008.png-5eb87b8e87d0de53767da249f2f41499.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0001.png b/assets/2d_city/2dcitywithoutoutline/divers/divers0001.png new file mode 100644 index 0000000..c1aac0a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:653e1f08af83e421e2d0ca34daa93327fe9c523537568c301c899f28152ba4bf +size 2816102 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0001.png.import b/assets/2d_city/2dcitywithoutoutline/divers/divers0001.png.import new file mode 100644 index 0000000..0e21bc4 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0001.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://7fj3p3qbmiik" +path="res://.godot/imported/divers0001.png-3e1772453fd272f5fa042f789a744781.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/divers/divers0001.png" +dest_files=["res://.godot/imported/divers0001.png-3e1772453fd272f5fa042f789a744781.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0002.png b/assets/2d_city/2dcitywithoutoutline/divers/divers0002.png new file mode 100644 index 0000000..99a4fb1 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1739aecd7f2a209daa13fe9bd060fbe86ad4fd4d876fb0b6d9145a77aed1a20a +size 2963083 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0002.png.import b/assets/2d_city/2dcitywithoutoutline/divers/divers0002.png.import new file mode 100644 index 0000000..90808c5 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0002.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dmsq48g8ujrib" +path="res://.godot/imported/divers0002.png-fc31d1797822411641a1d4d169b1cdb2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/divers/divers0002.png" +dest_files=["res://.godot/imported/divers0002.png-fc31d1797822411641a1d4d169b1cdb2.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0003.png b/assets/2d_city/2dcitywithoutoutline/divers/divers0003.png new file mode 100644 index 0000000..34b63ec --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0003.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:113ce66cd6568623279bed8e2681382a2f72dc5e0c28397bd95b0945bb76a295 +size 2570900 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0003.png.import b/assets/2d_city/2dcitywithoutoutline/divers/divers0003.png.import new file mode 100644 index 0000000..6141614 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0003.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b5exuvtqk3snm" +path="res://.godot/imported/divers0003.png-782cad405f7279c5456f1670a64ed450.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/divers/divers0003.png" +dest_files=["res://.godot/imported/divers0003.png-782cad405f7279c5456f1670a64ed450.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0004.png b/assets/2d_city/2dcitywithoutoutline/divers/divers0004.png new file mode 100644 index 0000000..a85208c --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0004.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2550a61b8d7ef506d90cfaf5d9549f535e9a9350f000b187fc47d4f0b4109cd3 +size 2847596 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0004.png.import b/assets/2d_city/2dcitywithoutoutline/divers/divers0004.png.import new file mode 100644 index 0000000..64f4449 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0004.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dojs1gk0trib2" +path="res://.godot/imported/divers0004.png-0d1e02b0e5d58205a65b66b8c6a52656.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/divers/divers0004.png" +dest_files=["res://.godot/imported/divers0004.png-0d1e02b0e5d58205a65b66b8c6a52656.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0005.png b/assets/2d_city/2dcitywithoutoutline/divers/divers0005.png new file mode 100644 index 0000000..c417268 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0005.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:835650570b79fd39083d43c8c58f84a4214b448af99899131364adb5b96b374f +size 2751305 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0005.png.import b/assets/2d_city/2dcitywithoutoutline/divers/divers0005.png.import new file mode 100644 index 0000000..57d6bc2 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0005.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b3rl3gl4npmb" +path="res://.godot/imported/divers0005.png-6341625a4ccba21b699ffb5de41edc26.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/divers/divers0005.png" +dest_files=["res://.godot/imported/divers0005.png-6341625a4ccba21b699ffb5de41edc26.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0006.png b/assets/2d_city/2dcitywithoutoutline/divers/divers0006.png new file mode 100644 index 0000000..1ec4b4a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4bf7655467321808ed8441eafa2eac3d23cf9f5aa3a565c0ede7f45feed4b68 +size 2868462 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0006.png.import b/assets/2d_city/2dcitywithoutoutline/divers/divers0006.png.import new file mode 100644 index 0000000..57026a0 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0006.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdxcrg407twxi" +path="res://.godot/imported/divers0006.png-b291a9222f561e1cbaa7e68ac3b81994.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/divers/divers0006.png" +dest_files=["res://.godot/imported/divers0006.png-b291a9222f561e1cbaa7e68ac3b81994.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0007.png b/assets/2d_city/2dcitywithoutoutline/divers/divers0007.png new file mode 100644 index 0000000..4783e76 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0007.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b9721c8e11659fe2cfefc869bbc2662415e718e1f99048de57b0a01e80039a4 +size 2585960 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0007.png.import b/assets/2d_city/2dcitywithoutoutline/divers/divers0007.png.import new file mode 100644 index 0000000..54c70d1 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0007.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dmg7thxs3xx01" +path="res://.godot/imported/divers0007.png-8bd0bb28fa60a8a8d3ec9286744b73f9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/divers/divers0007.png" +dest_files=["res://.godot/imported/divers0007.png-8bd0bb28fa60a8a8d3ec9286744b73f9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0008.png b/assets/2d_city/2dcitywithoutoutline/divers/divers0008.png new file mode 100644 index 0000000..67b7e1b --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0008.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40f44efd2418378b404357c9721dcd3914c04e6854a0c8478622413f94e90608 +size 2986562 diff --git a/assets/2d_city/2dcitywithoutoutline/divers/divers0008.png.import b/assets/2d_city/2dcitywithoutoutline/divers/divers0008.png.import new file mode 100644 index 0000000..210877a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/divers/divers0008.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8n8h5e8qhtlp" +path="res://.godot/imported/divers0008.png-f60756bac888e1293c8ad876534d0dba.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/divers/divers0008.png" +dest_files=["res://.godot/imported/divers0008.png-f60756bac888e1293c8ad876534d0dba.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0001.png b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0001.png new file mode 100644 index 0000000..d93e5a2 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8da222c624c8f7d72d0c9222433e9925e916fda017fab20dca4db3b66a7da6a7 +size 2914826 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0001.png.import b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0001.png.import new file mode 100644 index 0000000..a97d1b7 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0001.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://csga4a5kaqk2s" +path="res://.godot/imported/grounds0001.png-1daaf2c71082728808da48901a95740e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/grounds/grounds0001.png" +dest_files=["res://.godot/imported/grounds0001.png-1daaf2c71082728808da48901a95740e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0002.png b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0002.png new file mode 100644 index 0000000..8d2527e --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41c1e779c9d04000f85591994df05b505d2f495a4744051bbc31d2a253c043d9 +size 3339075 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0002.png.import b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0002.png.import new file mode 100644 index 0000000..22d4a46 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0002.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://rhqxmq2tilom" +path="res://.godot/imported/grounds0002.png-a7b278bf22080750be00d098bd057454.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/grounds/grounds0002.png" +dest_files=["res://.godot/imported/grounds0002.png-a7b278bf22080750be00d098bd057454.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0003.png b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0003.png new file mode 100644 index 0000000..a0a213d --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0003.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28bb80c9fbf67a14fd25248e7fcbe64c58a8a777bc66590533c774beb2477f5e +size 3134654 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0003.png.import b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0003.png.import new file mode 100644 index 0000000..ca778e3 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0003.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dys12of68eue5" +path="res://.godot/imported/grounds0003.png-67bee7982ccf3ebda160b2ac2f099e7d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/grounds/grounds0003.png" +dest_files=["res://.godot/imported/grounds0003.png-67bee7982ccf3ebda160b2ac2f099e7d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0004.png b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0004.png new file mode 100644 index 0000000..e3c6371 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0004.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8a4562e503aee692efc87cf659103c0e834ec0662cfeee6cb254472416a1995 +size 3331823 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0004.png.import b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0004.png.import new file mode 100644 index 0000000..1655285 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0004.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://qgt4c3d6u2os" +path="res://.godot/imported/grounds0004.png-bbddf075a06dec4e4d7ce84ab2b57869.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/grounds/grounds0004.png" +dest_files=["res://.godot/imported/grounds0004.png-bbddf075a06dec4e4d7ce84ab2b57869.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0005.png b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0005.png new file mode 100644 index 0000000..198db77 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0005.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95b3e4b7a11c4f37233ed0e43da44f03739eac6d1806c0d62a4dbdec7e5379c8 +size 2914745 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0005.png.import b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0005.png.import new file mode 100644 index 0000000..b5f74f1 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0005.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://yxmshaxitqie" +path="res://.godot/imported/grounds0005.png-bce8420111b095f71b8f40ede10702ce.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/grounds/grounds0005.png" +dest_files=["res://.godot/imported/grounds0005.png-bce8420111b095f71b8f40ede10702ce.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0006.png b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0006.png new file mode 100644 index 0000000..91bd7fc --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f88acbe292389b192c0b53db35561f4d90c418b40f1a170e90f3b2aa56e33a57 +size 3340536 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0006.png.import b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0006.png.import new file mode 100644 index 0000000..5aac07c --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0006.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://jcdbhpyb0hhf" +path="res://.godot/imported/grounds0006.png-b70a888fe77bc08603f27de7865f8e8f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/grounds/grounds0006.png" +dest_files=["res://.godot/imported/grounds0006.png-b70a888fe77bc08603f27de7865f8e8f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0007.png b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0007.png new file mode 100644 index 0000000..7fec40a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0007.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53523e75cdcf64ce1ca121b29b9dbacf598a043070a8ff0ec00b5abef78dd497 +size 3137135 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0007.png.import b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0007.png.import new file mode 100644 index 0000000..627947b --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0007.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://delsx2dt86kn5" +path="res://.godot/imported/grounds0007.png-db26ee7ab19a11239c1a4b4a8d6a43cc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/grounds/grounds0007.png" +dest_files=["res://.godot/imported/grounds0007.png-db26ee7ab19a11239c1a4b4a8d6a43cc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0008.png b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0008.png new file mode 100644 index 0000000..f88932c --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0008.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f06ccf0cc63e8cd7e45401c8446b4b4d1a7595a2be90646e5903bd869b7e1ffb +size 3331686 diff --git a/assets/2d_city/2dcitywithoutoutline/grounds/grounds0008.png.import b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0008.png.import new file mode 100644 index 0000000..4dd7de2 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/grounds/grounds0008.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://65o3l205vij6" +path="res://.godot/imported/grounds0008.png-101edfb6505ade63d62d01876d0176cc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/grounds/grounds0008.png" +dest_files=["res://.godot/imported/grounds0008.png-101edfb6505ade63d62d01876d0176cc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0001.png b/assets/2d_city/2dcitywithoutoutline/house1/1house0001.png new file mode 100644 index 0000000..411dbae --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3ea7fffffabc6d8e8b9cecc7d452e7e42e493a203a8557327a7f4feeaa2ca73 +size 3431527 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0001.png.import b/assets/2d_city/2dcitywithoutoutline/house1/1house0001.png.import new file mode 100644 index 0000000..1a588dc --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0001.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://1fs47aytjsp6" +path="res://.godot/imported/1house0001.png-e8ba06f10cdd225268d73603f185bb5e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house1/1house0001.png" +dest_files=["res://.godot/imported/1house0001.png-e8ba06f10cdd225268d73603f185bb5e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0002.png b/assets/2d_city/2dcitywithoutoutline/house1/1house0002.png new file mode 100644 index 0000000..0cb9b40 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc5bd561b6d942f3673dc7490914389ab9f5133c68c97ee8538353138501f9cd +size 3994249 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0002.png.import b/assets/2d_city/2dcitywithoutoutline/house1/1house0002.png.import new file mode 100644 index 0000000..2bace65 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0002.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://by8ybfvr14b7i" +path="res://.godot/imported/1house0002.png-9654d623a3569a2ea6b26e064c10759d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house1/1house0002.png" +dest_files=["res://.godot/imported/1house0002.png-9654d623a3569a2ea6b26e064c10759d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0003.png b/assets/2d_city/2dcitywithoutoutline/house1/1house0003.png new file mode 100644 index 0000000..b546597 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0003.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:873d7bc55f2861b90098fec22d42c00be5d47c03c2c1a5c243c3887aac09c0ef +size 3409262 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0003.png.import b/assets/2d_city/2dcitywithoutoutline/house1/1house0003.png.import new file mode 100644 index 0000000..03f6f9b --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0003.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://x1214smvqimv" +path="res://.godot/imported/1house0003.png-46dc08a1a97a8e158329f48fc88b5829.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house1/1house0003.png" +dest_files=["res://.godot/imported/1house0003.png-46dc08a1a97a8e158329f48fc88b5829.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0004.png b/assets/2d_city/2dcitywithoutoutline/house1/1house0004.png new file mode 100644 index 0000000..ae7e36e --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0004.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b20db8a1d27fb8b65284b64ca769d85f4fa022fd099eed9805af0cf7031cb77 +size 3907338 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0004.png.import b/assets/2d_city/2dcitywithoutoutline/house1/1house0004.png.import new file mode 100644 index 0000000..06847bf --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0004.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://5qvxxj06m7ng" +path="res://.godot/imported/1house0004.png-af21ece3d91d54baf330ce339d8c58c0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house1/1house0004.png" +dest_files=["res://.godot/imported/1house0004.png-af21ece3d91d54baf330ce339d8c58c0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0005.png b/assets/2d_city/2dcitywithoutoutline/house1/1house0005.png new file mode 100644 index 0000000..be7b9b2 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0005.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd901a297d042c082c354abcdacb5619a0fdb25904618e662f8ee94b3de75aaa +size 3344555 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0005.png.import b/assets/2d_city/2dcitywithoutoutline/house1/1house0005.png.import new file mode 100644 index 0000000..1cadf8c --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0005.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://xlxhwbfdx40v" +path="res://.godot/imported/1house0005.png-fe9be368a42b864685446adca2aa3332.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house1/1house0005.png" +dest_files=["res://.godot/imported/1house0005.png-fe9be368a42b864685446adca2aa3332.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0006.png b/assets/2d_city/2dcitywithoutoutline/house1/1house0006.png new file mode 100644 index 0000000..57a25b1 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e26925b603bb1060541e10e25b3fda8895339dd79d4f42c0d1fb94c92a3decb8 +size 3834033 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0006.png.import b/assets/2d_city/2dcitywithoutoutline/house1/1house0006.png.import new file mode 100644 index 0000000..3bcce55 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0006.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://h3i32owpvsll" +path="res://.godot/imported/1house0006.png-1dcb3af4e7dc9ef743165fee84589900.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house1/1house0006.png" +dest_files=["res://.godot/imported/1house0006.png-1dcb3af4e7dc9ef743165fee84589900.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0007.png b/assets/2d_city/2dcitywithoutoutline/house1/1house0007.png new file mode 100644 index 0000000..8ef695d --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0007.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96b13c00c678ad38deee17ced4862f484f0c7230b77416ac659f5d3a84350eae +size 3346443 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0007.png.import b/assets/2d_city/2dcitywithoutoutline/house1/1house0007.png.import new file mode 100644 index 0000000..2abd3fc --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0007.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dat84bi3op3uw" +path="res://.godot/imported/1house0007.png-08e63834ab36dc3a41a6b6cb00c6a30c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house1/1house0007.png" +dest_files=["res://.godot/imported/1house0007.png-08e63834ab36dc3a41a6b6cb00c6a30c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0008.png b/assets/2d_city/2dcitywithoutoutline/house1/1house0008.png new file mode 100644 index 0000000..4a91f03 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0008.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70a82563bcf757ce8c10c0add57dfe3b92851dea39a87aaaa8da10878a1908c2 +size 3915465 diff --git a/assets/2d_city/2dcitywithoutoutline/house1/1house0008.png.import b/assets/2d_city/2dcitywithoutoutline/house1/1house0008.png.import new file mode 100644 index 0000000..8067b81 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house1/1house0008.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c2e08umtvdy26" +path="res://.godot/imported/1house0008.png-07c6a24e8a1eb2b68d9c87d3280ca9ad.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house1/1house0008.png" +dest_files=["res://.godot/imported/1house0008.png-07c6a24e8a1eb2b68d9c87d3280ca9ad.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0001.png b/assets/2d_city/2dcitywithoutoutline/house2/2house0001.png new file mode 100644 index 0000000..494536a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41c957969d4a752ac36350d737346fb52c1d18fa9eceea5f4c9c21c4eee2e9f5 +size 3832621 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0001.png.import b/assets/2d_city/2dcitywithoutoutline/house2/2house0001.png.import new file mode 100644 index 0000000..ce37639 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0001.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://5uo53sfcmtwt" +path="res://.godot/imported/2house0001.png-9e76c29803efde6716eaf5cec96b24a2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house2/2house0001.png" +dest_files=["res://.godot/imported/2house0001.png-9e76c29803efde6716eaf5cec96b24a2.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0002.png b/assets/2d_city/2dcitywithoutoutline/house2/2house0002.png new file mode 100644 index 0000000..ec539de --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29c766e835d9b5be04ca8148086bd9f1933e6d11a875463ff3499d9e4e4c436a +size 4584832 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0002.png.import b/assets/2d_city/2dcitywithoutoutline/house2/2house0002.png.import new file mode 100644 index 0000000..1d3da7f --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0002.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cyj8tkgh4c0kh" +path="res://.godot/imported/2house0002.png-daf7be3fc077676242ed8698880aac68.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house2/2house0002.png" +dest_files=["res://.godot/imported/2house0002.png-daf7be3fc077676242ed8698880aac68.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0003.png b/assets/2d_city/2dcitywithoutoutline/house2/2house0003.png new file mode 100644 index 0000000..cd58cad --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0003.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:826a34f66d221a03c555c678a7575ca4e2e380ae2be1044b82e985dd9a67f0f3 +size 3898986 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0003.png.import b/assets/2d_city/2dcitywithoutoutline/house2/2house0003.png.import new file mode 100644 index 0000000..8d0815a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0003.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://5ifdfyt3rvav" +path="res://.godot/imported/2house0003.png-0bb8c3ac1da2b48c30f45541edac34f9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house2/2house0003.png" +dest_files=["res://.godot/imported/2house0003.png-0bb8c3ac1da2b48c30f45541edac34f9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0004.png b/assets/2d_city/2dcitywithoutoutline/house2/2house0004.png new file mode 100644 index 0000000..2add93f --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0004.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a171c21df6a3e785abce5023e0ede50c08b490073d0a98f1bd0d11ba312f12ee +size 4257876 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0004.png.import b/assets/2d_city/2dcitywithoutoutline/house2/2house0004.png.import new file mode 100644 index 0000000..f7ab302 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0004.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b2ik161puwu8w" +path="res://.godot/imported/2house0004.png-6773a5fae26c9bd8966172b9d70543c1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house2/2house0004.png" +dest_files=["res://.godot/imported/2house0004.png-6773a5fae26c9bd8966172b9d70543c1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0005.png b/assets/2d_city/2dcitywithoutoutline/house2/2house0005.png new file mode 100644 index 0000000..80d1259 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0005.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46a65755df28195ffa73ad04b6630eb0fd958997abf2c5acd68a2bfd495de3dc +size 3500782 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0005.png.import b/assets/2d_city/2dcitywithoutoutline/house2/2house0005.png.import new file mode 100644 index 0000000..a770143 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0005.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://nh21j4b0byj2" +path="res://.godot/imported/2house0005.png-1bb1f078567278f7b92fdff42ebcc2a3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house2/2house0005.png" +dest_files=["res://.godot/imported/2house0005.png-1bb1f078567278f7b92fdff42ebcc2a3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0006.png b/assets/2d_city/2dcitywithoutoutline/house2/2house0006.png new file mode 100644 index 0000000..5d5619c --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:078f51e9e74c8c840128284013ffeea11ee9ad1003867d63376a200d3b6227e6 +size 4307086 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0006.png.import b/assets/2d_city/2dcitywithoutoutline/house2/2house0006.png.import new file mode 100644 index 0000000..2ee4cf0 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0006.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bo4fyj7rna00x" +path="res://.godot/imported/2house0006.png-1bf7740884fde508c7c6fc3f614ea507.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house2/2house0006.png" +dest_files=["res://.godot/imported/2house0006.png-1bf7740884fde508c7c6fc3f614ea507.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0007.png b/assets/2d_city/2dcitywithoutoutline/house2/2house0007.png new file mode 100644 index 0000000..968d834 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0007.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a407756a23be512a88cbf68f0a4d0cf08e77c31510a9a69bc091829b7224463b +size 3890869 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0007.png.import b/assets/2d_city/2dcitywithoutoutline/house2/2house0007.png.import new file mode 100644 index 0000000..38687da --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0007.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bnohrtoqnvaxl" +path="res://.godot/imported/2house0007.png-c50578f81447cec79fc5a41218325189.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house2/2house0007.png" +dest_files=["res://.godot/imported/2house0007.png-c50578f81447cec79fc5a41218325189.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0008.png b/assets/2d_city/2dcitywithoutoutline/house2/2house0008.png new file mode 100644 index 0000000..f23ee91 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0008.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80ada045e3e38e80622c76fca5567345aedcfb83236719c5057fcc45cb2e5e6c +size 4530911 diff --git a/assets/2d_city/2dcitywithoutoutline/house2/2house0008.png.import b/assets/2d_city/2dcitywithoutoutline/house2/2house0008.png.import new file mode 100644 index 0000000..2b56a64 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house2/2house0008.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://fmu3017wuooi" +path="res://.godot/imported/2house0008.png-2589c9fffa50c0af27577b579951d207.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house2/2house0008.png" +dest_files=["res://.godot/imported/2house0008.png-2589c9fffa50c0af27577b579951d207.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0001.png b/assets/2d_city/2dcitywithoutoutline/house3/3house0001.png new file mode 100644 index 0000000..04bddb6 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d572ea03a55a25b32150538cace2ba5dc2a2624cbfc72544d26ef02e1754ce0c +size 3832657 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0001.png.import b/assets/2d_city/2dcitywithoutoutline/house3/3house0001.png.import new file mode 100644 index 0000000..8d2357d --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0001.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://rxphxdt0t7qc" +path="res://.godot/imported/3house0001.png-f59cfb6510e76188706b36588a9f71ec.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house3/3house0001.png" +dest_files=["res://.godot/imported/3house0001.png-f59cfb6510e76188706b36588a9f71ec.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0002.png b/assets/2d_city/2dcitywithoutoutline/house3/3house0002.png new file mode 100644 index 0000000..f94947d --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e88ca761ee833acd822a133efd1046550cf4ac619c1defade72c96c2a398c662 +size 4101990 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0002.png.import b/assets/2d_city/2dcitywithoutoutline/house3/3house0002.png.import new file mode 100644 index 0000000..b620906 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0002.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://beivmg5e515kc" +path="res://.godot/imported/3house0002.png-8509e09b6c0316a29820229aae1413b7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house3/3house0002.png" +dest_files=["res://.godot/imported/3house0002.png-8509e09b6c0316a29820229aae1413b7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0003.png b/assets/2d_city/2dcitywithoutoutline/house3/3house0003.png new file mode 100644 index 0000000..14a53a7 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0003.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:703a8fdb996ab8f988a1b7ab286062e14dfee42f3eee5cab3ce30f3adff64bfc +size 3653343 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0003.png.import b/assets/2d_city/2dcitywithoutoutline/house3/3house0003.png.import new file mode 100644 index 0000000..2f5d351 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0003.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://tddjlxtc4i2k" +path="res://.godot/imported/3house0003.png-68f2a9ebfd91df5bd6627c75503f317a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house3/3house0003.png" +dest_files=["res://.godot/imported/3house0003.png-68f2a9ebfd91df5bd6627c75503f317a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0004.png b/assets/2d_city/2dcitywithoutoutline/house3/3house0004.png new file mode 100644 index 0000000..3cea57f --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0004.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ffa4a0a5f3c374117302283e5dfa5fbed6ddcbdcb7c210c9a62ddf4abda4737 +size 3900327 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0004.png.import b/assets/2d_city/2dcitywithoutoutline/house3/3house0004.png.import new file mode 100644 index 0000000..8020349 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0004.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ctyy7rvfqb8ew" +path="res://.godot/imported/3house0004.png-fcdc4e8069a49b4b37b60553d2861a50.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house3/3house0004.png" +dest_files=["res://.godot/imported/3house0004.png-fcdc4e8069a49b4b37b60553d2861a50.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0005.png b/assets/2d_city/2dcitywithoutoutline/house3/3house0005.png new file mode 100644 index 0000000..a1f8ca0 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0005.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a7c9a95cd0dba9926afdd0cea3244432dfd9f7042a72a7ebbb98db2be9974ec +size 3572189 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0005.png.import b/assets/2d_city/2dcitywithoutoutline/house3/3house0005.png.import new file mode 100644 index 0000000..75a6800 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0005.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dwwv38n0fltb6" +path="res://.godot/imported/3house0005.png-4fa3f94b565a5a68bd8d054e93b8bd07.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house3/3house0005.png" +dest_files=["res://.godot/imported/3house0005.png-4fa3f94b565a5a68bd8d054e93b8bd07.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0006.png b/assets/2d_city/2dcitywithoutoutline/house3/3house0006.png new file mode 100644 index 0000000..d1e2d6a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b141940142fec5a406d16ef8b15873018fee8f173d87aeaeaa9e5a3e19aef1f +size 3943625 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0006.png.import b/assets/2d_city/2dcitywithoutoutline/house3/3house0006.png.import new file mode 100644 index 0000000..de111ef --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0006.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cpjop1kgg18b2" +path="res://.godot/imported/3house0006.png-38875b261c8461b908633c71ff837366.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house3/3house0006.png" +dest_files=["res://.godot/imported/3house0006.png-38875b261c8461b908633c71ff837366.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0007.png b/assets/2d_city/2dcitywithoutoutline/house3/3house0007.png new file mode 100644 index 0000000..94e6580 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0007.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da004830548ab0d37d3f83378c1a5b48b94144f40ae9e91a0ffbddc56fd354d4 +size 3688266 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0007.png.import b/assets/2d_city/2dcitywithoutoutline/house3/3house0007.png.import new file mode 100644 index 0000000..71cb993 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0007.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b337douqnbpas" +path="res://.godot/imported/3house0007.png-ffef1caea511392dbf8d77fb999b1b39.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house3/3house0007.png" +dest_files=["res://.godot/imported/3house0007.png-ffef1caea511392dbf8d77fb999b1b39.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0008.png b/assets/2d_city/2dcitywithoutoutline/house3/3house0008.png new file mode 100644 index 0000000..815cb97 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0008.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5074d0f07c6a05b971cb563c6843f9df25219d8cf2173fc62a014d978020cbfd +size 4127490 diff --git a/assets/2d_city/2dcitywithoutoutline/house3/3house0008.png.import b/assets/2d_city/2dcitywithoutoutline/house3/3house0008.png.import new file mode 100644 index 0000000..213e886 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house3/3house0008.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bivso15377mgu" +path="res://.godot/imported/3house0008.png-336a3cf2ace278c4445d86005a934253.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house3/3house0008.png" +dest_files=["res://.godot/imported/3house0008.png-336a3cf2ace278c4445d86005a934253.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0001.png b/assets/2d_city/2dcitywithoutoutline/house4/4house0001.png new file mode 100644 index 0000000..b359b97 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e704e6d08feb2e14a2467b7eb45fe555ab9f456d768b6bf6252836d2b37d4672 +size 3833560 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0001.png.import b/assets/2d_city/2dcitywithoutoutline/house4/4house0001.png.import new file mode 100644 index 0000000..74944a3 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0001.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ckbv5nx6ixuil" +path="res://.godot/imported/4house0001.png-5332595979b072b9e4da55d631b4dbde.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house4/4house0001.png" +dest_files=["res://.godot/imported/4house0001.png-5332595979b072b9e4da55d631b4dbde.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0002.png b/assets/2d_city/2dcitywithoutoutline/house4/4house0002.png new file mode 100644 index 0000000..b6c5797 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37341d5ce82d6ed892a3f5118c4a0a7a000ffc75ec1b99b6a70a57c162471a48 +size 4409401 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0002.png.import b/assets/2d_city/2dcitywithoutoutline/house4/4house0002.png.import new file mode 100644 index 0000000..59b0a44 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0002.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://du744tx01ipnj" +path="res://.godot/imported/4house0002.png-e8e295348cb471eb904d59c9d6463b32.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house4/4house0002.png" +dest_files=["res://.godot/imported/4house0002.png-e8e295348cb471eb904d59c9d6463b32.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0003.png b/assets/2d_city/2dcitywithoutoutline/house4/4house0003.png new file mode 100644 index 0000000..a6decae --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0003.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:311c5e33148b2dfd3716ff5903b1798d0f46bdeaef358ce21e9ab045a2c1ea15 +size 3460161 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0003.png.import b/assets/2d_city/2dcitywithoutoutline/house4/4house0003.png.import new file mode 100644 index 0000000..73fc9e3 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0003.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://blsm61v8baqjy" +path="res://.godot/imported/4house0003.png-39aa8350a053fc8ecd3b890aceb6c512.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house4/4house0003.png" +dest_files=["res://.godot/imported/4house0003.png-39aa8350a053fc8ecd3b890aceb6c512.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0004.png b/assets/2d_city/2dcitywithoutoutline/house4/4house0004.png new file mode 100644 index 0000000..d434735 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0004.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:703beff54ced2d445c5c853a78bd0eec0d2944977fbeaaaf33c08976de4deeb2 +size 4266694 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0004.png.import b/assets/2d_city/2dcitywithoutoutline/house4/4house0004.png.import new file mode 100644 index 0000000..d8d896c --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0004.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dcxaeqhobnerl" +path="res://.godot/imported/4house0004.png-dc72ed0f71028e33f84140422fe873d0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house4/4house0004.png" +dest_files=["res://.godot/imported/4house0004.png-dc72ed0f71028e33f84140422fe873d0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0005.png b/assets/2d_city/2dcitywithoutoutline/house4/4house0005.png new file mode 100644 index 0000000..250577c --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0005.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77d0b90c0b89bab1f3a67c37966a5348644139170a2c20da6cf7eb821b387bc1 +size 3687895 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0005.png.import b/assets/2d_city/2dcitywithoutoutline/house4/4house0005.png.import new file mode 100644 index 0000000..016d32f --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0005.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cki1skua8egn4" +path="res://.godot/imported/4house0005.png-825dbef013a649a8202a9bd09bfa4b37.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house4/4house0005.png" +dest_files=["res://.godot/imported/4house0005.png-825dbef013a649a8202a9bd09bfa4b37.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0006.png b/assets/2d_city/2dcitywithoutoutline/house4/4house0006.png new file mode 100644 index 0000000..d65f1b5 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef2e4c4845575dd5e927264adb0fe6586c352734e714318b35bc6dd59f2984dd +size 4281774 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0006.png.import b/assets/2d_city/2dcitywithoutoutline/house4/4house0006.png.import new file mode 100644 index 0000000..0095dd4 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0006.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://0xly3pn2d40w" +path="res://.godot/imported/4house0006.png-fc41a6782a0a837c4dd62424a3b20ac3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house4/4house0006.png" +dest_files=["res://.godot/imported/4house0006.png-fc41a6782a0a837c4dd62424a3b20ac3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0007.png b/assets/2d_city/2dcitywithoutoutline/house4/4house0007.png new file mode 100644 index 0000000..186b1bb --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0007.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc70c444913bf1a9ba0a380cedc5b8d0a0461fdbe545ed532d7a127410b07602 +size 3448075 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0007.png.import b/assets/2d_city/2dcitywithoutoutline/house4/4house0007.png.import new file mode 100644 index 0000000..840ab32 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0007.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8ut0l57ahsi3" +path="res://.godot/imported/4house0007.png-a8dc8c83763bbf7adea3c5629a4e8cf7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house4/4house0007.png" +dest_files=["res://.godot/imported/4house0007.png-a8dc8c83763bbf7adea3c5629a4e8cf7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0008.png b/assets/2d_city/2dcitywithoutoutline/house4/4house0008.png new file mode 100644 index 0000000..5d25bbc --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0008.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7cc85570f0c033d573c06e7acce2d00846795e16d65f4a38210d024c2f2be29 +size 4346079 diff --git a/assets/2d_city/2dcitywithoutoutline/house4/4house0008.png.import b/assets/2d_city/2dcitywithoutoutline/house4/4house0008.png.import new file mode 100644 index 0000000..d88f116 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/house4/4house0008.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dl8c5np405i7n" +path="res://.godot/imported/4house0008.png-2c01876dedebf573f7ebadba9f0b01a9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/house4/4house0008.png" +dest_files=["res://.godot/imported/4house0008.png-2c01876dedebf573f7ebadba9f0b01a9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/read me .txt b/assets/2d_city/2dcitywithoutoutline/read me .txt new file mode 100644 index 0000000..c45dd01 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/read me .txt @@ -0,0 +1,10 @@ +All files Png 2048X2048 + +If you use unity, use sprite editor to seperate properly the sprites + +license CC0 1.0 attribution is NOT required for personal or commercial projects ; this asset cannot be resold + + +If you think my work is usefull, you can donate me a little thing in itch, that would help me to make more FREE assets + +https://styloo.itch.io/ \ No newline at end of file diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0001.png b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0001.png new file mode 100644 index 0000000..56997d5 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd49a573e783e627b4bece582f1d46354e58b39b78990d45274735ab62194bf8 +size 3234866 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0001.png.import b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0001.png.import new file mode 100644 index 0000000..fce3d2e --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0001.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cdno2aeveowon" +path="res://.godot/imported/vehicles0001.png-d2c6d021ba8a2adc4e588ca01615f6da.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0001.png" +dest_files=["res://.godot/imported/vehicles0001.png-d2c6d021ba8a2adc4e588ca01615f6da.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0002.png b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0002.png new file mode 100644 index 0000000..48121ab --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4510fa3d34a72d6b0c2f44188b73db9da9f859193a1da7a270c815ec62cfdd55 +size 3509622 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0002.png.import b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0002.png.import new file mode 100644 index 0000000..fa77405 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0002.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bbukfl7v2w1ds" +path="res://.godot/imported/vehicles0002.png-f532567a092b68bf76053a308ac8ee1f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0002.png" +dest_files=["res://.godot/imported/vehicles0002.png-f532567a092b68bf76053a308ac8ee1f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0003.png b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0003.png new file mode 100644 index 0000000..bd160aa --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0003.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74cb17abddbe2fa74b6fce37b2d1f7fc8f159a2e3fc785998ba71c3ad787fe24 +size 2995395 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0003.png.import b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0003.png.import new file mode 100644 index 0000000..d265b93 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0003.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dncivvn71p8fc" +path="res://.godot/imported/vehicles0003.png-7c30b5ffe064c2fb5724c993a0ab2933.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0003.png" +dest_files=["res://.godot/imported/vehicles0003.png-7c30b5ffe064c2fb5724c993a0ab2933.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0004.png b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0004.png new file mode 100644 index 0000000..9551131 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0004.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9937e97390f877ff2657b92d315a5b83dafe5af6c646a63847d7e4a3ddacba6 +size 3515070 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0004.png.import b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0004.png.import new file mode 100644 index 0000000..e4bf670 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0004.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cyejj6j5jdmi7" +path="res://.godot/imported/vehicles0004.png-13070dc48c6b915f9d09d3d4b5419dde.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0004.png" +dest_files=["res://.godot/imported/vehicles0004.png-13070dc48c6b915f9d09d3d4b5419dde.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0005.png b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0005.png new file mode 100644 index 0000000..addf2b6 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0005.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d14b1e5650fe3da674406b8462be28dfd2637a44606b4d486a9d3f4b0b0b2b6 +size 3222121 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0005.png.import b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0005.png.import new file mode 100644 index 0000000..aca52f2 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0005.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://v6r8wnfx5ohm" +path="res://.godot/imported/vehicles0005.png-6a3048c1ca17e525db7917270e86db15.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0005.png" +dest_files=["res://.godot/imported/vehicles0005.png-6a3048c1ca17e525db7917270e86db15.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0006.png b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0006.png new file mode 100644 index 0000000..b470665 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:774e076dc82166123f81f322bc4af9ab98387a30acb5cbaa00fd05708863aef7 +size 3475393 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0006.png.import b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0006.png.import new file mode 100644 index 0000000..40f85b7 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0006.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b8q5cknim8tw" +path="res://.godot/imported/vehicles0006.png-2bb082a9176fb54266c3425eae495eda.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0006.png" +dest_files=["res://.godot/imported/vehicles0006.png-2bb082a9176fb54266c3425eae495eda.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0007.png b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0007.png new file mode 100644 index 0000000..4349f8a --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0007.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1cb3099f17bf54be0323067a75e2f1d8b483835c4f71e971b3c7e3d04ef2f7d +size 2998157 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0007.png.import b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0007.png.import new file mode 100644 index 0000000..e5876bf --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0007.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ellhusgibn8" +path="res://.godot/imported/vehicles0007.png-62893c3bb5a5e4121790262d81a943a7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0007.png" +dest_files=["res://.godot/imported/vehicles0007.png-62893c3bb5a5e4121790262d81a943a7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0008.png b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0008.png new file mode 100644 index 0000000..e71eaa6 --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0008.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba8a307b4a7600deaa9a04a7b88d1076ff72938164d60c14b064e1d4df177cfb +size 3479180 diff --git a/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0008.png.import b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0008.png.import new file mode 100644 index 0000000..5118e5e --- /dev/null +++ b/assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0008.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c88ibui3i5so7" +path="res://.godot/imported/vehicles0008.png-066108149d780fb099dd011add7ac115.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/2d_city/2dcitywithoutoutline/vehicles/vehicles0008.png" +dest_files=["res://.godot/imported/vehicles0008.png-066108149d780fb099dd011add7ac115.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/beer/beer.png b/assets/beer/beer.png new file mode 100644 index 0000000..41c2fd5 --- /dev/null +++ b/assets/beer/beer.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7fe3d05ff9c0fcca0efcab94e9d750d69795317f8ec1382de6587936db36a91 +size 1670 diff --git a/assets/beer/beer.png.import b/assets/beer/beer.png.import new file mode 100644 index 0000000..ff8505e --- /dev/null +++ b/assets/beer/beer.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cm0k0h7fakj7m" +path="res://.godot/imported/beer.png-a0ccffd9b15acd62e6eaffa83a1a488e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/beer/beer.png" +dest_files=["res://.godot/imported/beer.png-a0ccffd9b15acd62e6eaffa83a1a488e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/coffee/AssetPack_V01_FREE.png b/assets/coffee/AssetPack_V01_FREE.png new file mode 100644 index 0000000..ad389e5 --- /dev/null +++ b/assets/coffee/AssetPack_V01_FREE.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7459edbb5305c37701d203abbed0759953c9254abd785b707f6fb2c64cfc661a +size 7191 diff --git a/assets/coffee/AssetPack_V01_FREE.png.import b/assets/coffee/AssetPack_V01_FREE.png.import new file mode 100644 index 0000000..a86865f --- /dev/null +++ b/assets/coffee/AssetPack_V01_FREE.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://nne5hv8t0sks" +path="res://.godot/imported/AssetPack_V01_FREE.png-26d317fb76a7193f67db0acd59b16e50.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/coffee/AssetPack_V01_FREE.png" +dest_files=["res://.godot/imported/AssetPack_V01_FREE.png-26d317fb76a7193f67db0acd59b16e50.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/shotgun/shotgun_1.png b/assets/shotgun/shotgun_1.png new file mode 100644 index 0000000..08bb218 --- /dev/null +++ b/assets/shotgun/shotgun_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fd1713ae953f83840b47d0118867e93158c637575dba41e98a913c924e3e259 +size 3905 diff --git a/assets/shotgun/shotgun_1.png.import b/assets/shotgun/shotgun_1.png.import new file mode 100644 index 0000000..6a10350 --- /dev/null +++ b/assets/shotgun/shotgun_1.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cfo7jpjxnw5m8" +path="res://.godot/imported/shotgun_1.png-7eff381dfd05389c4645af5ef0305db8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/shotgun/shotgun_1.png" +dest_files=["res://.godot/imported/shotgun_1.png-7eff381dfd05389c4645af5ef0305db8.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/captures/spawn_combo.mp4 b/captures/spawn_combo.mp4 new file mode 100644 index 0000000..abc7ec1 Binary files /dev/null and b/captures/spawn_combo.mp4 differ diff --git a/game.gd b/game.gd index fb77769..854351d 100644 --- a/game.gd +++ b/game.gd @@ -1,16 +1,67 @@ class_name Game extends Node -@onready var game_container: Node2D = %Game +const DOWN_SPAWN_SCENE = preload("uid://d4ltd1geg7s2p") + +var turn: int = 0: + set(value): + turn = value + controls.set_turn(turn) +var player: Player +var citizen_count: int = 0: + set(value): + print(value) + citizen_count = value + if citizen_count == 0: + handle_turn_over() + +var spawn_placement_actions = 0 + @onready var board: Board = %Board +@onready var controls: Controls = %Controls + + +func _init() -> void: + Globals.game = self + func _ready() -> void: - get_tree().paused = true + player = Player.new() + controls.set_players([player]) + start_turn() -func handle_tile_selected(tile: Tile): + +func start_turn() -> void: + turn += 1 + if spawn_placement_actions > 0: + board.set_active_tile(DOWN_SPAWN_SCENE.instantiate()) + + +func select_tile(tile: Tile): board.set_active_tile(tile) -func handle_building_selected(building: Building) -> void: - board.set_active_building(building) + +func select_building(building: Building) -> void: + if building is Home: + board.set_active_building(building, player) + else: + board.set_active_building(building) + func place_walls() -> void: board.is_placing_walls = !board.is_placing_walls + + +func handle_turn_over() -> void: + get_tree().call_group("PostTurnActions", "handle_post_turn_actions") + controls.reset_turn() + start_turn() + + +func queue_spawn_placement(num: int) -> void: + spawn_placement_actions += num + + +func handle_spawn_placed() -> void: + spawn_placement_actions = maxi(spawn_placement_actions - 1, 0) + if spawn_placement_actions > 0: + board.set_active_tile(DOWN_SPAWN_SCENE.instantiate()) diff --git a/game.tscn b/game.tscn index a4802f3..12e6009 100644 --- a/game.tscn +++ b/game.tscn @@ -42,11 +42,11 @@ theme_override_styles/panel = SubResource("StyleBoxFlat_fc0e3") [node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer" unique_id=761660879] layout_mode = 2 -[node name="Controls" parent="Control/PanelContainer/VBoxContainer" unique_id=1719205711 node_paths=PackedStringArray("game") instance=ExtResource("4_fc0e3")] +[node name="Controls" parent="Control/PanelContainer/VBoxContainer" unique_id=1719205711 instance=ExtResource("4_fc0e3")] +unique_name_in_owner = true custom_minimum_size = Vector2(0, 50) layout_mode = 2 size_flags_vertical = 4 -game = NodePath("../../../..") [node name="PanelContainer" type="PanelContainer" parent="Control/PanelContainer/VBoxContainer" unique_id=1428657222] process_mode = 3 @@ -70,19 +70,13 @@ physics_object_picking = true size = Vector2i(1132, 574) render_target_update_mode = 4 -[node name="Game" type="Node2D" parent="Control/PanelContainer/VBoxContainer/PanelContainer/SubViewportContainer/SubViewport" unique_id=880650018] -unique_name_in_owner = true -process_mode = 3 - -[node name="Camera2D" type="Camera2D" parent="Control/PanelContainer/VBoxContainer/PanelContainer/SubViewportContainer/SubViewport/Game" unique_id=296841783] +[node name="Camera2D" type="Camera2D" parent="Control/PanelContainer/VBoxContainer/PanelContainer/SubViewportContainer/SubViewport" unique_id=296841783] anchor_mode = 0 +zoom = Vector2(0.94, 0.94) position_smoothing_enabled = true drag_horizontal_enabled = true drag_vertical_enabled = true script = ExtResource("1_feb5d") -[node name="Board" parent="Control/PanelContainer/VBoxContainer/PanelContainer/SubViewportContainer/SubViewport/Game" unique_id=752933545 instance=ExtResource("1_e2o6t")] +[node name="Board" parent="Control/PanelContainer/VBoxContainer/PanelContainer/SubViewportContainer/SubViewport" unique_id=752933545 instance=ExtResource("1_e2o6t")] unique_name_in_owner = true - -[connection signal="select_building" from="Control/PanelContainer/VBoxContainer/Controls" to="." method="handle_building_selected"] -[connection signal="select_tile" from="Control/PanelContainer/VBoxContainer/Controls" to="." method="handle_tile_selected"] diff --git a/lobby.tscn b/lobby.tscn deleted file mode 100644 index 3238126..0000000 --- a/lobby.tscn +++ /dev/null @@ -1,106 +0,0 @@ -[gd_scene format=3 uid="uid://dpuwsqorot65h"] - -[ext_resource type="Script" uid="uid://ccycmp8aj70fe" path="res://lobby.gd" id="1_2wvic"] -[ext_resource type="Script" uid="uid://cy006uvidc4y" path="res://addons/tube/tube_client.gd" id="2_tftiq"] -[ext_resource type="Script" uid="uid://t4pe7yqc3pnt" path="res://addons/tube/tube_context.gd" id="3_1gg6n"] - -[sub_resource type="Resource" id="Resource_x4164"] -script = ExtResource("3_1gg6n") -app_id = "g^o#isR0W!x|+?8" -trackers_urls = Array[String](["wss://tracker.openwebtorrent.com", "wss://tracker.files.fm:7073/announce", "wss://tracker.btorrent.xyz/", "wss://tracker.ghostchu-services.top:443/announce"]) -stun_servers_urls = Array[String](["stun:stun.l.google.com:19302", "stun:stun.cloudflare.com:3478", "stun:stun.bethesda.net:3478"]) -metadata/_custom_type_script = "uid://t4pe7yqc3pnt" - -[node name="Lobby" type="Node" unique_id=459413586] -script = ExtResource("1_2wvic") - -[node name="Control" type="Control" parent="." unique_id=1938586159] -layout_mode = 3 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 - -[node name="VBoxContainer" type="VBoxContainer" parent="Control" unique_id=1667537625] -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 - -[node name="HBoxContainer" type="HBoxContainer" parent="Control/VBoxContainer" unique_id=582834859] -layout_mode = 2 -alignment = 1 - -[node name="Label" type="Label" parent="Control/VBoxContainer/HBoxContainer" unique_id=155939834] -layout_mode = 2 -text = "Session: " - -[node name="SessionLabel" type="Label" parent="Control/VBoxContainer/HBoxContainer" unique_id=62769493] -unique_name_in_owner = true -layout_mode = 2 - -[node name="HBoxContainer3" type="HBoxContainer" parent="Control/VBoxContainer" unique_id=1076402293] -layout_mode = 2 -alignment = 1 - -[node name="CreateUsername" type="LineEdit" parent="Control/VBoxContainer/HBoxContainer3" unique_id=1087132623] -unique_name_in_owner = true -custom_minimum_size = Vector2(200, 0) -layout_mode = 2 -placeholder_text = "Username" - -[node name="CreateSession" type="Button" parent="Control/VBoxContainer/HBoxContainer3" unique_id=1666471286] -layout_mode = 2 -size_flags_horizontal = 4 -text = "Create Session" - -[node name="HBoxContainer2" type="HBoxContainer" parent="Control/VBoxContainer" unique_id=660973022] -layout_mode = 2 -alignment = 1 - -[node name="JoinUsername" type="LineEdit" parent="Control/VBoxContainer/HBoxContainer2" unique_id=629165813] -unique_name_in_owner = true -custom_minimum_size = Vector2(200, 0) -layout_mode = 2 -placeholder_text = "Username" - -[node name="JoinSessionId" type="LineEdit" parent="Control/VBoxContainer/HBoxContainer2" unique_id=1505533568] -unique_name_in_owner = true -custom_minimum_size = Vector2(200, 0) -layout_mode = 2 -placeholder_text = "Session ID" - -[node name="JoinSession" type="Button" parent="Control/VBoxContainer/HBoxContainer2" unique_id=1915118933] -layout_mode = 2 -text = "Join Session" - -[node name="ChatLabel" type="RichTextLabel" parent="Control/VBoxContainer" unique_id=1323781150] -unique_name_in_owner = true -layout_mode = 2 -size_flags_vertical = 3 - -[node name="HBoxContainer4" type="HBoxContainer" parent="Control/VBoxContainer" unique_id=1068695893] -layout_mode = 2 -alignment = 1 - -[node name="ChatTextInput" type="LineEdit" parent="Control/VBoxContainer/HBoxContainer4" unique_id=668903522] -unique_name_in_owner = true -layout_mode = 2 -size_flags_horizontal = 3 - -[node name="Submit" type="Button" parent="Control/VBoxContainer/HBoxContainer4" unique_id=2143524169] -layout_mode = 2 -text = "Submit" - -[node name="TubeClient" type="Node" parent="." unique_id=1351185338] -unique_name_in_owner = true -script = ExtResource("2_tftiq") -context = SubResource("Resource_x4164") -metadata/_custom_type_script = "uid://cy006uvidc4y" - -[connection signal="pressed" from="Control/VBoxContainer/HBoxContainer3/CreateSession" to="." method="handle_create_session"] -[connection signal="pressed" from="Control/VBoxContainer/HBoxContainer2/JoinSession" to="." method="handle_join_session"] -[connection signal="text_submitted" from="Control/VBoxContainer/HBoxContainer4/ChatTextInput" to="." method="handle_chat_update"] diff --git a/prefabs/board.gd b/prefabs/board.gd index e20d9c7..07477fe 100644 --- a/prefabs/board.gd +++ b/prefabs/board.gd @@ -20,13 +20,14 @@ var real_wall_coords: Array[Vector2i] = [] @onready var wall_map: SceneTileMapLayer = %Walls @onready var wall_preview_map: SceneTileMapLayer = %WallPreviews + func _input(event: InputEvent) -> void: if event is InputEventMouseMotion: current_map_coord = tile_map.local_to_map(tile_map.get_local_mouse_position()) _place_wall_preview() _place_tile_preview() if active_building != null: - active_building.position = tile_map.map_to_local(current_map_coord) - active_building.placement_point.position + active_building.position = tile_map.map_to_local(current_map_coord) prev_map_coord = current_map_coord if event.is_action_pressed("select"): if is_placing_walls: @@ -41,14 +42,20 @@ func _input(event: InputEvent) -> void: Direction.RIGHT: _place_wall(current_map_coord + Vector2i.RIGHT, Direction.LEFT) elif active_tile_id != -1: + tile_preview_map.set_cell(current_map_coord) tile_map.set_cell(current_map_coord, 0, Vector2i.ZERO, active_tile_id) - active_tile_id = -1 + if active_tile_id >= 7 and active_tile_id <= 10: + active_tile_id = -1 + Globals.game.handle_spawn_placed() + else: + active_tile_id = -1 elif active_building != null: active_building.starting_coord = current_map_coord for coord in active_building.get_tile_coords(): buildings[coord] = active_building - active_building.position = tile_map.map_to_local(current_map_coord) - active_building.placement_point.position + active_building.position = tile_map.map_to_local(current_map_coord) active_building.modulate = Color(1, 1, 1, 1) + active_building.is_placing = false active_building = null if event.is_action_pressed("rotate_wall_up") and is_placing_walls: current_wall_direction = get_next_direction(current_wall_direction) @@ -60,14 +67,24 @@ func _input(event: InputEvent) -> void: var wall_preview = wall_preview_map.get_cell_scene(current_map_coord) if is_instance_valid(wall_preview): wall_preview.set_wall(current_wall_direction) + _handle_building_rotation(event) + _handle_spawn_rotation(event) + func set_active_tile(tile: Tile) -> void: active_tile_id = tile_map.tile_set.get_tile_id(tile) + if active_tile_id != -1: + tile_preview_map.set_cell(current_map_coord, 0, Vector2i.ZERO, active_tile_id) -func set_active_building(building: Building) -> void: + +func set_active_building(building: Building, player: Player = null) -> void: active_building = building.duplicate() add_child(active_building) + active_building.is_placing = true active_building.modulate = Color(1, 1, 1, 0.5) + if player != null: + active_building.player = player + func _place_wall(wall_coord: Vector2i, wall_direction: Direction) -> void: var current_wall = wall_map.get_cell_scene(wall_coord) @@ -78,6 +95,7 @@ func _place_wall(wall_coord: Vector2i, wall_direction: Direction) -> void: if is_instance_valid(wall_preview): wall_preview.set_wall(wall_direction) + func _place_wall_preview() -> void: if is_placing_walls: if prev_map_coord != current_map_coord: @@ -88,10 +106,12 @@ func _place_wall_preview() -> void: if is_instance_valid(wall_preview): wall_preview.set_wall(current_wall_direction) + func _clear_wall_preview() -> void: wall_preview_map.get_cell_scene(prev_map_coord).set_wall(Direction.NONE) wall_preview_map.get_cell_scene(current_map_coord).set_wall(Direction.NONE) + func _place_tile_preview() -> void: if active_tile_id != -1: if prev_map_coord != current_map_coord: @@ -100,18 +120,50 @@ func _place_tile_preview() -> void: tile_preview_map.set_cell(prev_map_coord) tile_preview_map.set_cell(current_map_coord, 0, Vector2i.ZERO, active_tile_id) -static func get_next_direction(direction: Direction) -> Direction: + +func _handle_building_rotation(event: InputEvent) -> void: + if active_building == null: + return + if event.is_action_pressed("rotate_tile_up"): + active_building.rotation_degrees += 90 + active_building.tile_rotation = get_next_direction(active_building.tile_rotation) + elif event.is_action_pressed("rotate_tile_down"): + active_building.rotation_degrees -= 90 + active_building.tile_rotation = get_previous_direction(active_building.tile_rotation) + + +func _handle_spawn_rotation(event: InputEvent) -> void: + if active_tile_id < 7 or active_tile_id > 10: + return + if event.is_action_pressed("rotate_tile_up"): + active_tile_id += 1 + if active_tile_id > 10: + active_tile_id = 7 + tile_preview_map.set_cell(current_map_coord, 0, Vector2i.ZERO, active_tile_id) + elif event.is_action_pressed("rotate_tile_down"): + active_tile_id -= 1 + if active_tile_id < 7: + active_tile_id = 10 + tile_preview_map.set_cell(current_map_coord, 0, Vector2i.ZERO, active_tile_id) + + +static func get_next_direction(direction: Direction, count: int = 1) -> Direction: + var result := direction + if count == 0: + return result match direction: Direction.UP: - return Direction.RIGHT + result = Direction.RIGHT Direction.RIGHT: - return Direction.DOWN + result = Direction.DOWN Direction.DOWN: - return Direction.LEFT + result = Direction.LEFT Direction.LEFT: - return Direction.UP - _: - return direction + result = Direction.UP + if count == 1: + return result + return get_next_direction(result, count - 1) + static func get_previous_direction(direction: Direction) -> Direction: match direction: @@ -126,6 +178,7 @@ static func get_previous_direction(direction: Direction) -> Direction: _: return direction + static func get_direction_vector(direction: Direction) -> Vector2i: match direction: Direction.UP: @@ -140,15 +193,15 @@ static func get_direction_vector(direction: Direction) -> Vector2i: return Vector2i.ZERO #func generate() -> void: - #for child in get_children(): - #child.queue_free() - #for x in range(width): - #for y in range(height): - #var tile: Control - #if x == 1 and y == 1: - #tile = spawn_scene.instantiate() - #else: - #tile = ground_scene.instantiate() - #add_child(tile) - #tile.position = get_coordinate(x, y) - #tile.owner = self +#for child in get_children(): +#child.queue_free() +#for x in range(width): +#for y in range(height): +#var tile: Control +#if x == 1 and y == 1: +#tile = spawn_scene.instantiate() +#else: +#tile = ground_scene.instantiate() +#add_child(tile) +#tile.position = get_coordinate(x, y) +#tile.owner = self diff --git a/prefabs/board.tscn b/prefabs/board.tscn index 163d0d2..008f2d4 100644 --- a/prefabs/board.tscn +++ b/prefabs/board.tscn @@ -52,7 +52,7 @@ script = ExtResource("1_p0ybc") [node name="Tiles" type="TileMapLayer" parent="." unique_id=1799727608] unique_name_in_owner = true process_mode = 3 -tile_map_data = PackedByteArray("AAAAAAEAAAAAAAAAAQACAAMAAAAAAAAAAQACAAQAAAAAAAAAAQADAAQAAAAAAAAAAQABAAEAAAAAAAAAAQABAAIAAAAAAAAAAQABAAMAAAAAAAAAAQABAAAAAAAAAAAAAQACAAAAAAAAAAAAAQADAAAAAAAAAAAAAQADAAEAAAAAAAAAAQADAAIAAAAAAAAAAQADAAMAAAAAAAAAAQACAAIAAAAAAAAAAQACAAEAAAAAAAAAAQAAAAMAAAAAAAAAAQAAAAQAAAAAAAAAAQABAAQAAAAAAAAAAQAEAAQAAAAAAAAAAQAEAAMAAAAAAAAAAQAEAAIAAAAAAAAAAQAEAAEAAAAAAAAAAQAEAAAAAAAAAAAAAQAAAAAAAAAAAAAABwAAAAIAAAAAAAAAAQA=") +tile_map_data = PackedByteArray("AAAAAAEAAAAAAAAAAQACAAMAAAAAAAAAAQACAAQAAAAAAAAAAQADAAQAAAAAAAAAAQABAAEAAAAAAAAAAQABAAIAAAAAAAAAAQABAAMAAAAAAAAAAQABAAAAAAAAAAAAAQACAAAAAAAAAAAABwADAAAAAAAAAAAAAQADAAEAAAAAAAAAAQADAAIAAAAAAAAAAQADAAMAAAAAAAAAAQACAAIAAAAAAAAAAQACAAEAAAAAAAAAAQAAAAMAAAAAAAAAAQAAAAQAAAAAAAAAAQABAAQAAAAAAAAAAQAEAAQAAAAAAAAAAQAEAAMAAAAAAAAAAQAEAAIAAAAAAAAAAQAEAAEAAAAAAAAAAQAEAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAIAAAAAAAAAAQAAAAUAAAAAAAAAAQABAAUAAAAAAAAAAQACAAUAAAAAAAAAAQADAAUAAAAAAAAAAQAEAAUAAAAAAAAAAQAFAAUAAAAAAAAAAQAFAAQAAAAAAAAAAQAFAAMAAAAAAAAAAQAFAAIAAAAAAAAAAQAFAAEAAAAAAAAAAQAFAAAAAAAAAAAAAQAGAAAAAAAAAAAAAQAGAAEAAAAAAAAAAQAGAAIAAAAAAAAAAQAGAAMAAAAAAAAAAQAGAAQAAAAAAAAAAQAGAAUAAAAAAAAAAQA=") tile_set = SubResource("TileSet_87tqm") script = ExtResource("10_yen83") @@ -66,7 +66,7 @@ script = ExtResource("10_yen83") [node name="Walls" type="TileMapLayer" parent="." unique_id=2075701520] unique_name_in_owner = true process_mode = 3 -tile_map_data = PackedByteArray("AAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAQAAAAIAAAAAAAAAAQAAAAMAAAAAAAAAAQAAAAQAAAAAAAAAAQABAAAAAAAAAAAAAQABAAEAAAAAAAAAAQABAAIAAAAAAAAAAQABAAMAAAAAAAAAAQABAAQAAAAAAAAAAQACAAAAAAAAAAAAAQACAAEAAAAAAAAAAQACAAIAAAAAAAAAAQACAAMAAAAAAAAAAQACAAQAAAAAAAAAAQADAAAAAAAAAAAAAQADAAEAAAAAAAAAAQADAAIAAAAAAAAAAQADAAMAAAAAAAAAAQADAAQAAAAAAAAAAQAEAAAAAAAAAAAAAQAEAAEAAAAAAAAAAQAEAAIAAAAAAAAAAQAEAAMAAAAAAAAAAQAEAAQAAAAAAAAAAQA=") +tile_map_data = PackedByteArray("AAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAQAAAAIAAAAAAAAAAQAAAAMAAAAAAAAAAQAAAAQAAAAAAAAAAQABAAAAAAAAAAAAAQABAAEAAAAAAAAAAQABAAIAAAAAAAAAAQABAAMAAAAAAAAAAQABAAQAAAAAAAAAAQACAAAAAAAAAAAAAQACAAEAAAAAAAAAAQACAAIAAAAAAAAAAQACAAMAAAAAAAAAAQACAAQAAAAAAAAAAQADAAAAAAAAAAAAAQADAAEAAAAAAAAAAQADAAIAAAAAAAAAAQADAAMAAAAAAAAAAQADAAQAAAAAAAAAAQAEAAAAAAAAAAAAAQAEAAEAAAAAAAAAAQAEAAIAAAAAAAAAAQAEAAMAAAAAAAAAAQAEAAQAAAAAAAAAAQAAAAUAAAAAAAAAAQABAAUAAAAAAAAAAQACAAUAAAAAAAAAAQADAAUAAAAAAAAAAQAEAAUAAAAAAAAAAQAFAAUAAAAAAAAAAQAGAAUAAAAAAAAAAQAGAAQAAAAAAAAAAQAGAAMAAAAAAAAAAQAGAAIAAAAAAAAAAQAGAAEAAAAAAAAAAQAGAAAAAAAAAAAAAQAFAAAAAAAAAAAAAQAFAAEAAAAAAAAAAQAFAAIAAAAAAAAAAQAFAAMAAAAAAAAAAQAFAAQAAAAAAAAAAQA=") tile_set = SubResource("TileSet_6l02p") script = ExtResource("10_yen83") @@ -74,55 +74,89 @@ script = ExtResource("10_yen83") unique_name_in_owner = true process_mode = 3 modulate = Color(1, 1, 1, 0.5) -tile_map_data = PackedByteArray("AAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAQAAAAIAAAAAAAAAAQAAAAMAAAAAAAAAAQAAAAQAAAAAAAAAAQABAAAAAAAAAAAAAQABAAEAAAAAAAAAAQABAAIAAAAAAAAAAQABAAMAAAAAAAAAAQABAAQAAAAAAAAAAQACAAAAAAAAAAAAAQACAAEAAAAAAAAAAQACAAIAAAAAAAAAAQACAAMAAAAAAAAAAQACAAQAAAAAAAAAAQADAAAAAAAAAAAAAQADAAEAAAAAAAAAAQADAAIAAAAAAAAAAQADAAMAAAAAAAAAAQADAAQAAAAAAAAAAQAEAAAAAAAAAAAAAQAEAAEAAAAAAAAAAQAEAAIAAAAAAAAAAQAEAAMAAAAAAAAAAQAEAAQAAAAAAAAAAQA=") +tile_map_data = PackedByteArray("AAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAQAAAAIAAAAAAAAAAQAAAAMAAAAAAAAAAQAAAAQAAAAAAAAAAQABAAAAAAAAAAAAAQABAAEAAAAAAAAAAQABAAIAAAAAAAAAAQABAAMAAAAAAAAAAQABAAQAAAAAAAAAAQACAAAAAAAAAAAAAQACAAEAAAAAAAAAAQACAAIAAAAAAAAAAQACAAMAAAAAAAAAAQACAAQAAAAAAAAAAQADAAAAAAAAAAAAAQADAAEAAAAAAAAAAQADAAIAAAAAAAAAAQADAAMAAAAAAAAAAQADAAQAAAAAAAAAAQAEAAAAAAAAAAAAAQAEAAEAAAAAAAAAAQAEAAIAAAAAAAAAAQAEAAMAAAAAAAAAAQAEAAQAAAAAAAAAAQAAAAUAAAAAAAAAAQABAAUAAAAAAAAAAQACAAUAAAAAAAAAAQAGAAAAAAAAAAAAAQAGAAEAAAAAAAAAAQAGAAIAAAAAAAAAAQAGAAMAAAAAAAAAAQAGAAQAAAAAAAAAAQAGAAUAAAAAAAAAAQADAAUAAAAAAAAAAQAEAAUAAAAAAAAAAQAFAAUAAAAAAAAAAQAFAAAAAAAAAAAAAQAFAAEAAAAAAAAAAQAFAAIAAAAAAAAAAQAFAAMAAAAAAAAAAQAFAAQAAAAAAAAAAQA=") tile_set = SubResource("TileSet_wi6i1") script = ExtResource("10_yen83") [connection signal="mouse_entered" from="Tiles/Ground" to="Tiles/Ground" method="handle_ground_mouse_entered"] [connection signal="mouse_exited" from="Tiles/Ground" to="Tiles/Ground" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144234" to="Tiles/@TextureRect@144234" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144234" to="Tiles/@TextureRect@144234" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144235" to="Tiles/@TextureRect@144235" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144235" to="Tiles/@TextureRect@144235" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144236" to="Tiles/@TextureRect@144236" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144236" to="Tiles/@TextureRect@144236" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144237" to="Tiles/@TextureRect@144237" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144237" to="Tiles/@TextureRect@144237" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144238" to="Tiles/@TextureRect@144238" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144238" to="Tiles/@TextureRect@144238" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144239" to="Tiles/@TextureRect@144239" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144239" to="Tiles/@TextureRect@144239" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144240" to="Tiles/@TextureRect@144240" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144240" to="Tiles/@TextureRect@144240" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144241" to="Tiles/@TextureRect@144241" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144241" to="Tiles/@TextureRect@144241" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144242" to="Tiles/@TextureRect@144242" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144242" to="Tiles/@TextureRect@144242" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144243" to="Tiles/@TextureRect@144243" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144243" to="Tiles/@TextureRect@144243" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144244" to="Tiles/@TextureRect@144244" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144244" to="Tiles/@TextureRect@144244" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144245" to="Tiles/@TextureRect@144245" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144245" to="Tiles/@TextureRect@144245" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144246" to="Tiles/@TextureRect@144246" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144246" to="Tiles/@TextureRect@144246" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144247" to="Tiles/@TextureRect@144247" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144247" to="Tiles/@TextureRect@144247" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144248" to="Tiles/@TextureRect@144248" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144248" to="Tiles/@TextureRect@144248" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144249" to="Tiles/@TextureRect@144249" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144249" to="Tiles/@TextureRect@144249" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144250" to="Tiles/@TextureRect@144250" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144250" to="Tiles/@TextureRect@144250" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144251" to="Tiles/@TextureRect@144251" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144251" to="Tiles/@TextureRect@144251" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144252" to="Tiles/@TextureRect@144252" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144252" to="Tiles/@TextureRect@144252" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144253" to="Tiles/@TextureRect@144253" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144253" to="Tiles/@TextureRect@144253" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144254" to="Tiles/@TextureRect@144254" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144254" to="Tiles/@TextureRect@144254" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144255" to="Tiles/@TextureRect@144255" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144255" to="Tiles/@TextureRect@144255" method="handle_ground_mouse_exited"] -[connection signal="mouse_entered" from="Tiles/@TextureRect@144256" to="Tiles/@TextureRect@144256" method="handle_ground_mouse_entered"] -[connection signal="mouse_exited" from="Tiles/@TextureRect@144256" to="Tiles/@TextureRect@144256" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521340" to="Tiles/@TextureRect@521340" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521340" to="Tiles/@TextureRect@521340" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521341" to="Tiles/@TextureRect@521341" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521341" to="Tiles/@TextureRect@521341" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521342" to="Tiles/@TextureRect@521342" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521342" to="Tiles/@TextureRect@521342" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521343" to="Tiles/@TextureRect@521343" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521343" to="Tiles/@TextureRect@521343" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521344" to="Tiles/@TextureRect@521344" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521344" to="Tiles/@TextureRect@521344" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521345" to="Tiles/@TextureRect@521345" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521345" to="Tiles/@TextureRect@521345" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521346" to="Tiles/@TextureRect@521346" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521346" to="Tiles/@TextureRect@521346" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521347" to="Tiles/@TextureRect@521347" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521347" to="Tiles/@TextureRect@521347" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521348" to="Tiles/@TextureRect@521348" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521348" to="Tiles/@TextureRect@521348" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521349" to="Tiles/@TextureRect@521349" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521349" to="Tiles/@TextureRect@521349" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521350" to="Tiles/@TextureRect@521350" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521350" to="Tiles/@TextureRect@521350" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521351" to="Tiles/@TextureRect@521351" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521351" to="Tiles/@TextureRect@521351" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521352" to="Tiles/@TextureRect@521352" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521352" to="Tiles/@TextureRect@521352" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521353" to="Tiles/@TextureRect@521353" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521353" to="Tiles/@TextureRect@521353" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521354" to="Tiles/@TextureRect@521354" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521354" to="Tiles/@TextureRect@521354" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521355" to="Tiles/@TextureRect@521355" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521355" to="Tiles/@TextureRect@521355" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521356" to="Tiles/@TextureRect@521356" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521356" to="Tiles/@TextureRect@521356" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521357" to="Tiles/@TextureRect@521357" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521357" to="Tiles/@TextureRect@521357" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521358" to="Tiles/@TextureRect@521358" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521358" to="Tiles/@TextureRect@521358" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521359" to="Tiles/@TextureRect@521359" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521359" to="Tiles/@TextureRect@521359" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521360" to="Tiles/@TextureRect@521360" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521360" to="Tiles/@TextureRect@521360" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521361" to="Tiles/@TextureRect@521361" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521361" to="Tiles/@TextureRect@521361" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521362" to="Tiles/@TextureRect@521362" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521362" to="Tiles/@TextureRect@521362" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521363" to="Tiles/@TextureRect@521363" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521363" to="Tiles/@TextureRect@521363" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521364" to="Tiles/@TextureRect@521364" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521364" to="Tiles/@TextureRect@521364" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521365" to="Tiles/@TextureRect@521365" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521365" to="Tiles/@TextureRect@521365" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521366" to="Tiles/@TextureRect@521366" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521366" to="Tiles/@TextureRect@521366" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521367" to="Tiles/@TextureRect@521367" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521367" to="Tiles/@TextureRect@521367" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521368" to="Tiles/@TextureRect@521368" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521368" to="Tiles/@TextureRect@521368" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521369" to="Tiles/@TextureRect@521369" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521369" to="Tiles/@TextureRect@521369" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521370" to="Tiles/@TextureRect@521370" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521370" to="Tiles/@TextureRect@521370" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521371" to="Tiles/@TextureRect@521371" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521371" to="Tiles/@TextureRect@521371" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521372" to="Tiles/@TextureRect@521372" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521372" to="Tiles/@TextureRect@521372" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521373" to="Tiles/@TextureRect@521373" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521373" to="Tiles/@TextureRect@521373" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521374" to="Tiles/@TextureRect@521374" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521374" to="Tiles/@TextureRect@521374" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521375" to="Tiles/@TextureRect@521375" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521375" to="Tiles/@TextureRect@521375" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521376" to="Tiles/@TextureRect@521376" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521376" to="Tiles/@TextureRect@521376" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521377" to="Tiles/@TextureRect@521377" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521377" to="Tiles/@TextureRect@521377" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521378" to="Tiles/@TextureRect@521378" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521378" to="Tiles/@TextureRect@521378" method="handle_ground_mouse_exited"] +[connection signal="mouse_entered" from="Tiles/@TextureRect@521379" to="Tiles/@TextureRect@521379" method="handle_ground_mouse_entered"] +[connection signal="mouse_exited" from="Tiles/@TextureRect@521379" to="Tiles/@TextureRect@521379" method="handle_ground_mouse_exited"] diff --git a/prefabs/citizen.gd b/prefabs/citizen.gd index 08795ac..0abb1c7 100644 --- a/prefabs/citizen.gd +++ b/prefabs/citizen.gd @@ -1,5 +1,11 @@ class_name Citizen extends CharacterBody2D +enum Status { NONE, DRUNK, ARMED, CAFFEINATED } + +const DRUNK_ICON = preload("uid://28x2e52skdt1") +const COFFEE_ICON = preload("uid://0644a3psplk8") +const ARMED_ICON = preload("uid://cn8biugbtcns5") + var direction: Board.Direction: set(new_direction): direction = new_direction @@ -8,19 +14,97 @@ var direction: Board.Direction: else: walk() +var paused: bool: + set(value): + paused = value + if paused: + animated_sprite.pause() + else: + animated_sprite.play() + var speed: float = 50 var board: Board var current_tile_coords: Vector2i +var direction_queue: Array[Board.Direction] = [] +var money: int = 0 +var money_label_tween: Tween +var tiles_visited: Dictionary[Tile, int] = {} +var buildings_visited: Dictionary[Building, int] = {} + +var _statuses: Array[Status] = [] @onready var animated_sprite: AnimatedSprite2D = %AnimatedSprite @onready var sprite_collision: CollisionShape2D = %SpriteCollision @onready var tile_area: Area2D = %TileArea +@onready var money_label: Label = %MoneyLabel +@onready var status_container: Container = %StatusContainer + + +func _ready() -> void: + Globals.game.citizen_count += 1 + + +func pause() -> void: + paused = true + + +func unpause() -> void: + paused = false + + +func add_status(status: Status) -> void: + _statuses.push_back(status) + match status: + Status.DRUNK: + status_container.add_child(DRUNK_ICON.instantiate()) + Status.CAFFEINATED: + status_container.add_child(COFFEE_ICON.instantiate()) + Status.ARMED: + status_container.add_child(ARMED_ICON.instantiate()) + + +func remove_status(status: Status) -> void: + var status_idx := _statuses.find(status) + _statuses.remove_at(status_idx) + status_container.get_child(status_idx).free() + + +func get_status_count(status: Status) -> int: + return _statuses.count(status) + + +func remove_all_statuses(status: Status) -> void: + while _statuses.has(status): + remove_status(status) + + +func play_money_animation() -> void: + if is_instance_valid(money_label_tween): + money_label_tween.kill() + var starting_position = sprite_collision.position - (money_label.size / 2) + money_label_tween = create_tween() + ( + money_label_tween + . tween_property(money_label, "position", starting_position - Vector2(0, 25), 0.75) + . from(starting_position) + ) + ( + money_label_tween + . parallel() + . tween_property(money_label, "modulate", Color(1, 1, 1, 0), 0.75) + . from(Color(1, 1, 1, 1)) + ) + func set_offset(offset: Vector2) -> void: animated_sprite.position = offset sprite_collision.position = offset + status_container.position = offset + Vector2(5, -5) -func _process(delta: float) -> void: + +func _physics_process(delta: float) -> void: + if paused: + return var motion: Vector2 match direction: Board.Direction.UP: @@ -36,10 +120,17 @@ func _process(delta: float) -> void: #position = position.move_toward(position + Vector2.LEFT, speed * delta) motion = Vector2.LEFT * speed * delta move_and_collide(motion) + var tile_map_coords := board.tile_map.local_to_map(animated_sprite.global_position) + if board.tile_map.get_cell_alternative_tile(tile_map_coords) == -1: + if !board.buildings.has(tile_map_coords): + direction = Board.Direction.NONE + func idle() -> void: + Globals.game.citizen_count -= 1 animated_sprite.play("idle") + func walk() -> void: match direction: Board.Direction.UP: @@ -53,15 +144,21 @@ func walk() -> void: animated_sprite.flip_h = false animated_sprite.play("walk_right") + func check_for_wall() -> void: var tile_walls = board.wall_map.get_cell_scene(current_tile_coords).walls if tile_walls.has(direction): direction = Board.get_next_direction(direction) check_for_wall() + func check_for_turn(tile: Tile) -> void: if tile is Turn: - direction = tile.direction + if _statuses.has(Status.DRUNK): + remove_status(Status.DRUNK) + else: + direction = tile.direction + func check_for_building() -> void: if board.buildings.has(current_tile_coords + Board.get_direction_vector(direction)): @@ -70,9 +167,32 @@ func check_for_building() -> void: direction = Board.get_next_direction(direction) check_for_building() + func handle_tile_area_entered(area: Area2D): var tile = area.get_parent() - current_tile_coords = board.tile_map.local_to_map(tile.position) - check_for_building() - check_for_turn(tile) - check_for_wall() + current_tile_coords = board.tile_map.local_to_map(area.global_position) + if !direction_queue.is_empty(): + direction = direction_queue.pop_front() + elif tile is Building: + if !buildings_visited.has(tile): + buildings_visited.set(tile, 0) + buildings_visited[tile as Building] += 1 + tile.activate(self) + direction_queue = tile.get_direction_queue(self) + direction = direction_queue.pop_front() + else: + if !tiles_visited.has(tile): + tiles_visited.set(tile, 0) + tiles_visited[tile as Tile] += 1 + check_for_building() + check_for_turn(tile) + check_for_wall() + if ( + buildings_visited.values().any(func(v: int): return v > 3) + or tiles_visited.values().any(func(v: int): return v > 3) + ): + direction = Board.Direction.NONE + + +func handle_post_turn_actions() -> void: + queue_free() diff --git a/prefabs/citizen.tscn b/prefabs/citizen.tscn index aba6531..5756cf4 100644 --- a/prefabs/citizen.tscn +++ b/prefabs/citizen.tscn @@ -161,9 +161,14 @@ animations = [{ size = Vector2(18, 18) [sub_resource type="RectangleShape2D" id="RectangleShape2D_f20g1"] -size = Vector2(1, 1) +size = Vector2(2, 2) -[node name="Citizen" type="CharacterBody2D" unique_id=927998924] +[sub_resource type="LabelSettings" id="LabelSettings_f20g1"] +font_color = Color(0, 1, 0, 1) +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[node name="Citizen" type="CharacterBody2D" unique_id=927998924 groups=["Pausable", "PostTurnActions"]] process_mode = 1 z_index = 2 y_sort_enabled = true @@ -189,4 +194,32 @@ collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="TileArea" unique_id=1001840681] shape = SubResource("RectangleShape2D_f20g1") +[node name="MoneyLabel" type="Label" parent="." unique_id=1230846527] +unique_name_in_owner = true +modulate = Color(1, 1, 1, 0) +z_index = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -5.0 +offset_top = -11.0 +offset_right = 5.0 +offset_bottom = 12.0 +grow_horizontal = 2 +grow_vertical = 2 +size_flags_horizontal = 4 +text = "$" +label_settings = SubResource("LabelSettings_f20g1") + +[node name="StatusContainer" type="HBoxContainer" parent="." unique_id=139088788] +unique_name_in_owner = true +z_index = 1 +offset_left = 5.0 +offset_top = -5.0 +offset_right = 26.0 +offset_bottom = 5.0 +theme_override_constants/separation = 1 + [connection signal="area_entered" from="TileArea" to="." method="handle_tile_area_entered"] diff --git a/prefabs/game_camera.gd b/prefabs/game_camera.gd index 40b5b00..174de35 100644 --- a/prefabs/game_camera.gd +++ b/prefabs/game_camera.gd @@ -3,18 +3,18 @@ extends Camera2D var is_dragging: bool = false #func _input(event: InputEvent) -> void: - #if event.is_action_pressed("camera_drag"): - #Input.mouse_mode = Input.MOUSE_MODE_CAPTURED - #is_dragging = true - #elif event.is_action_released("camera_drag"): - #Input.mouse_mode = Input.MOUSE_MODE_VISIBLE - #is_dragging = false +#if event.is_action_pressed("camera_drag"): +#Input.mouse_mode = Input.MOUSE_MODE_CAPTURED +#is_dragging = true +#elif event.is_action_released("camera_drag"): +#Input.mouse_mode = Input.MOUSE_MODE_VISIBLE +#is_dragging = false # - #if event.is_action_pressed("zoom_in"): - #zoom *= Vector2(1.25, 1.25) - #elif event.is_action_pressed("zoom_out"): - #zoom *= Vector2(0.75, 0.75) +#if event.is_action_pressed("zoom_in"): +#zoom *= Vector2(1.25, 1.25) +#elif event.is_action_pressed("zoom_out"): +#zoom *= Vector2(0.75, 0.75) # - #if is_dragging: - #if event is InputEventMouseMotion: - #position = lerp(position, event.screen_velocity, 0.01) +#if is_dragging: +#if event is InputEventMouseMotion: +#position = lerp(position, event.screen_velocity, 0.01) diff --git a/prefabs/lobby/create_session.gd b/prefabs/lobby/create_session.gd new file mode 100644 index 0000000..2076b6e --- /dev/null +++ b/prefabs/lobby/create_session.gd @@ -0,0 +1 @@ +extends VBoxContainer diff --git a/prefabs/lobby/create_session.gd.uid b/prefabs/lobby/create_session.gd.uid new file mode 100644 index 0000000..8c20646 --- /dev/null +++ b/prefabs/lobby/create_session.gd.uid @@ -0,0 +1 @@ +uid://cee85aokdb5ts diff --git a/prefabs/lobby/create_session.tscn b/prefabs/lobby/create_session.tscn new file mode 100644 index 0000000..6f7f802 --- /dev/null +++ b/prefabs/lobby/create_session.tscn @@ -0,0 +1,51 @@ +[gd_scene format=3 uid="uid://b7rfnt0d4qoew"] + +[sub_resource type="LabelSettings" id="LabelSettings_tftiq"] +font_size = 32 + +[node name="CreateSessionContainer" type="VBoxContainer" unique_id=1876286176] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_constants/separation = 20 +alignment = 1 + +[node name="Label" type="Label" parent="." unique_id=893154611] +layout_mode = 2 +text = "Create Session" +label_settings = SubResource("LabelSettings_tftiq") +horizontal_alignment = 1 + +[node name="Name" type="HBoxContainer" parent="." unique_id=970924151] +layout_mode = 2 +theme_override_constants/separation = 20 +alignment = 1 + +[node name="Label" type="Label" parent="Name" unique_id=895121392] +layout_mode = 2 +text = "Player Name" + +[node name="LineEdit" type="LineEdit" parent="Name" unique_id=1835313745] +custom_minimum_size = Vector2(250, 0) +layout_mode = 2 + +[node name="Color" type="HBoxContainer" parent="." unique_id=269490401] +layout_mode = 2 +theme_override_constants/separation = 20 +alignment = 1 + +[node name="Label" type="Label" parent="Color" unique_id=1241092588] +layout_mode = 2 +text = "Player Color" + +[node name="ColorPickerButton" type="ColorPickerButton" parent="Color" unique_id=1931635282] +custom_minimum_size = Vector2(150, 0) +layout_mode = 2 + +[node name="Button" type="Button" parent="." unique_id=1053608712] +custom_minimum_size = Vector2(150, 0) +layout_mode = 2 +size_flags_horizontal = 4 +text = "Create Session" diff --git a/lobby.gd b/prefabs/lobby/lobby.gd similarity index 99% rename from lobby.gd rename to prefabs/lobby/lobby.gd index 99f072c..0ddc35f 100644 --- a/lobby.gd +++ b/prefabs/lobby/lobby.gd @@ -6,10 +6,12 @@ extends Node @onready var chat_log: RichTextLabel = %ChatLabel @onready var chat_text_input: LineEdit = %ChatTextInput + func handle_create_session(): tube_client.create_session() session_label.text = tube_client.session_id + func handle_join_session(): tube_client.join_session(join_session_id.text) session_label.text = tube_client.session_id @@ -19,6 +21,7 @@ func handle_chat_update(new_text): update_chat.rpc(new_text) chat_text_input.text = "" + @rpc("any_peer", "call_local", "reliable") func update_chat(text): chat_log.text += text + "\n" diff --git a/lobby.gd.uid b/prefabs/lobby/lobby.gd.uid similarity index 100% rename from lobby.gd.uid rename to prefabs/lobby/lobby.gd.uid diff --git a/prefabs/lobby/lobby.tscn b/prefabs/lobby/lobby.tscn new file mode 100644 index 0000000..79af7fe --- /dev/null +++ b/prefabs/lobby/lobby.tscn @@ -0,0 +1,102 @@ +[gd_scene format=3 uid="uid://dpuwsqorot65h"] + +[ext_resource type="Script" uid="uid://ccycmp8aj70fe" path="res://prefabs/lobby/lobby.gd" id="1_2wvic"] +[ext_resource type="Script" uid="uid://cy006uvidc4y" path="res://addons/tube/tube_client.gd" id="2_tftiq"] +[ext_resource type="Script" uid="uid://t4pe7yqc3pnt" path="res://addons/tube/tube_context.gd" id="3_1gg6n"] + +[sub_resource type="Resource" id="Resource_x4164"] +script = ExtResource("3_1gg6n") +app_id = "g^o#isR0W!x|+?8" +trackers_urls = Array[String](["wss://tracker.openwebtorrent.com", "wss://tracker.files.fm:7073/announce", "wss://tracker.btorrent.xyz/", "wss://tracker.ghostchu-services.top:443/announce"]) +stun_servers_urls = Array[String](["stun:stun.l.google.com:19302", "stun:stun.cloudflare.com:3478", "stun:stun.bethesda.net:3478"]) +metadata/_custom_type_script = "uid://t4pe7yqc3pnt" + +[sub_resource type="LabelSettings" id="LabelSettings_2wvic"] +font_size = 48 + +[sub_resource type="LabelSettings" id="LabelSettings_tftiq"] +font_size = 32 + +[node name="Lobby" type="Node" unique_id=459413586] +script = ExtResource("1_2wvic") + +[node name="TubeClient" type="Node" parent="." unique_id=1351185338] +unique_name_in_owner = true +script = ExtResource("2_tftiq") +context = SubResource("Resource_x4164") +metadata/_custom_type_script = "uid://cy006uvidc4y" + +[node name="MenuContainer" type="VBoxContainer" parent="." unique_id=1667537625] +unique_name_in_owner = true +visible = false +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_constants/separation = 20 +alignment = 1 + +[node name="Title" type="Label" parent="MenuContainer" unique_id=1959052214] +layout_mode = 2 +text = "Clockwork City" +label_settings = SubResource("LabelSettings_2wvic") +horizontal_alignment = 1 + +[node name="CreateSession" type="Button" parent="MenuContainer" unique_id=1320477862] +layout_mode = 2 +size_flags_horizontal = 4 +text = "Create Session" + +[node name="JoinSession" type="Button" parent="MenuContainer" unique_id=897089302] +layout_mode = 2 +size_flags_horizontal = 4 +text = "Join Session" + +[node name="CreateSessionContainer" type="VBoxContainer" parent="." unique_id=1261110903] +unique_name_in_owner = true +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_constants/separation = 20 +alignment = 1 + +[node name="Label" type="Label" parent="CreateSessionContainer" unique_id=1668422341] +layout_mode = 2 +text = "Create Session" +label_settings = SubResource("LabelSettings_tftiq") +horizontal_alignment = 1 + +[node name="Name" type="HBoxContainer" parent="CreateSessionContainer" unique_id=1986198559] +layout_mode = 2 +theme_override_constants/separation = 20 +alignment = 1 + +[node name="Label" type="Label" parent="CreateSessionContainer/Name" unique_id=2042865933] +layout_mode = 2 +text = "Player Name" + +[node name="LineEdit" type="LineEdit" parent="CreateSessionContainer/Name" unique_id=1717454671] +custom_minimum_size = Vector2(250, 0) +layout_mode = 2 + +[node name="Color" type="HBoxContainer" parent="CreateSessionContainer" unique_id=237702841] +layout_mode = 2 +theme_override_constants/separation = 20 +alignment = 1 + +[node name="Label" type="Label" parent="CreateSessionContainer/Color" unique_id=803879737] +layout_mode = 2 +text = "Player Color" + +[node name="ColorPickerButton" type="ColorPickerButton" parent="CreateSessionContainer/Color" unique_id=165152573] +custom_minimum_size = Vector2(150, 0) +layout_mode = 2 + +[node name="Button" type="Button" parent="CreateSessionContainer" unique_id=218018842] +custom_minimum_size = Vector2(150, 0) +layout_mode = 2 +size_flags_horizontal = 4 +text = "Create Session" diff --git a/prefabs/scene_tile_map_layer.gd b/prefabs/scene_tile_map_layer.gd index d121b8b..13ead68 100644 --- a/prefabs/scene_tile_map_layer.gd +++ b/prefabs/scene_tile_map_layer.gd @@ -4,10 +4,12 @@ signal child_registered var scene_coords: Dictionary[Vector2i, Node] = {} + func _enter_tree(): child_entered_tree.connect(_register_child) child_exiting_tree.connect(_unregister_child) + func _register_child(child): await child.ready var coords = local_to_map(to_local(child.global_position)) @@ -15,11 +17,14 @@ func _register_child(child): child.set_meta("tile_coords", coords) child_registered.emit() + func _unregister_child(child): scene_coords.erase(child.get_meta("tile_coords")) + func get_cell_scene(coords: Vector2i) -> Node: return scene_coords.get(coords, null) + func get_scene_coords(scene: Node) -> Vector2i: return scene_coords.find_key(scene) diff --git a/prefabs/tiles/buildings/bank.gd b/prefabs/tiles/buildings/bank.gd new file mode 100644 index 0000000..71c2428 --- /dev/null +++ b/prefabs/tiles/buildings/bank.gd @@ -0,0 +1,69 @@ +extends Building + +var money: int = 0: + set(value): + money = value + _set_money_label() + +@onready var money_label: Label = %MoneyLabel + + +func can_citizen_enter(coord: Vector2i, direction: Board.Direction) -> bool: + var up_adjustment := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + var right_adjustment := Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + var correct_heading := Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()) + + var entrance_1 := ( + starting_coord + + Board.get_direction_vector(up_adjustment) + + Board.get_direction_vector(up_adjustment) + ) + var entrance_2 := entrance_1 + Board.get_direction_vector(right_adjustment) + return (coord == entrance_1 or coord == entrance_2) and direction == correct_heading + + +func get_tile_coords() -> Array[Vector2i]: + var result: Array[Vector2i] = [] + result.push_back(starting_coord) + result.push_back( + starting_coord + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + result.push_back( + starting_coord + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + result.push_back( + ( + starting_coord + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + ) + return result + + +func get_direction_queue(_citizen: Citizen) -> Array[Board.Direction]: + return [ + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()), + Board.get_next_direction(Board.Direction.UP, get_rotation_count()), + Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + ] + + +func activate(citizen: Citizen) -> void: + if citizen.get_status_count(Citizen.Status.ARMED) > 0: + citizen.money += money + citizen.play_money_animation() + citizen.remove_status(Citizen.Status.ARMED) + money = 0 + elif citizen.money > 0: + money += citizen.money + citizen.money = 0 + citizen.play_money_animation() + + +func handle_post_turn_actions() -> void: + money *= 2 + + +func _set_money_label() -> void: + money_label.text = "$%d" % money diff --git a/prefabs/tiles/buildings/bank.gd.uid b/prefabs/tiles/buildings/bank.gd.uid new file mode 100644 index 0000000..3ed2039 --- /dev/null +++ b/prefabs/tiles/buildings/bank.gd.uid @@ -0,0 +1 @@ +uid://dqivl44ibmsl6 diff --git a/prefabs/tiles/buildings/bank.tscn b/prefabs/tiles/buildings/bank.tscn new file mode 100644 index 0000000..890abb8 --- /dev/null +++ b/prefabs/tiles/buildings/bank.tscn @@ -0,0 +1,173 @@ +[gd_scene format=3 uid="uid://c06fsqdixer1c"] + +[ext_resource type="Script" uid="uid://dqivl44ibmsl6" path="res://prefabs/tiles/buildings/bank.gd" id="1_q4p5y"] +[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="2_68e07"] + +[sub_resource type="LabelSettings" id="LabelSettings_vwg8v"] +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_vwg8v"] +size = Vector2(110, 110) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wwwaf"] +atlas = ExtResource("2_68e07") +region = Rect2(16, 16, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fupku"] +atlas = ExtResource("2_68e07") +region = Rect2(0, 16, 16, 16) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_wwwaf"] +size = Vector2(1, 1) + +[node name="Bank" type="Node2D" unique_id=746270571 groups=["PostTurnActions"]] +process_mode = 3 +script = ExtResource("1_q4p5y") + +[node name="ColorRect" type="ColorRect" parent="." unique_id=889061850] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -55.0 +offset_right = 55.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(0, 1, 0, 1) + +[node name="ColorRect2" type="ColorRect" parent="." unique_id=2077475895] +custom_minimum_size = Vector2(110, 110) +offset_left = 55.0 +offset_top = -165.0 +offset_right = 165.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(0, 1, 0, 1) + +[node name="ColorRect3" type="ColorRect" parent="." unique_id=1401405224] +custom_minimum_size = Vector2(110, 110) +offset_left = 55.0 +offset_top = -55.0 +offset_right = 165.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(0, 1, 0, 1) + +[node name="ColorRect4" type="ColorRect" parent="." unique_id=255418342] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -165.0 +offset_right = 55.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(0, 1, 0, 1) + +[node name="Label" type="Label" parent="." unique_id=29286194] +custom_minimum_size = Vector2(220, 110) +offset_left = -55.0 +offset_top = -165.0 +offset_right = 165.0 +offset_bottom = -55.0 +text = "BANK" +label_settings = SubResource("LabelSettings_vwg8v") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="MoneyLabel" type="Label" parent="." unique_id=1651554831] +unique_name_in_owner = true +custom_minimum_size = Vector2(220, 110) +offset_left = -55.0 +offset_top = -55.0 +offset_right = 165.0 +offset_bottom = 55.0 +text = "$0" +label_settings = SubResource("LabelSettings_vwg8v") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="BuildingArea" type="Area2D" parent="." unique_id=333775731] +unique_name_in_owner = true +process_mode = 3 +position = Vector2(-55, -165) +collision_layer = 0 +collision_mask = 5 +monitoring = false + +[node name="CollisionShape2D" type="CollisionShape2D" parent="BuildingArea" unique_id=1122204523] +process_mode = 3 +position = Vector2(55, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="BuildingArea" unique_id=1773735924] +position = Vector2(165, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="BuildingArea" unique_id=1677987437] +position = Vector2(165, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="BuildingArea" unique_id=1638062176] +position = Vector2(55, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168] +texture_filter = 1 +position = Vector2(-10, -190) +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=1969702659] +texture_filter = 1 +position = Vector2(10, -190) +rotation = -3.1415925 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Sprite2D3" type="Sprite2D" parent="." unique_id=1370361419] +texture_filter = 1 +position = Vector2(100, -190) +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D4" type="Sprite2D" parent="." unique_id=1801878139] +texture_filter = 1 +position = Vector2(120, -190) +rotation = -3.1415925 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Square" type="Area2D" parent="." unique_id=1309579334] +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square" unique_id=2040153103] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square2" type="Area2D" parent="." unique_id=2142538939] +position = Vector2(110, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square2" unique_id=2060476818] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square3" type="Area2D" parent="." unique_id=535904517] +position = Vector2(110, 0) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square3" unique_id=1107926939] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square4" type="Area2D" parent="." unique_id=289882156] +position = Vector2(0, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square4" unique_id=1476676009] +shape = SubResource("RectangleShape2D_wwwaf") + +[connection signal="area_entered" from="BuildingArea" to="." method="_on_building_area_entered"] diff --git a/prefabs/tiles/buildings/bar.gd b/prefabs/tiles/buildings/bar.gd new file mode 100644 index 0000000..452b3b2 --- /dev/null +++ b/prefabs/tiles/buildings/bar.gd @@ -0,0 +1,43 @@ +extends Building + + +func can_citizen_enter(coord: Vector2i, direction: Board.Direction) -> bool: + var up_adjustment := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + var correct_heading_1 := Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()) + var correct_heading_2 := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + + var entrance_1 := ( + starting_coord + + Board.get_direction_vector(up_adjustment) + + Board.get_direction_vector(up_adjustment) + ) + var entrance_2 := starting_coord - Board.get_direction_vector(up_adjustment) + return ( + (coord == entrance_1 and direction == correct_heading_1) + or (coord == entrance_2 and direction == correct_heading_2) + ) + + +func get_tile_coords() -> Array[Vector2i]: + var result: Array[Vector2i] = [] + result.push_back(starting_coord) + result.push_back( + starting_coord + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + return result + + +func get_direction_queue(citizen: Citizen) -> Array[Board.Direction]: + if citizen.current_tile_coords - starting_coord == Vector2i.ZERO: + return [ + Board.get_next_direction(Board.Direction.UP, get_rotation_count()), + Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + ] + return [ + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()), + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()) + ] + + +func activate(citizen: Citizen) -> void: + citizen.add_status(Citizen.Status.DRUNK) diff --git a/prefabs/tiles/buildings/bar.gd.uid b/prefabs/tiles/buildings/bar.gd.uid new file mode 100644 index 0000000..1e18797 --- /dev/null +++ b/prefabs/tiles/buildings/bar.gd.uid @@ -0,0 +1 @@ +uid://ptm2cd3y5f14 diff --git a/prefabs/tiles/buildings/bar.tscn b/prefabs/tiles/buildings/bar.tscn new file mode 100644 index 0000000..d6d8acd --- /dev/null +++ b/prefabs/tiles/buildings/bar.tscn @@ -0,0 +1,119 @@ +[gd_scene format=3 uid="uid://cfk268flnsbhb"] + +[ext_resource type="Script" uid="uid://ptm2cd3y5f14" path="res://prefabs/tiles/buildings/bar.gd" id="1_cy06p"] +[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="2_iv3ev"] + +[sub_resource type="LabelSettings" id="LabelSettings_vwg8v"] +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_vwg8v"] +size = Vector2(110, 110) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wwwaf"] +atlas = ExtResource("2_iv3ev") +region = Rect2(16, 16, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fupku"] +atlas = ExtResource("2_iv3ev") +region = Rect2(0, 16, 16, 16) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_wwwaf"] +size = Vector2(1, 1) + +[node name="Bar" type="Node2D" unique_id=746270571] +process_mode = 3 +script = ExtResource("1_cy06p") + +[node name="ColorRect" type="ColorRect" parent="." unique_id=889061850] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -55.0 +offset_right = 55.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(0.735357, 0, 1, 1) + +[node name="ColorRect2" type="ColorRect" parent="." unique_id=255418342] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -165.0 +offset_right = 55.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(0.735357, 0, 1, 1) + +[node name="Label" type="Label" parent="." unique_id=29286194] +custom_minimum_size = Vector2(110, 220) +offset_left = -55.0 +offset_top = -165.0 +offset_right = 55.0 +offset_bottom = 55.0 +text = "BAR" +label_settings = SubResource("LabelSettings_vwg8v") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="BuildingArea" type="Area2D" parent="." unique_id=333775731] +unique_name_in_owner = true +process_mode = 3 +position = Vector2(-55, -165) +collision_layer = 0 +collision_mask = 5 +monitoring = false + +[node name="CollisionShape2D" type="CollisionShape2D" parent="BuildingArea" unique_id=1122204523] +process_mode = 3 +position = Vector2(55, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="BuildingArea" unique_id=1638062176] +position = Vector2(55, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168] +texture_filter = 1 +position = Vector2(-10, -190) +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=1969702659] +texture_filter = 1 +position = Vector2(10, -190) +rotation = -3.1415925 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Sprite2D3" type="Sprite2D" parent="." unique_id=1370361419] +texture_filter = 1 +position = Vector2(-10, 80) +rotation = 3.1415927 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D4" type="Sprite2D" parent="." unique_id=1801878139] +texture_filter = 1 +position = Vector2(10, 80) +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Square" type="Area2D" parent="." unique_id=1309579334] +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square" unique_id=2040153103] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square2" type="Area2D" parent="." unique_id=289882156] +position = Vector2(0, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square2" unique_id=1476676009] +shape = SubResource("RectangleShape2D_wwwaf") + +[connection signal="area_entered" from="BuildingArea" to="." method="_on_building_area_entered"] diff --git a/prefabs/tiles/buildings/building.gd b/prefabs/tiles/buildings/building.gd index 36fae5a..dc4c561 100644 --- a/prefabs/tiles/buildings/building.gd +++ b/prefabs/tiles/buildings/building.gd @@ -1,14 +1,35 @@ class_name Building extends Node2D -var is_placing: bool = false -var starting_coord: Vector2i +var is_placing: bool = false: + set(value): + is_placing = value + building_area.monitoring = !is_placing + +var starting_coord: Vector2i +var tile_rotation: Board.Direction = Board.Direction.UP + +@onready var building_area: Area2D = %BuildingArea -@onready var placement_point: Marker2D = %PlacementPoint func building_entered(body: Node2D) -> void: if body is Citizen: print("Activate building effect!") + func _on_building_area_entered(area: Area2D) -> void: - print(area) - #pass + var tile = area.get_parent() + if tile is Ground and !is_placing: + tile.queue_free() + + +func get_rotation_count() -> int: + var rotation_count: int = 0 + if tile_rotation == Board.Direction.UP: + rotation_count = 0 + elif tile_rotation == Board.Direction.RIGHT: + rotation_count = 1 + elif tile_rotation == Board.Direction.DOWN: + rotation_count = 2 + elif tile_rotation == Board.Direction.LEFT: + rotation_count = 3 + return rotation_count diff --git a/prefabs/tiles/buildings/cafe.gd b/prefabs/tiles/buildings/cafe.gd new file mode 100644 index 0000000..30e76ff --- /dev/null +++ b/prefabs/tiles/buildings/cafe.gd @@ -0,0 +1,66 @@ +extends Building + + +func can_citizen_enter(coord: Vector2i, direction: Board.Direction) -> bool: + var left_adjustment := Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()) + var up_adjustment := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + var right_adjustment := Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + var correct_heading_1 := Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + var correct_heading_2 := Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()) + + var entrance_1 := starting_coord + Board.get_direction_vector(left_adjustment) + var entrance_2 := ( + starting_coord + + Board.get_direction_vector(up_adjustment) + + Board.get_direction_vector(right_adjustment) + + Board.get_direction_vector(right_adjustment) + + Board.get_direction_vector(right_adjustment) + ) + return ( + (coord == entrance_1 and direction == correct_heading_1) + or (coord == entrance_2 and direction == correct_heading_2) + ) + + +func get_tile_coords() -> Array[Vector2i]: + var result: Array[Vector2i] = [] + result.push_back(starting_coord) + result.push_back( + starting_coord + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + result.push_back( + ( + starting_coord + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + ) + result.push_back( + ( + starting_coord + + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + ) + return result + + +func get_direction_queue(citizen: Citizen) -> Array[Board.Direction]: + if (citizen.current_tile_coords - starting_coord) == Vector2i.ZERO: + return [ + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()), + Board.get_next_direction(Board.Direction.UP, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + ] + return [ + Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()), + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()), + Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()), + Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()) + ] + + +func activate(citizen: Citizen) -> void: + citizen.add_status(Citizen.Status.CAFFEINATED) diff --git a/prefabs/tiles/buildings/cafe.gd.uid b/prefabs/tiles/buildings/cafe.gd.uid new file mode 100644 index 0000000..2c241ca --- /dev/null +++ b/prefabs/tiles/buildings/cafe.gd.uid @@ -0,0 +1 @@ +uid://2m1djjoa3vji diff --git a/prefabs/tiles/buildings/cafe.tscn b/prefabs/tiles/buildings/cafe.tscn new file mode 100644 index 0000000..ec24bae --- /dev/null +++ b/prefabs/tiles/buildings/cafe.tscn @@ -0,0 +1,163 @@ +[gd_scene format=3 uid="uid://bgtw051fiveeo"] + +[ext_resource type="Script" uid="uid://2m1djjoa3vji" path="res://prefabs/tiles/buildings/cafe.gd" id="1_rc38y"] +[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="2_721qv"] + +[sub_resource type="LabelSettings" id="LabelSettings_vwg8v"] +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_vwg8v"] +size = Vector2(110, 110) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wwwaf"] +atlas = ExtResource("2_721qv") +region = Rect2(16, 16, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fupku"] +atlas = ExtResource("2_721qv") +region = Rect2(0, 16, 16, 16) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_wwwaf"] +size = Vector2(1, 1) + +[node name="Cafe" type="Node2D" unique_id=746270571] +process_mode = 3 +script = ExtResource("1_rc38y") + +[node name="ColorRect" type="ColorRect" parent="." unique_id=889061850] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -55.0 +offset_right = 55.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(1, 0.41822335, 0, 1) + +[node name="ColorRect2" type="ColorRect" parent="." unique_id=2077475895] +custom_minimum_size = Vector2(110, 110) +offset_left = 55.0 +offset_top = -165.0 +offset_right = 165.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(1, 0.41822335, 0, 1) + +[node name="ColorRect3" type="ColorRect" parent="." unique_id=1401405224] +custom_minimum_size = Vector2(110, 110) +offset_left = 55.0 +offset_top = -55.0 +offset_right = 165.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(1, 0.41822335, 0, 1) + +[node name="ColorRect4" type="ColorRect" parent="." unique_id=255418342] +custom_minimum_size = Vector2(110, 110) +offset_left = 165.0 +offset_top = -165.0 +offset_right = 275.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(1, 0.41822335, 0, 1) + +[node name="Label" type="Label" parent="." unique_id=29286194] +custom_minimum_size = Vector2(110, 220) +offset_left = 55.0 +offset_top = -165.0 +offset_right = 165.0 +offset_bottom = 55.0 +text = "CAFE" +label_settings = SubResource("LabelSettings_vwg8v") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="BuildingArea" type="Area2D" parent="." unique_id=333775731] +unique_name_in_owner = true +process_mode = 3 +position = Vector2(-55, -165) +collision_layer = 0 +collision_mask = 5 +monitoring = false + +[node name="CollisionShape2D" type="CollisionShape2D" parent="BuildingArea" unique_id=1122204523] +process_mode = 3 +position = Vector2(55, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="BuildingArea" unique_id=1773735924] +position = Vector2(165, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="BuildingArea" unique_id=1677987437] +position = Vector2(165, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="BuildingArea" unique_id=1638062176] +position = Vector2(275, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168] +texture_filter = 1 +position = Vector2(-80, 10) +rotation = -1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=1969702659] +texture_filter = 1 +position = Vector2(300, -120) +rotation = -1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Sprite2D3" type="Sprite2D" parent="." unique_id=1607154314] +texture_filter = 1 +position = Vector2(300, -100) +rotation = 1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D4" type="Sprite2D" parent="." unique_id=1258863090] +texture_filter = 1 +position = Vector2(-80, -10) +rotation = 1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Square" type="Area2D" parent="." unique_id=1309579334] +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square" unique_id=2040153103] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square2" type="Area2D" parent="." unique_id=2142538939] +position = Vector2(110, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square2" unique_id=2060476818] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square3" type="Area2D" parent="." unique_id=535904517] +position = Vector2(110, 0) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square3" unique_id=1107926939] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square4" type="Area2D" parent="." unique_id=289882156] +position = Vector2(220, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square4" unique_id=1476676009] +shape = SubResource("RectangleShape2D_wwwaf") + +[connection signal="area_entered" from="BuildingArea" to="." method="_on_building_area_entered"] diff --git a/prefabs/tiles/buildings/fork.gd b/prefabs/tiles/buildings/fork.gd new file mode 100644 index 0000000..050604f --- /dev/null +++ b/prefabs/tiles/buildings/fork.gd @@ -0,0 +1,28 @@ +extends Building + +var citizen_count: int = 0 + + +func can_citizen_enter(coord: Vector2i, direction: Board.Direction) -> bool: + var down_adjustment := Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()) + var correct_heading := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + + var entrance := starting_coord + Board.get_direction_vector(down_adjustment) + return coord == entrance and direction == correct_heading + + +func get_tile_coords() -> Array[Vector2i]: + var result: Array[Vector2i] = [] + result.push_back(starting_coord) + return result + + +func get_direction_queue(_citizen: Citizen) -> Array[Board.Direction]: + citizen_count += 1 + if citizen_count % 2 == 0: + return [Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count())] + return [Board.get_next_direction(Board.Direction.LEFT, get_rotation_count())] + + +func activate(_citizen: Citizen) -> void: + pass diff --git a/prefabs/tiles/buildings/fork.gd.uid b/prefabs/tiles/buildings/fork.gd.uid new file mode 100644 index 0000000..6ce4dfb --- /dev/null +++ b/prefabs/tiles/buildings/fork.gd.uid @@ -0,0 +1 @@ +uid://dib6oco6b3wfl diff --git a/prefabs/tiles/buildings/fork.tscn b/prefabs/tiles/buildings/fork.tscn new file mode 100644 index 0000000..930124b --- /dev/null +++ b/prefabs/tiles/buildings/fork.tscn @@ -0,0 +1,100 @@ +[gd_scene format=3 uid="uid://cphy0vtj14ob0"] + +[ext_resource type="Script" uid="uid://dib6oco6b3wfl" path="res://prefabs/tiles/buildings/fork.gd" id="1_pht35"] +[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="2_rnjsh"] + +[sub_resource type="LabelSettings" id="LabelSettings_vwg8v"] +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_vwg8v"] +size = Vector2(110, 110) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fupku"] +atlas = ExtResource("2_rnjsh") +region = Rect2(0, 16, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wwwaf"] +atlas = ExtResource("2_rnjsh") +region = Rect2(16, 16, 16, 16) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_wwwaf"] +size = Vector2(1, 1) + +[node name="Fork" type="Node2D" unique_id=746270571] +process_mode = 3 +script = ExtResource("1_pht35") + +[node name="ColorRect" type="ColorRect" parent="." unique_id=889061850] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -55.0 +offset_right = 55.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(0.48452926, 0.48452926, 0.48452926, 1) + +[node name="Label" type="Label" parent="." unique_id=29286194] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -55.0 +offset_right = 55.0 +offset_bottom = 55.0 +text = "FORK" +label_settings = SubResource("LabelSettings_vwg8v") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="BuildingArea" type="Area2D" parent="." unique_id=333775731] +unique_name_in_owner = true +process_mode = 3 +position = Vector2(-55, -165) +collision_layer = 0 +collision_mask = 5 +monitoring = false + +[node name="CollisionShape2D" type="CollisionShape2D" parent="BuildingArea" unique_id=1122204523] +process_mode = 3 +position = Vector2(55, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=1969702659] +texture_filter = 1 +position = Vector2(80, 0) +rotation = -1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Sprite2D3" type="Sprite2D" parent="." unique_id=1370361419] +texture_filter = 1 +position = Vector2(0, 80) +rotation = 3.1415927 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D4" type="Sprite2D" parent="." unique_id=1801878139] +texture_filter = 1 +position = Vector2(-80, 0) +rotation = 1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Square" type="Area2D" parent="." unique_id=1309579334] +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square" unique_id=2040153103] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square2" type="Area2D" parent="." unique_id=289882156] +position = Vector2(0, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square2" unique_id=1476676009] +shape = SubResource("RectangleShape2D_wwwaf") + +[connection signal="area_entered" from="BuildingArea" to="." method="_on_building_area_entered"] diff --git a/prefabs/tiles/buildings/gun_shop.gd b/prefabs/tiles/buildings/gun_shop.gd new file mode 100644 index 0000000..21d0b80 --- /dev/null +++ b/prefabs/tiles/buildings/gun_shop.gd @@ -0,0 +1,74 @@ +extends Building + + +func can_citizen_enter(coord: Vector2i, direction: Board.Direction) -> bool: + var up_adjustment := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + var right_adjustment := Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + var correct_heading_1 := Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()) + var correct_heading_2 := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + + var entrance_1 := ( + starting_coord + + (Board.get_direction_vector(up_adjustment) * 2) + + (Board.get_direction_vector(right_adjustment) * 3) + ) + var entrance_2 := starting_coord - Board.get_direction_vector(up_adjustment) + return ( + (coord == entrance_1 and direction == correct_heading_1) + or (coord == entrance_2 and direction == correct_heading_2) + ) + + +func get_tile_coords() -> Array[Vector2i]: + var result: Array[Vector2i] = [] + result.push_back(starting_coord) + result.push_back( + starting_coord + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + result.push_back( + ( + starting_coord + + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + ) + result.push_back( + starting_coord + (Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) * 2) + ) + result.push_back( + ( + starting_coord + + (Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) * 2) + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + ) + result.push_back( + ( + starting_coord + + (Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) * 2) + + (Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) * 2) + ) + ) + return result + + +func get_direction_queue(citizen: Citizen) -> Array[Board.Direction]: + if (citizen.current_tile_coords - starting_coord) == Vector2i.ZERO: + return [ + Board.get_next_direction(Board.Direction.UP, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()), + Board.get_next_direction(Board.Direction.UP, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + ] + return [ + Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()), + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()), + Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()), + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()), + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()) + ] + + +func activate(citizen: Citizen) -> void: + citizen.add_status(Citizen.Status.ARMED) diff --git a/prefabs/tiles/buildings/gun_shop.gd.uid b/prefabs/tiles/buildings/gun_shop.gd.uid new file mode 100644 index 0000000..69ae99f --- /dev/null +++ b/prefabs/tiles/buildings/gun_shop.gd.uid @@ -0,0 +1 @@ +uid://bnyy0ojlolrjj diff --git a/prefabs/tiles/buildings/gun_shop.tscn b/prefabs/tiles/buildings/gun_shop.tscn new file mode 100644 index 0000000..a082399 --- /dev/null +++ b/prefabs/tiles/buildings/gun_shop.tscn @@ -0,0 +1,204 @@ +[gd_scene format=3 uid="uid://c1kyedmrep0tu"] + +[ext_resource type="Script" uid="uid://bnyy0ojlolrjj" path="res://prefabs/tiles/buildings/gun_shop.gd" id="1_llmep"] +[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="2_qam00"] + +[sub_resource type="LabelSettings" id="LabelSettings_vwg8v"] +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_vwg8v"] +size = Vector2(110, 110) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wwwaf"] +atlas = ExtResource("2_qam00") +region = Rect2(16, 16, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fupku"] +atlas = ExtResource("2_qam00") +region = Rect2(0, 16, 16, 16) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_wwwaf"] +size = Vector2(1, 1) + +[node name="GunShop" type="Node2D" unique_id=746270571] +process_mode = 3 +script = ExtResource("1_llmep") + +[node name="ColorRect" type="ColorRect" parent="." unique_id=889061850] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -55.0 +offset_right = 55.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(1, 0, 0, 1) + +[node name="ColorRect2" type="ColorRect" parent="." unique_id=255418342] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -165.0 +offset_right = 55.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(1, 0, 0, 1) + +[node name="ColorRect3" type="ColorRect" parent="." unique_id=1785049135] +custom_minimum_size = Vector2(110, 110) +offset_left = 55.0 +offset_top = -165.0 +offset_right = 165.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(1, 0, 0, 1) + +[node name="ColorRect4" type="ColorRect" parent="." unique_id=1660351199] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -275.0 +offset_right = 55.0 +offset_bottom = -165.0 +mouse_filter = 2 +color = Color(1, 0, 0, 1) + +[node name="ColorRect5" type="ColorRect" parent="." unique_id=1525506774] +custom_minimum_size = Vector2(110, 110) +offset_left = 55.0 +offset_top = -275.0 +offset_right = 165.0 +offset_bottom = -165.0 +mouse_filter = 2 +color = Color(1, 0, 0, 1) + +[node name="ColorRect6" type="ColorRect" parent="." unique_id=1727297267] +custom_minimum_size = Vector2(110, 110) +offset_left = 165.0 +offset_top = -275.0 +offset_right = 275.0 +offset_bottom = -165.0 +mouse_filter = 2 +color = Color(1, 0, 0, 1) + +[node name="Label" type="Label" parent="." unique_id=29286194] +custom_minimum_size = Vector2(220, 220) +offset_left = -55.0 +offset_top = -275.0 +offset_right = 165.0 +offset_bottom = -55.0 +text = "GUN SHOP" +label_settings = SubResource("LabelSettings_vwg8v") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="BuildingArea" type="Area2D" parent="." unique_id=333775731] +unique_name_in_owner = true +process_mode = 3 +position = Vector2(-55, -165) +collision_layer = 0 +collision_mask = 5 +monitoring = false + +[node name="CollisionShape2D" type="CollisionShape2D" parent="BuildingArea" unique_id=1122204523] +process_mode = 3 +position = Vector2(55, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="BuildingArea" unique_id=1638062176] +position = Vector2(55, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="BuildingArea" unique_id=1549040997] +position = Vector2(165, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="BuildingArea" unique_id=1578115167] +position = Vector2(55, -55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D5" type="CollisionShape2D" parent="BuildingArea" unique_id=1640076722] +position = Vector2(165, -55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D6" type="CollisionShape2D" parent="BuildingArea" unique_id=1850783102] +position = Vector2(275, -55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168] +texture_filter = 1 +position = Vector2(300, -230) +rotation = 1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=1969702659] +texture_filter = 1 +position = Vector2(300, -210) +rotation = -1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Sprite2D3" type="Sprite2D" parent="." unique_id=1370361419] +texture_filter = 1 +position = Vector2(-10, 80) +rotation = 3.1415927 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D4" type="Sprite2D" parent="." unique_id=1801878139] +texture_filter = 1 +position = Vector2(10, 80) +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Square" type="Area2D" parent="." unique_id=1309579334] +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square" unique_id=2040153103] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square2" type="Area2D" parent="." unique_id=289882156] +position = Vector2(0, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square2" unique_id=1476676009] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square3" type="Area2D" parent="." unique_id=520831463] +position = Vector2(110, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square3" unique_id=309772651] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square4" type="Area2D" parent="." unique_id=229115924] +position = Vector2(0, -220) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square4" unique_id=261500077] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square5" type="Area2D" parent="." unique_id=826236086] +position = Vector2(110, -220) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square5" unique_id=1360179714] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square6" type="Area2D" parent="." unique_id=1250539767] +position = Vector2(220, -220) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square6" unique_id=783421603] +shape = SubResource("RectangleShape2D_wwwaf") + +[connection signal="area_entered" from="BuildingArea" to="." method="_on_building_area_entered"] diff --git a/prefabs/tiles/buildings/home.gd b/prefabs/tiles/buildings/home.gd new file mode 100644 index 0000000..16d65d6 --- /dev/null +++ b/prefabs/tiles/buildings/home.gd @@ -0,0 +1,29 @@ +class_name Home extends Building + +var player: Player: + set(value): + player = value + _set_border_color() + +@onready var border: PanelContainer = %Border + + +func activate(citizen: Citizen) -> void: + player.money += citizen.money + + +func can_citizen_enter(_coord: Vector2i, _direction: Board.Direction) -> bool: + return true + + +func get_direction_queue(_citizen: Citizen) -> Array[Board.Direction]: + return [Board.Direction.NONE] + + +func get_tile_coords() -> Array[Vector2i]: + return [starting_coord] + + +func _set_border_color() -> void: + var style_box: StyleBoxFlat = border.get_theme_stylebox("panel") + style_box.border_color = player.color diff --git a/prefabs/tiles/home.gd.uid b/prefabs/tiles/buildings/home.gd.uid similarity index 100% rename from prefabs/tiles/home.gd.uid rename to prefabs/tiles/buildings/home.gd.uid diff --git a/prefabs/tiles/buildings/home.tscn b/prefabs/tiles/buildings/home.tscn new file mode 100644 index 0000000..4d421d3 --- /dev/null +++ b/prefabs/tiles/buildings/home.tscn @@ -0,0 +1,109 @@ +[gd_scene format=3 uid="uid://bto4vblqk2inb"] + +[ext_resource type="Script" uid="uid://ch1qywbfphfqy" path="res://prefabs/tiles/buildings/home.gd" id="2_g5sxs"] +[ext_resource type="Texture2D" uid="uid://1fs47aytjsp6" path="res://assets/2d_city/2dcitywithoutoutline/house1/1house0001.png" id="2_i0ot4"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6ic3m"] +resource_local_to_scene = true +content_margin_left = 10.0 +content_margin_top = 10.0 +content_margin_right = 10.0 +content_margin_bottom = 10.0 +bg_color = Color(0.6, 0.6, 0.6, 0) +border_width_left = 5 +border_width_top = 5 +border_width_right = 5 +border_width_bottom = 5 +border_color = Color(1, 1, 1, 0) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2y6xd"] +atlas = ExtResource("2_i0ot4") +region = Rect2(1008, 1564, 401, 364) + +[sub_resource type="LabelSettings" id="LabelSettings_26feb"] +font_size = 24 +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_i0ot4"] +size = Vector2(1, 1) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_ja20k"] +size = Vector2(100, 100) + +[node name="Home" type="Node2D" unique_id=1701297833] +script = ExtResource("2_g5sxs") + +[node name="Border" type="PanelContainer" parent="." unique_id=1535918688] +unique_name_in_owner = true +custom_minimum_size = Vector2(100, 100) +offset_left = -50.0 +offset_top = -50.0 +offset_right = 50.0 +offset_bottom = 50.0 +mouse_filter = 2 +theme_override_styles/panel = SubResource("StyleBoxFlat_6ic3m") + +[node name="Icon" type="TextureRect" parent="Border" unique_id=1316631070] +texture_filter = 1 +layout_mode = 2 +mouse_filter = 2 +texture = SubResource("AtlasTexture_2y6xd") +expand_mode = 5 + +[node name="Label" type="Label" parent="Border/Icon" unique_id=134308374] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -42.5 +offset_top = -17.0 +offset_right = 42.5 +offset_bottom = 17.0 +grow_horizontal = 2 +grow_vertical = 2 +size_flags_horizontal = 4 +text = "HOME" +label_settings = SubResource("LabelSettings_26feb") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Amount" type="Label" parent="Border/Icon" unique_id=1728513182] +visible = false +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -42.5 +offset_top = -17.0 +offset_right = 42.5 +offset_bottom = 17.0 +grow_horizontal = 2 +grow_vertical = 2 +size_flags_horizontal = 4 +text = "SPAWN" +label_settings = SubResource("LabelSettings_26feb") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Area2D" type="Area2D" parent="." unique_id=2110660720] +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=2100290177] +shape = SubResource("RectangleShape2D_i0ot4") + +[node name="BuildingArea" type="Area2D" parent="." unique_id=812662804] +unique_name_in_owner = true +collision_layer = 0 +collision_mask = 5 +monitoring = false + +[node name="CollisionShape2D" type="CollisionShape2D" parent="BuildingArea" unique_id=660262437] +shape = SubResource("RectangleShape2D_ja20k") + +[connection signal="area_entered" from="BuildingArea" to="." method="_on_building_area_entered"] diff --git a/prefabs/tiles/buildings/hospital.gd b/prefabs/tiles/buildings/hospital.gd new file mode 100644 index 0000000..4f9d0e3 --- /dev/null +++ b/prefabs/tiles/buildings/hospital.gd @@ -0,0 +1,83 @@ +extends Building + +const CITIZEN_SCENE = preload("uid://bwx0lqtkd2jd7") + + +func can_citizen_enter(coord: Vector2i, direction: Board.Direction) -> bool: + var up_adjustment := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + var right_adjustment := Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + var correct_heading := Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()) + + var entrance_1 := ( + starting_coord + + Board.get_direction_vector(up_adjustment) + + Board.get_direction_vector(up_adjustment) + + Board.get_direction_vector(right_adjustment) + ) + var entrance_2 := entrance_1 + Board.get_direction_vector(right_adjustment) + + return (coord == entrance_1 or coord == entrance_2) and direction == correct_heading + + +func get_tile_coords() -> Array[Vector2i]: + var result: Array[Vector2i] = [] + result.push_back(starting_coord) + result.push_back( + starting_coord + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + result.push_back( + starting_coord + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) * 2 + ) + result.push_back( + starting_coord + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) * 3 + ) + result.push_back( + ( + starting_coord + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + ) + result.push_back( + ( + starting_coord + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + ) + return result + + +func get_direction_queue(citizen: Citizen) -> Array[Board.Direction]: + var tile_offset := citizen.current_tile_coords - starting_coord + if tile_offset == Vector2i(1, -1): + return [ + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()), + Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()), + Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()) + ] + return [ + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + ] + + +func activate(citizen: Citizen) -> void: + var new_citizen: Citizen = CITIZEN_SCENE.instantiate() + citizen.call_deferred("add_sibling", new_citizen) + await new_citizen.ready + new_citizen.direction = citizen.direction + new_citizen.money = citizen.money + new_citizen.board = citizen.board + new_citizen.current_tile_coords = citizen.current_tile_coords + new_citizen.set_offset(Vector2(randf_range(-40, 40), randf_range(-40, 40))) + var tile_offset := citizen.current_tile_coords - starting_coord + if tile_offset == Vector2i(1, -1): + new_citizen.current_tile_coords = starting_coord + Vector2i(2, -1) + new_citizen.position = citizen.position + Vector2(110, 0) + elif tile_offset == Vector2i(2, -1): + new_citizen.current_tile_coords = starting_coord + Vector2i(1, -1) + new_citizen.position = citizen.position - Vector2(110, 0) + new_citizen.direction_queue = get_direction_queue(new_citizen) diff --git a/prefabs/tiles/buildings/hospital.gd.uid b/prefabs/tiles/buildings/hospital.gd.uid new file mode 100644 index 0000000..059602a --- /dev/null +++ b/prefabs/tiles/buildings/hospital.gd.uid @@ -0,0 +1 @@ +uid://covp0ql04uour diff --git a/prefabs/tiles/buildings/hospital.tscn b/prefabs/tiles/buildings/hospital.tscn new file mode 100644 index 0000000..bc59c93 --- /dev/null +++ b/prefabs/tiles/buildings/hospital.tscn @@ -0,0 +1,203 @@ +[gd_scene format=3 uid="uid://bytldu3y1jak3"] + +[ext_resource type="Script" uid="uid://covp0ql04uour" path="res://prefabs/tiles/buildings/hospital.gd" id="1_sjpox"] +[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="2_kp5oa"] + +[sub_resource type="LabelSettings" id="LabelSettings_vwg8v"] +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_vwg8v"] +size = Vector2(110, 110) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wwwaf"] +atlas = ExtResource("2_kp5oa") +region = Rect2(16, 16, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fupku"] +atlas = ExtResource("2_kp5oa") +region = Rect2(0, 16, 16, 16) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_wwwaf"] +size = Vector2(1, 1) + +[node name="Hospital" type="Node2D" unique_id=746270571] +process_mode = 3 +script = ExtResource("1_sjpox") + +[node name="ColorRect" type="ColorRect" parent="." unique_id=889061850] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -55.0 +offset_right = 55.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(0, 1, 1, 1) + +[node name="ColorRect2" type="ColorRect" parent="." unique_id=2077475895] +custom_minimum_size = Vector2(110, 110) +offset_left = 55.0 +offset_top = -165.0 +offset_right = 165.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(0, 1, 1, 1) + +[node name="ColorRect3" type="ColorRect" parent="." unique_id=1401405224] +custom_minimum_size = Vector2(110, 110) +offset_left = 55.0 +offset_top = -55.0 +offset_right = 165.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(0, 1, 1, 1) + +[node name="ColorRect4" type="ColorRect" parent="." unique_id=255418342] +custom_minimum_size = Vector2(110, 110) +offset_left = 275.0 +offset_top = -55.0 +offset_right = 385.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(0, 1, 1, 1) + +[node name="ColorRect5" type="ColorRect" parent="." unique_id=893169120] +custom_minimum_size = Vector2(110, 110) +offset_left = 165.0 +offset_top = -165.0 +offset_right = 275.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(0, 1, 1, 1) + +[node name="ColorRect6" type="ColorRect" parent="." unique_id=1179648552] +custom_minimum_size = Vector2(110, 110) +offset_left = 165.0 +offset_top = -55.0 +offset_right = 275.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(0, 1, 1, 1) + +[node name="Label" type="Label" parent="." unique_id=29286194] +custom_minimum_size = Vector2(110, 110) +offset_left = 55.0 +offset_top = -55.0 +offset_right = 275.0 +offset_bottom = 55.0 +text = "HOSPITAL" +label_settings = SubResource("LabelSettings_vwg8v") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="BuildingArea" type="Area2D" parent="." unique_id=333775731] +unique_name_in_owner = true +process_mode = 3 +position = Vector2(-55, -165) +collision_layer = 0 +collision_mask = 5 +monitoring = false + +[node name="CollisionShape2D" type="CollisionShape2D" parent="BuildingArea" unique_id=1122204523] +process_mode = 3 +position = Vector2(55, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="BuildingArea" unique_id=1773735924] +position = Vector2(165, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="BuildingArea" unique_id=1677987437] +position = Vector2(165, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="BuildingArea" unique_id=1638062176] +position = Vector2(275, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D6" type="CollisionShape2D" parent="BuildingArea" unique_id=522644288] +position = Vector2(385, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D5" type="CollisionShape2D" parent="BuildingArea" unique_id=183896438] +position = Vector2(275, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168] +texture_filter = 1 +position = Vector2(110, -190) +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=2057546542] +texture_filter = 1 +position = Vector2(220, -190) +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D3" type="Sprite2D" parent="." unique_id=1969702659] +texture_filter = 1 +position = Vector2(410, 0) +rotation = -1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Sprite2D4" type="Sprite2D" parent="." unique_id=843630150] +texture_filter = 1 +position = Vector2(-80, 0) +rotation = 1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Square" type="Area2D" parent="." unique_id=1309579334] +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square" unique_id=2040153103] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square2" type="Area2D" parent="." unique_id=2142538939] +position = Vector2(110, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square2" unique_id=2060476818] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square3" type="Area2D" parent="." unique_id=535904517] +position = Vector2(110, 0) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square3" unique_id=1107926939] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square4" type="Area2D" parent="." unique_id=289882156] +position = Vector2(220, 0) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square4" unique_id=1476676009] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square6" type="Area2D" parent="." unique_id=1663203880] +position = Vector2(330, 0) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square6" unique_id=797794700] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square5" type="Area2D" parent="." unique_id=927113755] +position = Vector2(220, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square5" unique_id=1982283119] +shape = SubResource("RectangleShape2D_wwwaf") + +[connection signal="area_entered" from="BuildingArea" to="." method="_on_building_area_entered"] diff --git a/prefabs/tiles/buildings/office.gd b/prefabs/tiles/buildings/office.gd index 79f1b1e..ffa663b 100644 --- a/prefabs/tiles/buildings/office.gd +++ b/prefabs/tiles/buildings/office.gd @@ -1,12 +1,45 @@ extends Building + func can_citizen_enter(coord: Vector2i, direction: Board.Direction) -> bool: - return coord == starting_coord + Vector2i.UP and direction == Board.Direction.DOWN + var coord_adjustment := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + var correct_heading := Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()) + return ( + coord == starting_coord + Board.get_direction_vector(coord_adjustment) + and direction == correct_heading + ) + func get_tile_coords() -> Array[Vector2i]: var result: Array[Vector2i] = [] result.push_back(starting_coord) - result.push_back(starting_coord + Vector2i.RIGHT) - result.push_back(starting_coord + Vector2i.RIGHT + Vector2i.RIGHT) - result.push_back(starting_coord + Vector2i.RIGHT + Vector2i.UP) + result.push_back( + starting_coord + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + result.push_back( + starting_coord + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) * 2 + ) + result.push_back( + ( + starting_coord + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + ) return result + + +func get_direction_queue(_citizen: Citizen) -> Array[Board.Direction]: + return [ + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()), + Board.get_next_direction(Board.Direction.UP, get_rotation_count()), + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()), + Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + ] + + +func activate(citizen: Citizen) -> void: + citizen.money += 1 * (citizen.get_status_count(Citizen.Status.CAFFEINATED) + 1) + citizen.remove_all_statuses(Citizen.Status.CAFFEINATED) + citizen.play_money_animation() diff --git a/prefabs/tiles/buildings/office.tscn b/prefabs/tiles/buildings/office.tscn index 74da430..65232e6 100644 --- a/prefabs/tiles/buildings/office.tscn +++ b/prefabs/tiles/buildings/office.tscn @@ -18,94 +18,129 @@ region = Rect2(16, 16, 16, 16) atlas = ExtResource("1_fupku") region = Rect2(0, 16, 16, 16) +[sub_resource type="RectangleShape2D" id="RectangleShape2D_wwwaf"] +size = Vector2(1, 1) + [node name="Office" type="Node2D" unique_id=746270571] process_mode = 3 script = ExtResource("1_wwwaf") [node name="ColorRect" type="ColorRect" parent="." unique_id=889061850] custom_minimum_size = Vector2(110, 110) -offset_top = 110.0 -offset_right = 110.0 -offset_bottom = 220.0 +offset_left = -55.0 +offset_top = -55.0 +offset_right = 55.0 +offset_bottom = 55.0 mouse_filter = 2 color = Color(0, 0, 1, 1) [node name="ColorRect2" type="ColorRect" parent="." unique_id=2077475895] custom_minimum_size = Vector2(110, 110) -offset_left = 110.0 -offset_right = 220.0 -offset_bottom = 110.0 +offset_left = 55.0 +offset_top = -165.0 +offset_right = 165.0 +offset_bottom = -55.0 mouse_filter = 2 color = Color(0, 0, 1, 1) [node name="ColorRect3" type="ColorRect" parent="." unique_id=1401405224] custom_minimum_size = Vector2(110, 110) -offset_left = 110.0 -offset_top = 110.0 -offset_right = 220.0 -offset_bottom = 220.0 +offset_left = 55.0 +offset_top = -55.0 +offset_right = 165.0 +offset_bottom = 55.0 mouse_filter = 2 color = Color(0, 0, 1, 1) [node name="ColorRect4" type="ColorRect" parent="." unique_id=255418342] custom_minimum_size = Vector2(110, 110) -offset_left = 220.0 -offset_top = 110.0 -offset_right = 330.0 -offset_bottom = 220.0 +offset_left = 165.0 +offset_top = -55.0 +offset_right = 275.0 +offset_bottom = 55.0 mouse_filter = 2 color = Color(0, 0, 1, 1) [node name="Label" type="Label" parent="." unique_id=29286194] custom_minimum_size = Vector2(110, 110) -offset_left = 110.0 -offset_top = 110.0 -offset_right = 220.0 -offset_bottom = 220.0 +offset_left = 55.0 +offset_top = -55.0 +offset_right = 165.0 +offset_bottom = 55.0 text = "OFFICE" label_settings = SubResource("LabelSettings_vwg8v") horizontal_alignment = 1 vertical_alignment = 1 -[node name="Building" type="Area2D" parent="." unique_id=333775731] +[node name="BuildingArea" type="Area2D" parent="." unique_id=333775731] +unique_name_in_owner = true process_mode = 3 +position = Vector2(-55, -165) collision_layer = 0 collision_mask = 5 +monitoring = false -[node name="CollisionShape2D" type="CollisionShape2D" parent="Building" unique_id=1122204523] +[node name="CollisionShape2D" type="CollisionShape2D" parent="BuildingArea" unique_id=1122204523] process_mode = 3 position = Vector2(55, 165) shape = SubResource("RectangleShape2D_vwg8v") -[node name="CollisionShape2D2" type="CollisionShape2D" parent="Building" unique_id=1773735924] +[node name="CollisionShape2D2" type="CollisionShape2D" parent="BuildingArea" unique_id=1773735924] position = Vector2(165, 165) shape = SubResource("RectangleShape2D_vwg8v") -[node name="CollisionShape2D4" type="CollisionShape2D" parent="Building" unique_id=1677987437] +[node name="CollisionShape2D4" type="CollisionShape2D" parent="BuildingArea" unique_id=1677987437] position = Vector2(165, 55) shape = SubResource("RectangleShape2D_vwg8v") -[node name="CollisionShape2D3" type="CollisionShape2D" parent="Building" unique_id=1638062176] +[node name="CollisionShape2D3" type="CollisionShape2D" parent="BuildingArea" unique_id=1638062176] position = Vector2(275, 165) shape = SubResource("RectangleShape2D_vwg8v") [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168] texture_filter = 1 -position = Vector2(55, 85) +position = Vector2(0, -80) scale = Vector2(2, 2) texture = SubResource("AtlasTexture_wwwaf") flip_v = true [node name="Sprite2D2" type="Sprite2D" parent="." unique_id=1969702659] texture_filter = 1 -position = Vector2(275, 85) -rotation = 3.1415927 +position = Vector2(220, -80) +rotation = -3.1415925 scale = Vector2(2, 2) texture = SubResource("AtlasTexture_fupku") flip_v = true -[node name="PlacementPoint" type="Marker2D" parent="." unique_id=367205150] -unique_name_in_owner = true -position = Vector2(55, 165) +[node name="Square" type="Area2D" parent="." unique_id=1309579334] +collision_layer = 4 +collision_mask = 0 -[connection signal="area_entered" from="Building" to="." method="_on_building_area_entered"] +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square" unique_id=2040153103] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square2" type="Area2D" parent="." unique_id=2142538939] +position = Vector2(110, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square2" unique_id=2060476818] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square3" type="Area2D" parent="." unique_id=535904517] +position = Vector2(110, 0) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square3" unique_id=1107926939] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square4" type="Area2D" parent="." unique_id=289882156] +position = Vector2(220, 0) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square4" unique_id=1476676009] +shape = SubResource("RectangleShape2D_wwwaf") + +[connection signal="area_entered" from="BuildingArea" to="." method="_on_building_area_entered"] diff --git a/prefabs/tiles/buildings/shop.gd b/prefabs/tiles/buildings/shop.gd new file mode 100644 index 0000000..0a8a892 --- /dev/null +++ b/prefabs/tiles/buildings/shop.gd @@ -0,0 +1,78 @@ +extends Building + +var money: int = 0: + set(value): + money = value + _set_money_label() + +@onready var money_label: Label = %MoneyLabel + + +func can_citizen_enter(coord: Vector2i, direction: Board.Direction) -> bool: + var up_adjustment := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + var right_adjustment := Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + var correct_heading_1 := Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()) + var correct_heading_2 := Board.get_next_direction(Board.Direction.UP, get_rotation_count()) + + var entrance_1 := ( + starting_coord + + Board.get_direction_vector(up_adjustment) + + Board.get_direction_vector(right_adjustment) + + Board.get_direction_vector(right_adjustment) + ) + var entrance_2 := starting_coord - Board.get_direction_vector(up_adjustment) + return ( + (coord == entrance_1 and direction == correct_heading_1) + or (coord == entrance_2 and direction == correct_heading_2) + ) + + +func get_tile_coords() -> Array[Vector2i]: + var result: Array[Vector2i] = [] + result.push_back(starting_coord) + result.push_back( + starting_coord + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + result.push_back( + ( + starting_coord + + Vector2i(Vector2.UP.rotated(deg_to_rad(90 * get_rotation_count()))) + + Vector2i(Vector2.RIGHT.rotated(deg_to_rad(90 * get_rotation_count()))) + ) + ) + return result + + +func get_direction_queue(citizen: Citizen) -> Array[Board.Direction]: + if (citizen.current_tile_coords - starting_coord) == Vector2i.ZERO: + return [ + Board.get_next_direction(Board.Direction.UP, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()), + Board.get_next_direction(Board.Direction.RIGHT, get_rotation_count()) + ] + return [ + Board.get_next_direction(Board.Direction.LEFT, get_rotation_count()), + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()), + Board.get_next_direction(Board.Direction.DOWN, get_rotation_count()) + ] + + +func activate(citizen: Citizen) -> void: + if citizen.get_status_count(Citizen.Status.ARMED) > 0: + citizen.money += money + citizen.play_money_animation() + citizen.remove_status(Citizen.Status.ARMED) + money = 0 + elif citizen.money > 0: + money += citizen.money + citizen.money = 0 + #citizen.play_money_animation() + + +func handle_post_turn_actions() -> void: + Globals.game.queue_spawn_placement(floori(money / 15.0)) + money = money % 15 + + +func _set_money_label() -> void: + money_label.text = "$%d / $15" % money diff --git a/prefabs/tiles/buildings/shop.gd.uid b/prefabs/tiles/buildings/shop.gd.uid new file mode 100644 index 0000000..9066758 --- /dev/null +++ b/prefabs/tiles/buildings/shop.gd.uid @@ -0,0 +1 @@ +uid://jp4x1q01no6l diff --git a/prefabs/tiles/buildings/shop.tscn b/prefabs/tiles/buildings/shop.tscn new file mode 100644 index 0000000..a6f3179 --- /dev/null +++ b/prefabs/tiles/buildings/shop.tscn @@ -0,0 +1,153 @@ +[gd_scene format=3 uid="uid://dbn63mv0peqf"] + +[ext_resource type="Script" uid="uid://jp4x1q01no6l" path="res://prefabs/tiles/buildings/shop.gd" id="1_cugdd"] +[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="2_6buuw"] + +[sub_resource type="LabelSettings" id="LabelSettings_vwg8v"] +outline_size = 4 +outline_color = Color(0, 0, 0, 1) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_vwg8v"] +size = Vector2(110, 110) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wwwaf"] +atlas = ExtResource("2_6buuw") +region = Rect2(16, 16, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fupku"] +atlas = ExtResource("2_6buuw") +region = Rect2(0, 16, 16, 16) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_wwwaf"] +size = Vector2(1, 1) + +[node name="Shop" type="Node2D" unique_id=746270571 groups=["PostTurnActions"]] +process_mode = 3 +script = ExtResource("1_cugdd") + +[node name="ColorRect" type="ColorRect" parent="." unique_id=889061850] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -55.0 +offset_right = 55.0 +offset_bottom = 55.0 +mouse_filter = 2 +color = Color(1, 1, 0, 1) + +[node name="ColorRect2" type="ColorRect" parent="." unique_id=255418342] +custom_minimum_size = Vector2(110, 110) +offset_left = -55.0 +offset_top = -165.0 +offset_right = 55.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(1, 1, 0, 1) + +[node name="ColorRect3" type="ColorRect" parent="." unique_id=1785049135] +custom_minimum_size = Vector2(220, 110) +offset_left = -55.0 +offset_top = -165.0 +offset_right = 55.0 +offset_bottom = -55.0 +mouse_filter = 2 +color = Color(1, 1, 0, 1) + +[node name="Label" type="Label" parent="." unique_id=29286194] +custom_minimum_size = Vector2(110, 55) +offset_left = -55.0 +offset_top = -165.0 +offset_right = 55.0 +offset_bottom = -110.0 +text = "SHOP" +label_settings = SubResource("LabelSettings_vwg8v") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="MoneyLabel" type="Label" parent="." unique_id=1053731643] +unique_name_in_owner = true +custom_minimum_size = Vector2(110, 55) +offset_left = -55.0 +offset_top = -110.0 +offset_right = 55.0 +offset_bottom = -55.0 +text = "$0 / $15" +label_settings = SubResource("LabelSettings_vwg8v") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="BuildingArea" type="Area2D" parent="." unique_id=333775731] +unique_name_in_owner = true +process_mode = 3 +position = Vector2(-55, -165) +collision_layer = 0 +collision_mask = 5 +monitoring = false + +[node name="CollisionShape2D" type="CollisionShape2D" parent="BuildingArea" unique_id=1122204523] +process_mode = 3 +position = Vector2(55, 165) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="BuildingArea" unique_id=1638062176] +position = Vector2(55, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="BuildingArea" unique_id=1549040997] +position = Vector2(165, 55) +shape = SubResource("RectangleShape2D_vwg8v") + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168] +texture_filter = 1 +position = Vector2(190, -120) +rotation = 1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=1969702659] +texture_filter = 1 +position = Vector2(190, -100) +rotation = -1.5707964 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Sprite2D3" type="Sprite2D" parent="." unique_id=1370361419] +texture_filter = 1 +position = Vector2(-10, 80) +rotation = 3.1415927 +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_wwwaf") +flip_v = true + +[node name="Sprite2D4" type="Sprite2D" parent="." unique_id=1801878139] +texture_filter = 1 +position = Vector2(10, 80) +scale = Vector2(2, 2) +texture = SubResource("AtlasTexture_fupku") +flip_v = true + +[node name="Square" type="Area2D" parent="." unique_id=1309579334] +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square" unique_id=2040153103] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square2" type="Area2D" parent="." unique_id=289882156] +position = Vector2(0, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square2" unique_id=1476676009] +shape = SubResource("RectangleShape2D_wwwaf") + +[node name="Square3" type="Area2D" parent="." unique_id=520831463] +position = Vector2(110, -110) +collision_layer = 4 +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Square3" unique_id=309772651] +shape = SubResource("RectangleShape2D_wwwaf") + +[connection signal="area_entered" from="BuildingArea" to="." method="_on_building_area_entered"] diff --git a/prefabs/tiles/ground.gd b/prefabs/tiles/ground.gd index 06c012f..bec43ca 100644 --- a/prefabs/tiles/ground.gd +++ b/prefabs/tiles/ground.gd @@ -3,15 +3,17 @@ class_name Ground extends Tile @onready var highlight: TextureRect = %Highlight #func _ready() -> void: - #if Engine.is_editor_hint(): - #mouse_entered.connect(handle_ground_mouse_entered) - #mouse_exited.connect(handle_ground_mouse_exited) +#if Engine.is_editor_hint(): +#mouse_entered.connect(handle_ground_mouse_entered) +#mouse_exited.connect(handle_ground_mouse_exited) + func handle_ground_mouse_entered() -> void: super.handle_mouse_entered() self_modulate = Color(1, 1, 1, 0) highlight.show() + func handle_ground_mouse_exited() -> void: super.handle_mouse_exited() self_modulate = Color(1, 1, 1, 1) diff --git a/prefabs/tiles/ground.tscn b/prefabs/tiles/ground.tscn index baece9e..1ae34a8 100644 --- a/prefabs/tiles/ground.tscn +++ b/prefabs/tiles/ground.tscn @@ -17,7 +17,7 @@ atlas = SubResource("CompressedTexture2D_fd67e") region = Rect2(50, 160, 10, 10) [sub_resource type="RectangleShape2D" id="RectangleShape2D_yeyfm"] -size = Vector2(1, 1) +size = Vector2(2, 2) [sub_resource type="RectangleShape2D" id="RectangleShape2D_kmcv5"] size = Vector2(100, 100) diff --git a/prefabs/tiles/home.gd b/prefabs/tiles/home.gd deleted file mode 100644 index 84ed91f..0000000 --- a/prefabs/tiles/home.gd +++ /dev/null @@ -1,15 +0,0 @@ -extends Tile - -var citizens_left_to_stop: Array[Citizen] = [] - -@onready var area_2d: Area2D = %Area2D - -func _process(_delta: float) -> void: - for citizen in citizens_left_to_stop: - if area_2d.to_local(citizen.global_position).distance_to(citizen.offset) < 0.2: - citizen.direction = Board.Direction.NONE - citizens_left_to_stop.erase(citizen) - -func handle_body_entered(body): - if body is Citizen: - citizens_left_to_stop.push_back(body) diff --git a/prefabs/tiles/home.tscn b/prefabs/tiles/home.tscn deleted file mode 100644 index 1377ab1..0000000 --- a/prefabs/tiles/home.tscn +++ /dev/null @@ -1,74 +0,0 @@ -[gd_scene format=3 uid="uid://bto4vblqk2inb"] - -[ext_resource type="Texture2D" uid="uid://i2lfgel7lsqe" path="res://assets/Pattern-Panic-10x10/no-background/Circles.png" id="1_i0ot4"] -[ext_resource type="Script" uid="uid://ch1qywbfphfqy" path="res://prefabs/tiles/home.gd" id="2_g5sxs"] - -[sub_resource type="AtlasTexture" id="AtlasTexture_2y6xd"] -atlas = ExtResource("1_i0ot4") -region = Rect2(30, 110, 10, 10) - -[sub_resource type="LabelSettings" id="LabelSettings_26feb"] -font_size = 24 -outline_size = 4 -outline_color = Color(0, 0, 0, 1) - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_i0ot4"] -size = Vector2(100, 100) - -[node name="Home" type="TextureRect" unique_id=1316631070] -texture_filter = 1 -custom_minimum_size = Vector2(100, 100) -offset_left = -50.0 -offset_top = -50.0 -offset_right = 50.0 -offset_bottom = 50.0 -texture = SubResource("AtlasTexture_2y6xd") -script = ExtResource("2_g5sxs") - -[node name="Label" type="Label" parent="." unique_id=134308374] -layout_mode = 1 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -42.5 -offset_top = -17.0 -offset_right = 42.5 -offset_bottom = 17.0 -grow_horizontal = 2 -grow_vertical = 2 -size_flags_horizontal = 4 -text = "HOME" -label_settings = SubResource("LabelSettings_26feb") -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="Amount" type="Label" parent="." unique_id=1728513182] -visible = false -layout_mode = 1 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -42.5 -offset_top = -17.0 -offset_right = 42.5 -offset_bottom = 17.0 -grow_horizontal = 2 -grow_vertical = 2 -size_flags_horizontal = 4 -text = "SPAWN" -label_settings = SubResource("LabelSettings_26feb") -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="Area2D" type="Area2D" parent="." unique_id=2110660720] -unique_name_in_owner = true -position = Vector2(50, 50) - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=2100290177] -shape = SubResource("RectangleShape2D_i0ot4") - -[connection signal="body_entered" from="Area2D" to="." method="handle_body_entered"] diff --git a/prefabs/tiles/scene_tile_set.gd b/prefabs/tiles/scene_tile_set.gd index 427a036..7e2f497 100644 --- a/prefabs/tiles/scene_tile_set.gd +++ b/prefabs/tiles/scene_tile_set.gd @@ -1,5 +1,6 @@ class_name SceneTileSet extends TileSet + func get_tile_id(tile: Tile) -> int: var scene_source: TileSetScenesCollectionSource = get_source(0) for idx in range(scene_source.get_scene_tiles_count()): diff --git a/prefabs/tiles/spawns/spawn.gd b/prefabs/tiles/spawns/spawn.gd index ce2755e..536900a 100644 --- a/prefabs/tiles/spawns/spawn.gd +++ b/prefabs/tiles/spawns/spawn.gd @@ -2,7 +2,7 @@ class_name Spawn extends Tile enum Size { SMALL, MEDIUM, LARGE } -const citizen_scene = preload("uid://bwx0lqtkd2jd7") +const CITIZEN_SCENE = preload("uid://bwx0lqtkd2jd7") @export var spawn_size: Size = Size.SMALL @export var direction: Board.Direction = Board.Direction.UP @@ -11,6 +11,8 @@ var spawn_time: float = 0.5 var spawn_left: int var current_time: float = 0 var board: Board +var paused: bool = true + func _ready() -> void: board = get_parent().get_parent() @@ -18,14 +20,33 @@ func _ready() -> void: Size.SMALL: spawn_left = 10 -func _process(delta: float) -> void: + +func pause() -> void: + paused = true + + +func unpause() -> void: + paused = false + + +func handle_post_turn_actions() -> void: + match spawn_size: + Size.SMALL: + spawn_left = 10 + + +func _physics_process(delta: float) -> void: + #print(paused) + if paused: + return current_time += delta if current_time >= spawn_time and spawn_left > 0: spawn_left -= 1 current_time = 0 - var citizen: Citizen = citizen_scene.instantiate() + var citizen: Citizen = CITIZEN_SCENE.instantiate() add_sibling(citizen) + citizen.add_to_group("Pausable") citizen.board = board - citizen.position = position + (size/2) + citizen.position = position + (size / 2) citizen.set_offset(Vector2(randf_range(-40, 40), randf_range(-40, 40))) citizen.direction = direction diff --git a/prefabs/tiles/spawns/spawn.tscn b/prefabs/tiles/spawns/spawn.tscn index b0912fa..b0e2f76 100644 --- a/prefabs/tiles/spawns/spawn.tscn +++ b/prefabs/tiles/spawns/spawn.tscn @@ -12,7 +12,10 @@ outline_color = Color(0, 0, 0, 1) atlas = ExtResource("2_26feb") region = Rect2(20, 66, 7, 11) -[node name="Spawn" type="ColorRect" unique_id=189795230] +[sub_resource type="RectangleShape2D" id="RectangleShape2D_bs4fa"] +size = Vector2(1, 1) + +[node name="Spawn" type="ColorRect" unique_id=189795230 groups=["Pausable", "PostTurnActions"]] process_mode = 1 texture_filter = 1 custom_minimum_size = Vector2(100, 100) @@ -70,3 +73,11 @@ offset_bottom = 40.0 texture = SubResource("AtlasTexture_bs4fa") expand_mode = 5 stretch_mode = 4 + +[node name="Area2D" type="Area2D" parent="." unique_id=1478096785] +position = Vector2(50, 50) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=2097036302] +shape = SubResource("RectangleShape2D_bs4fa") diff --git a/prefabs/tiles/tile.gd b/prefabs/tiles/tile.gd index 66b4c97..ef82fb0 100644 --- a/prefabs/tiles/tile.gd +++ b/prefabs/tiles/tile.gd @@ -1,11 +1,14 @@ class_name Tile extends Control +@warning_ignore("unused_signal") signal tile_selected(tile: Tile) var highlighted: bool = false + func handle_mouse_entered() -> void: highlighted = true + func handle_mouse_exited() -> void: highlighted = false diff --git a/prefabs/tiles/turns/down_turn.tscn b/prefabs/tiles/turns/down_turn.tscn index c89e50a..fc515da 100644 --- a/prefabs/tiles/turns/down_turn.tscn +++ b/prefabs/tiles/turns/down_turn.tscn @@ -7,6 +7,22 @@ atlas = ExtResource("1_s65nw") region = Rect2(0, 11, 9, 9) +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s65nw"] +resource_local_to_scene = true +bg_color = Color(1, 1, 1, 0) +border_width_left = 5 +border_width_top = 5 +border_width_right = 5 +border_width_bottom = 5 +border_color = Color(1, 1, 1, 1) +expand_margin_left = 8.0 +expand_margin_top = 8.0 +expand_margin_right = 8.0 +expand_margin_bottom = 8.0 + [node name="DownTurn" unique_id=1363157270 instance=ExtResource("1_xxpct")] texture = SubResource("AtlasTexture_dxc6q") direction = 2 + +[node name="Highlight" parent="." index="0" unique_id=715172504] +theme_override_styles/panel = SubResource("StyleBoxFlat_s65nw") diff --git a/prefabs/tiles/turns/turn.gd b/prefabs/tiles/turns/turn.gd index 0c6f6b5..a464ec9 100644 --- a/prefabs/tiles/turns/turn.gd +++ b/prefabs/tiles/turns/turn.gd @@ -4,6 +4,7 @@ class_name Turn extends Tile @onready var highlight: Panel = %Highlight + func handle_mouse_entered() -> void: highlight.show() diff --git a/prefabs/tiles/turns/turn.tscn b/prefabs/tiles/turns/turn.tscn index b6d2a33..7f05828 100644 --- a/prefabs/tiles/turns/turn.tscn +++ b/prefabs/tiles/turns/turn.tscn @@ -21,7 +21,7 @@ expand_margin_right = 8.0 expand_margin_bottom = 8.0 [sub_resource type="RectangleShape2D" id="RectangleShape2D_qqie6"] -size = Vector2(1, 1) +size = Vector2(2, 2) [node name="Turn" type="TextureRect" unique_id=1363157270] texture_filter = 1 diff --git a/prefabs/tiles/walls.gd b/prefabs/tiles/walls.gd index d58359c..13aafc7 100644 --- a/prefabs/tiles/walls.gd +++ b/prefabs/tiles/walls.gd @@ -3,9 +3,11 @@ extends Tile var style_box: StyleBoxFlat var walls: Array[Board.Direction] = [] + func _ready() -> void: style_box = get_theme_stylebox("panel") + func set_wall(direction: Board.Direction) -> void: walls = [direction] match direction: @@ -36,6 +38,7 @@ func set_wall(direction: Board.Direction) -> void: style_box.border_width_right = 0 style_box.border_width_left = 10 + func add_wall(direction: Board.Direction) -> void: if !walls.has(direction): walls.push_back(direction) diff --git a/prefabs/ui/armed_icon.tscn b/prefabs/ui/armed_icon.tscn new file mode 100644 index 0000000..29e34ef --- /dev/null +++ b/prefabs/ui/armed_icon.tscn @@ -0,0 +1,15 @@ +[gd_scene format=3 uid="uid://cn8biugbtcns5"] + +[ext_resource type="Texture2D" uid="uid://cfo7jpjxnw5m8" path="res://assets/shotgun/shotgun_1.png" id="1_2kv2h"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_af8ve"] +atlas = ExtResource("1_2kv2h") +region = Rect2(1, 12, 28, 9) + +[node name="ArmedIcon" type="TextureRect" unique_id=585475146] +texture_filter = 1 +custom_minimum_size = Vector2(10, 10) +texture = SubResource("AtlasTexture_af8ve") +expand_mode = 5 +stretch_mode = 5 +flip_h = true diff --git a/prefabs/tiles/buildings/building_selector.gd b/prefabs/ui/building_selector.gd similarity index 90% rename from prefabs/tiles/buildings/building_selector.gd rename to prefabs/ui/building_selector.gd index 2b6eacd..515869d 100644 --- a/prefabs/tiles/buildings/building_selector.gd +++ b/prefabs/ui/building_selector.gd @@ -2,25 +2,27 @@ extends PanelContainer signal select_building(building: Building) -@export var building: Building - var style_box: StyleBoxFlat + func _ready() -> void: style_box = get_theme_stylebox("panel") + func _on_mouse_entered() -> void: style_box.border_width_bottom = 5 style_box.border_width_top = 5 style_box.border_width_left = 5 style_box.border_width_right = 5 + func _on_mouse_exited() -> void: style_box.border_width_bottom = 0 style_box.border_width_top = 0 style_box.border_width_left = 0 style_box.border_width_right = 0 + func _on_gui_input(event: InputEvent) -> void: if event.is_action_pressed("select"): - select_building.emit(building) + select_building.emit(get_child(0)) diff --git a/prefabs/tiles/buildings/building_selector.gd.uid b/prefabs/ui/building_selector.gd.uid similarity index 100% rename from prefabs/tiles/buildings/building_selector.gd.uid rename to prefabs/ui/building_selector.gd.uid diff --git a/prefabs/tiles/buildings/building_selector.tscn b/prefabs/ui/building_selector.tscn similarity index 61% rename from prefabs/tiles/buildings/building_selector.tscn rename to prefabs/ui/building_selector.tscn index f2dca45..91c194c 100644 --- a/prefabs/tiles/buildings/building_selector.tscn +++ b/prefabs/ui/building_selector.tscn @@ -1,22 +1,17 @@ [gd_scene format=3 uid="uid://cpmlj6muvdwix"] -[ext_resource type="PackedScene" uid="uid://mixrqf035krk" path="res://prefabs/tiles/buildings/office.tscn" id="1_vijjx"] -[ext_resource type="Script" uid="uid://bxeithajd5q5x" path="res://prefabs/tiles/buildings/building_selector.gd" id="1_xurng"] +[ext_resource type="Script" uid="uid://bxeithajd5q5x" path="res://prefabs/ui/building_selector.gd" id="1_xurng"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xurng"] +resource_local_to_scene = true bg_color = Color(0, 0, 0, 0) border_color = Color(1, 1, 1, 1) -[node name="BuildingSelector" type="PanelContainer" unique_id=133308872 node_paths=PackedStringArray("building")] -custom_minimum_size = Vector2(340, 230) +[node name="BuildingSelector" type="PanelContainer" unique_id=133308872] offset_right = 310.0 offset_bottom = 210.0 theme_override_styles/panel = SubResource("StyleBoxFlat_xurng") script = ExtResource("1_xurng") -building = NodePath("Office") - -[node name="Office" parent="." unique_id=746270571 instance=ExtResource("1_vijjx")] -position = Vector2(5, 5) [connection signal="gui_input" from="." to="." method="_on_gui_input"] [connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"] diff --git a/prefabs/ui/coffee_icon.tscn b/prefabs/ui/coffee_icon.tscn new file mode 100644 index 0000000..d6ae21f --- /dev/null +++ b/prefabs/ui/coffee_icon.tscn @@ -0,0 +1,13 @@ +[gd_scene format=3 uid="uid://0644a3psplk8"] + +[ext_resource type="Texture2D" uid="uid://nne5hv8t0sks" path="res://assets/coffee/AssetPack_V01_FREE.png" id="1_ikgws"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_af8ve"] +atlas = ExtResource("1_ikgws") +region = Rect2(32, 16, 16, 16) + +[node name="CoffeeIcon" type="TextureRect" unique_id=585475146] +texture_filter = 1 +custom_minimum_size = Vector2(10, 10) +texture = SubResource("AtlasTexture_af8ve") +expand_mode = 3 diff --git a/prefabs/ui/controls.gd b/prefabs/ui/controls.gd index d2357b6..2a7d8da 100644 --- a/prefabs/ui/controls.gd +++ b/prefabs/ui/controls.gd @@ -1,44 +1,80 @@ -extends Control - -signal select_tile(tile: Tile) -signal select_building(building: Building) - -@export var game: Game +class_name Controls extends Control var rem_tween: Tween +var es_tween: Tween -@onready var play_button: Button = %Play +@onready var player_1_label: Label = %Player1Label +@onready var player_1_money: Label = %Player1Money +@onready var turn_label: Label = %TurnLabel + +@onready var submit_button: Button = %Submit @onready var pause_button: Button = %Pause +@onready var play_button: Button = %Play @onready var blueprints_container: Container = %BlueprintsContainer @onready var start_walls: Button = %StartWalls @onready var stop_walls: Button = %StopWalls -func _on_play_pressed(): - get_tree().paused = false +@onready var fast_1: Button = %FastForward1 +@onready var fast_2: Button = %FastForward2 +@onready var fast_4: Button = %FastForward4 +@onready var fast_10: Button = %FastForward10 + + +func reset_turn() -> void: + get_tree().call_group("Pausable", "pause") + submit_button.show() + pause_button.hide() play_button.hide() + + +func set_turn(turn: int) -> void: + turn_label.text = str(turn) + + +func set_players(players: Array[Player]) -> void: + _update_player_info(players[0]) + players[0].changed.connect(_update_player_info) + + +func _update_player_info(player: Player) -> void: + player_1_label.text = "%s:" % player.name + player_1_money.text = "$%d" % player.money + + +func _on_submit_pressed(): + get_tree().call_group("Pausable", "unpause") + submit_button.hide() pause_button.show() func _on_pause_pressed(): - get_tree().paused = true + get_tree().call_group("Pausable", "pause") play_button.show() pause_button.hide() +func _on_play_pressed(): + get_tree().call_group("Pausable", "unpause") + play_button.hide() + pause_button.show() + + func _on_blueprints_pressed(): _show_real_estate_market() func handle_tile_selected(tile: Tile): _hide_real_estate_market() - select_tile.emit(tile) + Globals.game.select_tile(tile) + func handle_building_selected(building: Building) -> void: _hide_real_estate_market() - select_building.emit(building) + Globals.game.select_building(building) + func _on_walls_pressed(): - game.place_walls() + Globals.game.place_walls() if start_walls.visible: start_walls.hide() stop_walls.show() @@ -47,16 +83,60 @@ func _on_walls_pressed(): stop_walls.hide() _hide_real_estate_market() + func _hide_real_estate_market() -> void: if is_instance_valid(rem_tween): rem_tween.kill() rem_tween = create_tween() + rem_tween.set_ignore_time_scale(true) rem_tween.set_trans(Tween.TRANS_BACK) - rem_tween.tween_property(blueprints_container, "position:y", -300, 0.5) + rem_tween.tween_property(blueprints_container, "position:y", -450, 0.5) + func _show_real_estate_market() -> void: if is_instance_valid(rem_tween): rem_tween.kill() rem_tween = create_tween() + rem_tween.set_ignore_time_scale(true) rem_tween.set_trans(Tween.TRANS_BACK) rem_tween.tween_property(blueprints_container, "position:y", 0, 0.5) + + +func _speed_up_engine(speed: float) -> void: + if is_instance_valid(es_tween): + es_tween.kill() + es_tween = create_tween() + es_tween.set_ignore_time_scale(true) + es_tween.tween_property(Engine, "time_scale", speed, 0.5) + + +func _on_fast_forward_1_pressed(): + _speed_up_engine(2) + fast_1.hide() + fast_2.show() + fast_4.hide() + fast_10.hide() + + +func _on_fast_forward_2_pressed(): + _speed_up_engine(4) + fast_1.hide() + fast_2.hide() + fast_4.show() + fast_10.hide() + + +func _on_fast_forward_4_pressed(): + _speed_up_engine(10) + fast_1.hide() + fast_2.hide() + fast_4.hide() + fast_10.show() + + +func _on_fast_forward_10_pressed(): + _speed_up_engine(1) + fast_1.show() + fast_2.hide() + fast_4.hide() + fast_10.hide() diff --git a/prefabs/ui/controls.tscn b/prefabs/ui/controls.tscn index f8ca5f1..d557132 100644 --- a/prefabs/ui/controls.tscn +++ b/prefabs/ui/controls.tscn @@ -5,7 +5,16 @@ [ext_resource type="PackedScene" uid="uid://ce25rk1nl0pqn" path="res://prefabs/tiles/turns/right_turn.tscn" id="3_7r4kk"] [ext_resource type="PackedScene" uid="uid://2qudi2d82y73" path="res://prefabs/tiles/turns/down_turn.tscn" id="4_c56vf"] [ext_resource type="PackedScene" uid="uid://7jht5hlggey1" path="res://prefabs/tiles/turns/left_turn.tscn" id="5_dxd6m"] -[ext_resource type="PackedScene" uid="uid://cpmlj6muvdwix" path="res://prefabs/tiles/buildings/building_selector.tscn" id="6_7r4kk"] +[ext_resource type="PackedScene" uid="uid://cpmlj6muvdwix" path="res://prefabs/ui/building_selector.tscn" id="6_7r4kk"] +[ext_resource type="PackedScene" uid="uid://mixrqf035krk" path="res://prefabs/tiles/buildings/office.tscn" id="7_c56vf"] +[ext_resource type="PackedScene" uid="uid://bto4vblqk2inb" path="res://prefabs/tiles/buildings/home.tscn" id="7_dxd6m"] +[ext_resource type="PackedScene" uid="uid://bytldu3y1jak3" path="res://prefabs/tiles/buildings/hospital.tscn" id="9_j4kb6"] +[ext_resource type="PackedScene" uid="uid://c06fsqdixer1c" path="res://prefabs/tiles/buildings/bank.tscn" id="10_wxj2g"] +[ext_resource type="PackedScene" uid="uid://cfk268flnsbhb" path="res://prefabs/tiles/buildings/bar.tscn" id="11_sttyi"] +[ext_resource type="PackedScene" uid="uid://dbn63mv0peqf" path="res://prefabs/tiles/buildings/shop.tscn" id="12_w3n6g"] +[ext_resource type="PackedScene" uid="uid://bgtw051fiveeo" path="res://prefabs/tiles/buildings/cafe.tscn" id="13_di23u"] +[ext_resource type="PackedScene" uid="uid://c1kyedmrep0tu" path="res://prefabs/tiles/buildings/gun_shop.tscn" id="14_hlhh6"] +[ext_resource type="PackedScene" uid="uid://cphy0vtj14ob0" path="res://prefabs/tiles/buildings/fork.tscn" id="15_j8v8t"] [sub_resource type="LabelSettings" id="LabelSettings_qhv1l"] font_size = 24 @@ -27,9 +36,57 @@ font_size = 24 [sub_resource type="LabelSettings" id="LabelSettings_j4kb6"] font_size = 24 +[sub_resource type="LabelSettings" id="LabelSettings_7r4kk"] +font_size = 32 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_j8v8t"] +resource_local_to_scene = true +bg_color = Color(0, 0, 0, 0) +border_color = Color(1, 1, 1, 1) + [sub_resource type="LabelSettings" id="LabelSettings_c56vf"] font_size = 32 +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_x41uu"] +resource_local_to_scene = true +bg_color = Color(0, 0, 0, 0) +border_color = Color(1, 1, 1, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r0188"] +resource_local_to_scene = true +bg_color = Color(0, 0, 0, 0) +border_color = Color(1, 1, 1, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5qo6s"] +resource_local_to_scene = true +bg_color = Color(0, 0, 0, 0) +border_color = Color(1, 1, 1, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uprus"] +resource_local_to_scene = true +bg_color = Color(0, 0, 0, 0) +border_color = Color(1, 1, 1, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uqvfp"] +resource_local_to_scene = true +bg_color = Color(0, 0, 0, 0) +border_color = Color(1, 1, 1, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dp4q7"] +resource_local_to_scene = true +bg_color = Color(0, 0, 0, 0) +border_color = Color(1, 1, 1, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qqsac"] +resource_local_to_scene = true +bg_color = Color(0, 0, 0, 0) +border_color = Color(1, 1, 1, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pc2vv"] +resource_local_to_scene = true +bg_color = Color(0, 0, 0, 0) +border_color = Color(1, 1, 1, 1) + [node name="Info" type="Control" unique_id=1719205711] process_mode = 3 layout_mode = 3 @@ -55,11 +112,11 @@ layout_mode = 2 size_flags_horizontal = 2 size_flags_vertical = 4 -[node name="Play" type="Button" parent="HBoxContainer/Controls" unique_id=1480835490] +[node name="Submit" type="Button" parent="HBoxContainer/Controls" unique_id=1480835490] unique_name_in_owner = true custom_minimum_size = Vector2(100, 0) layout_mode = 2 -text = "Play" +text = "End Turn" [node name="Pause" type="Button" parent="HBoxContainer/Controls" unique_id=262580515] unique_name_in_owner = true @@ -68,11 +125,40 @@ custom_minimum_size = Vector2(100, 0) layout_mode = 2 text = "Pause" -[node name="FastForward" type="Button" parent="HBoxContainer/Controls" unique_id=2131459229] +[node name="Play" type="Button" parent="HBoxContainer/Controls" unique_id=302621990] +unique_name_in_owner = true +visible = false +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +text = "Play" + +[node name="FastForward1" type="Button" parent="HBoxContainer/Controls" unique_id=2131459229] +unique_name_in_owner = true custom_minimum_size = Vector2(100, 0) layout_mode = 2 text = "FF (x1)" +[node name="FastForward2" type="Button" parent="HBoxContainer/Controls" unique_id=26553055] +unique_name_in_owner = true +visible = false +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +text = "FF (x2)" + +[node name="FastForward4" type="Button" parent="HBoxContainer/Controls" unique_id=803946563] +unique_name_in_owner = true +visible = false +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +text = "FF (x4)" + +[node name="FastForward10" type="Button" parent="HBoxContainer/Controls" unique_id=304482739] +unique_name_in_owner = true +visible = false +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +text = "FF (x10)" + [node name="Info" type="HBoxContainer" parent="HBoxContainer" unique_id=360698054] layout_mode = 2 size_flags_horizontal = 6 @@ -86,26 +172,35 @@ theme_override_constants/separation = 10 [node name="Label" type="Label" parent="HBoxContainer/Info/TurnContainer" unique_id=338068267] layout_mode = 2 -text = "Turn:" +text = "Day:" label_settings = SubResource("LabelSettings_qhv1l") -[node name="Turn" type="Label" parent="HBoxContainer/Info/TurnContainer" unique_id=382814338] +[node name="TurnLabel" type="Label" parent="HBoxContainer/Info/TurnContainer" unique_id=382814338] +unique_name_in_owner = true layout_mode = 2 text = "0" label_settings = SubResource("LabelSettings_qhv1l") -[node name="MoneyContainer" type="HBoxContainer" parent="HBoxContainer/Info" unique_id=1863734551] +[node name="PlayersContainer" type="HBoxContainer" parent="HBoxContainer/Info" unique_id=1863734551] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 theme_override_constants/separation = 10 -[node name="Label" type="Label" parent="HBoxContainer/Info/MoneyContainer" unique_id=1382535313] +[node name="Player1" type="HBoxContainer" parent="HBoxContainer/Info/PlayersContainer" unique_id=810506541] layout_mode = 2 -text = "Money:" +size_flags_horizontal = 4 +size_flags_vertical = 4 +theme_override_constants/separation = 10 + +[node name="Player1Label" type="Label" parent="HBoxContainer/Info/PlayersContainer/Player1" unique_id=227651304] +unique_name_in_owner = true +layout_mode = 2 +text = "Player:" label_settings = SubResource("LabelSettings_qhv1l") -[node name="Money" type="Label" parent="HBoxContainer/Info/MoneyContainer" unique_id=390003475] +[node name="Player1Money" type="Label" parent="HBoxContainer/Info/PlayersContainer/Player1" unique_id=1445460948] +unique_name_in_owner = true layout_mode = 2 text = "$0" label_settings = SubResource("LabelSettings_qhv1l") @@ -126,7 +221,8 @@ top_level = true layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 -offset_top = -300.0 +offset_top = -450.0 +offset_bottom = -3.0 grow_horizontal = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_qhv1l") @@ -134,7 +230,13 @@ theme_override_styles/panel = SubResource("StyleBoxFlat_qhv1l") layout_mode = 2 theme_override_constants/separation = 40 +[node name="Button" type="Button" parent="BlueprintsContainer/HBoxContainer" unique_id=1945532062] +layout_mode = 2 +size_flags_vertical = 4 +text = "Cancel Placement" + [node name="Walls" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer" unique_id=412374904] +visible = false layout_mode = 2 alignment = 1 @@ -169,7 +271,7 @@ alignment = 1 [node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/BasicTiles" unique_id=1978827830] layout_mode = 2 -text = "Basic Tiles - $2" +text = "Basic Tiles - $1" label_settings = SubResource("LabelSettings_j4kb6") horizontal_alignment = 1 @@ -192,25 +294,186 @@ layout_mode = 2 [node name="LeftTurn" parent="BlueprintsContainer/HBoxContainer/BasicTiles/GridContainer" unique_id=1788133401 instance=ExtResource("5_dxd6m")] layout_mode = 2 -[node name="Buildings" type="HBoxContainer" parent="BlueprintsContainer/HBoxContainer" unique_id=86083788] +[node name="Home" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer" unique_id=85382159] +layout_mode = 2 + +[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/Home" unique_id=70473481] +layout_mode = 2 +text = "Home - $2" +label_settings = SubResource("LabelSettings_7r4kk") + +[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/Home" unique_id=133308872 instance=ExtResource("6_7r4kk")] +custom_minimum_size = Vector2(110, 110) +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 6 +theme_override_styles/panel = SubResource("StyleBoxFlat_j8v8t") + +[node name="Home" parent="BlueprintsContainer/HBoxContainer/Home/BuildingSelector" unique_id=1701297833 instance=ExtResource("7_dxd6m")] +position = Vector2(55, 55) + +[node name="ScrollContainer" type="ScrollContainer" parent="BlueprintsContainer/HBoxContainer" unique_id=2014532559] layout_mode = 2 size_flags_horizontal = 3 +vertical_scroll_mode = 0 -[node name="Building 1" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer/Buildings" unique_id=1903803082] +[node name="Buildings" type="HBoxContainer" parent="BlueprintsContainer/HBoxContainer/ScrollContainer" unique_id=86083788] +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_constants/separation = 40 + +[node name="Building 1" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings" unique_id=1903803082] layout_mode = 2 -[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/Buildings/Building 1" unique_id=1748038090] +[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 1" unique_id=1748038090] layout_mode = 2 -text = "$5" +text = "$4" label_settings = SubResource("LabelSettings_c56vf") horizontal_alignment = 1 -[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/Buildings/Building 1" unique_id=133308872 instance=ExtResource("6_7r4kk")] +[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 1" unique_id=360195179 instance=ExtResource("6_7r4kk")] +custom_minimum_size = Vector2(340, 230) layout_mode = 2 size_flags_vertical = 6 +theme_override_styles/panel = SubResource("StyleBoxFlat_x41uu") -[connection signal="pressed" from="HBoxContainer/Controls/Play" to="." method="_on_play_pressed"] +[node name="Office" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 1/BuildingSelector" unique_id=746270571 instance=ExtResource("7_c56vf")] +position = Vector2(60, 170) + +[node name="Building 2" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings" unique_id=627681188] +layout_mode = 2 + +[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 2" unique_id=1716667180] +layout_mode = 2 +text = "$6" +label_settings = SubResource("LabelSettings_c56vf") +horizontal_alignment = 1 + +[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 2" unique_id=307256822 instance=ExtResource("6_7r4kk")] +custom_minimum_size = Vector2(530, 265) +layout_mode = 2 +size_flags_vertical = 6 +theme_override_styles/panel = SubResource("StyleBoxFlat_r0188") + +[node name="Hospital" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 2/BuildingSelector" unique_id=1503172438 instance=ExtResource("9_j4kb6")] +position = Vector2(100, 205) + +[node name="Building 3" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings" unique_id=975407660] +layout_mode = 2 + +[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 3" unique_id=795918073] +layout_mode = 2 +text = "$4" +label_settings = SubResource("LabelSettings_c56vf") +horizontal_alignment = 1 + +[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 3" unique_id=583706447 instance=ExtResource("6_7r4kk")] +custom_minimum_size = Vector2(230, 270) +layout_mode = 2 +size_flags_vertical = 6 +theme_override_styles/panel = SubResource("StyleBoxFlat_5qo6s") + +[node name="Bank" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 3/BuildingSelector" unique_id=973905773 instance=ExtResource("10_wxj2g")] +position = Vector2(60, 210) + +[node name="Building 4" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings" unique_id=1457851442] +layout_mode = 2 + +[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 4" unique_id=350026086] +layout_mode = 2 +text = "$8" +label_settings = SubResource("LabelSettings_c56vf") +horizontal_alignment = 1 + +[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 4" unique_id=136723991 instance=ExtResource("6_7r4kk")] +custom_minimum_size = Vector2(120, 310) +layout_mode = 2 +size_flags_vertical = 6 +theme_override_styles/panel = SubResource("StyleBoxFlat_uprus") + +[node name="Bar" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 4/BuildingSelector" unique_id=2099013183 instance=ExtResource("11_sttyi")] +position = Vector2(60, 210) + +[node name="Building 5" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings" unique_id=547829632] +layout_mode = 2 + +[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 5" unique_id=1524450412] +layout_mode = 2 +text = "$8" +label_settings = SubResource("LabelSettings_c56vf") +horizontal_alignment = 1 + +[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 5" unique_id=1337834576 instance=ExtResource("6_7r4kk")] +custom_minimum_size = Vector2(270, 270) +layout_mode = 2 +size_flags_vertical = 6 +theme_override_styles/panel = SubResource("StyleBoxFlat_uqvfp") + +[node name="Shop" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 5/BuildingSelector" unique_id=40225851 instance=ExtResource("12_w3n6g")] +position = Vector2(60, 170) + +[node name="Building 6" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings" unique_id=399299260] +layout_mode = 2 + +[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 6" unique_id=1107358043] +layout_mode = 2 +text = "$4" +label_settings = SubResource("LabelSettings_c56vf") +horizontal_alignment = 1 + +[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 6" unique_id=329766743 instance=ExtResource("6_7r4kk")] +custom_minimum_size = Vector2(420, 230) +layout_mode = 2 +size_flags_vertical = 6 +theme_override_styles/panel = SubResource("StyleBoxFlat_dp4q7") + +[node name="Cafe" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 6/BuildingSelector" unique_id=1788365156 instance=ExtResource("13_di23u")] +position = Vector2(100, 170) + +[node name="Building 7" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings" unique_id=1881374967] +layout_mode = 2 + +[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 7" unique_id=1332832346] +layout_mode = 2 +text = "$4" +label_settings = SubResource("LabelSettings_c56vf") +horizontal_alignment = 1 + +[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 7" unique_id=1207846400 instance=ExtResource("6_7r4kk")] +custom_minimum_size = Vector2(380, 380) +layout_mode = 2 +size_flags_vertical = 6 +theme_override_styles/panel = SubResource("StyleBoxFlat_qqsac") + +[node name="GunShop" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 7/BuildingSelector" unique_id=1685600790 instance=ExtResource("14_hlhh6")] +position = Vector2(60, 280) + +[node name="Building 8" type="VBoxContainer" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings" unique_id=1965375524] +layout_mode = 2 + +[node name="Label" type="Label" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 8" unique_id=2137971598] +layout_mode = 2 +text = "$3" +label_settings = SubResource("LabelSettings_7r4kk") +horizontal_alignment = 1 + +[node name="BuildingSelector" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 8" unique_id=718642175 instance=ExtResource("6_7r4kk")] +custom_minimum_size = Vector2(200, 155) +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 6 +theme_override_styles/panel = SubResource("StyleBoxFlat_pc2vv") + +[node name="Fork" parent="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 8/BuildingSelector" unique_id=923842683 instance=ExtResource("15_j8v8t")] +position = Vector2(100, 60) + +[connection signal="pressed" from="HBoxContainer/Controls/Submit" to="." method="_on_submit_pressed"] [connection signal="pressed" from="HBoxContainer/Controls/Pause" to="." method="_on_pause_pressed"] +[connection signal="pressed" from="HBoxContainer/Controls/Play" to="." method="_on_play_pressed"] +[connection signal="pressed" from="HBoxContainer/Controls/FastForward1" to="." method="_on_fast_forward_1_pressed"] +[connection signal="pressed" from="HBoxContainer/Controls/FastForward2" to="." method="_on_fast_forward_2_pressed"] +[connection signal="pressed" from="HBoxContainer/Controls/FastForward4" to="." method="_on_fast_forward_4_pressed"] +[connection signal="pressed" from="HBoxContainer/Controls/FastForward10" to="." method="_on_fast_forward_10_pressed"] [connection signal="pressed" from="HBoxContainer/TechTree/Blueprints" to="." method="_on_blueprints_pressed"] [connection signal="pressed" from="BlueprintsContainer/HBoxContainer/Walls/StartWalls" to="." method="_on_walls_pressed"] [connection signal="pressed" from="BlueprintsContainer/HBoxContainer/Walls/StopWalls" to="." method="_on_walls_pressed"] @@ -218,4 +481,12 @@ size_flags_vertical = 6 [connection signal="tile_selected" from="BlueprintsContainer/HBoxContainer/BasicTiles/GridContainer/RightTurn" to="." method="handle_tile_selected"] [connection signal="tile_selected" from="BlueprintsContainer/HBoxContainer/BasicTiles/GridContainer/DownTurn" to="." method="handle_tile_selected"] [connection signal="tile_selected" from="BlueprintsContainer/HBoxContainer/BasicTiles/GridContainer/LeftTurn" to="." method="handle_tile_selected"] -[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/Buildings/Building 1/BuildingSelector" to="." method="handle_building_selected"] +[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/Home/BuildingSelector" to="." method="handle_building_selected"] +[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 1/BuildingSelector" to="." method="handle_building_selected"] +[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 2/BuildingSelector" to="." method="handle_building_selected"] +[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 3/BuildingSelector" to="." method="handle_building_selected"] +[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 4/BuildingSelector" to="." method="handle_building_selected"] +[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 5/BuildingSelector" to="." method="handle_building_selected"] +[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 6/BuildingSelector" to="." method="handle_building_selected"] +[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 7/BuildingSelector" to="." method="handle_building_selected"] +[connection signal="select_building" from="BlueprintsContainer/HBoxContainer/ScrollContainer/Buildings/Building 8/BuildingSelector" to="." method="handle_building_selected"] diff --git a/prefabs/ui/drunk_icon.tscn b/prefabs/ui/drunk_icon.tscn new file mode 100644 index 0000000..aa3ffef --- /dev/null +++ b/prefabs/ui/drunk_icon.tscn @@ -0,0 +1,11 @@ +[gd_scene format=3 uid="uid://28x2e52skdt1"] + +[ext_resource type="Texture2D" uid="uid://cm0k0h7fakj7m" path="res://assets/beer/beer.png" id="1_1d2oi"] + +[node name="DrunkIcon" type="TextureRect" unique_id=967704941] +z_index = 1 +texture_filter = 1 +custom_minimum_size = Vector2(10, 10) +texture = ExtResource("1_1d2oi") +expand_mode = 1 +stretch_mode = 4 diff --git a/project.godot b/project.godot index e0fafb0..cefd7cc 100644 --- a/project.godot +++ b/project.godot @@ -11,13 +11,22 @@ config_version=5 [application] config/name="clockwork-city" -run/main_scene="uid://dpuwsqorot65h" +run/main_scene="uid://fbdci3d048m7" config/features=PackedStringArray("4.6", "GL Compatibility") config/icon="res://icon.svg" +[autoload] + +Globals="*uid://by6sqqjd2g0ct" + [editor_plugins] -enabled=PackedStringArray("res://addons/tube/plugin.cfg") +enabled=PackedStringArray("res://addons/format_on_save/plugin.cfg", "res://addons/gdlint_plugin/plugin.cfg", "res://addons/tube/plugin.cfg") + +[global_group] + +Pausable="Only activates on turn end." +PostTurnActions="" [input] @@ -75,6 +84,16 @@ rotate_wall_down={ "events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":16,"position":Vector2(184, 16),"global_position":Vector2(193, 64),"factor":1.0,"button_index":5,"canceled":false,"pressed":true,"double_click":false,"script":null) ] } +rotate_tile_up={ +"deadzone": 0.2, +"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":8,"position":Vector2(310, 7),"global_position":Vector2(319, 55),"factor":1.0,"button_index":4,"canceled":false,"pressed":true,"double_click":false,"script":null) +] +} +rotate_tile_down={ +"deadzone": 0.2, +"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":16,"position":Vector2(228, 11),"global_position":Vector2(237, 59),"factor":1.0,"button_index":5,"canceled":false,"pressed":true,"double_click":false,"script":null) +] +} [layer_names] diff --git a/resources/global_controller.gd b/resources/global_controller.gd new file mode 100644 index 0000000..8e99ce9 --- /dev/null +++ b/resources/global_controller.gd @@ -0,0 +1,3 @@ +class_name GlobalController extends Node + +var game: Game diff --git a/resources/global_controller.gd.uid b/resources/global_controller.gd.uid new file mode 100644 index 0000000..a447a56 --- /dev/null +++ b/resources/global_controller.gd.uid @@ -0,0 +1 @@ +uid://by6sqqjd2g0ct diff --git a/resources/player.gd b/resources/player.gd new file mode 100644 index 0000000..ae290a9 --- /dev/null +++ b/resources/player.gd @@ -0,0 +1,8 @@ +class_name Player extends Resource + +var name: String = "Player" +var money: int = 10: + set(value): + money = value + changed.emit(self) +var color: Color = Color(0, 0, 1, 1) diff --git a/resources/player.gd.uid b/resources/player.gd.uid new file mode 100644 index 0000000..cd21e1c --- /dev/null +++ b/resources/player.gd.uid @@ -0,0 +1 @@ +uid://s27yk1pmkff7