From aa4343309cba44f3e03f3016caa771ff2d8ee300 Mon Sep 17 00:00:00 2001 From: Sch1nken Date: Wed, 6 Mar 2024 00:07:26 +0100 Subject: [PATCH] valid tile placement implemented --- Globals/GameEvents.gd | 4 ++++ HexGrid3D/HexGrid3D.gd | 6 +++--- .../Assets/Roughness/ant_roughness.png.import | 12 +++++------- .../Assets/Roughness/bee_roughness.png.import | 12 +++++------- .../Roughness/beetle_roughness.png.import | 12 +++++------- .../Roughness/grasshopper_roughness.png.import | 12 +++++------- .../Roughness/ladybug_roughness.png.import | 12 +++++------- .../Roughness/mosquito_roughness.png.import | 12 +++++------- .../Roughness/pillbug_roughness.png.import | 12 +++++------- .../Roughness/spider_roughness.png.import | 12 +++++------- .../Assets/Textures/ant_black.png.import | 12 +++++------- .../Assets/Textures/ant_white.png.import | 12 +++++------- .../Assets/Textures/bee_black.png.import | 12 +++++------- .../Assets/Textures/bee_white.png.import | 12 +++++------- .../Assets/Textures/beetle_black.png.import | 12 +++++------- .../Assets/Textures/beetle_white.png.import | 12 +++++------- .../Textures/grasshopper_black.png.import | 12 +++++------- .../Textures/grasshopper_white.png.import | 12 +++++------- .../Assets/Textures/ladybug_black.png.import | 12 +++++------- .../Assets/Textures/ladybug_white.png.import | 12 +++++------- .../Assets/Textures/mosquito_black.png.import | 12 +++++------- .../Assets/Textures/mosquito_white.png.import | 12 +++++------- .../Assets/Textures/pillbug_black.png.import | 12 +++++------- .../Assets/Textures/pillbug_white.png.import | 12 +++++------- .../Assets/Textures/spider_black.png.import | 12 +++++------- .../Assets/Textures/spider_white.png.import | 12 +++++------- InsectTiles/Assets/UI/ant.png.import | 4 ++-- InsectTiles/Assets/UI/bee.png.import | 4 ++-- InsectTiles/Assets/UI/beetle.png.import | 4 ++-- InsectTiles/Assets/UI/grasshopper.png.import | 4 ++-- InsectTiles/Assets/UI/hex_black.svg.import | 4 ++-- InsectTiles/Assets/UI/hex_white.svg.import | 12 +++++------- InsectTiles/Assets/UI/ladybug.png.import | 2 +- InsectTiles/Assets/UI/mosquito.png.import | 2 +- InsectTiles/Assets/UI/pillbug.png.import | 2 +- InsectTiles/Assets/UI/spider.png.import | 2 +- WebLightChecker.gd | 12 ++++++++++++ export_presets.cfg | 2 +- node_3d.tscn | 18 ++++++++++++++---- project.godot | 4 ---- 40 files changed, 173 insertions(+), 201 deletions(-) create mode 100644 WebLightChecker.gd diff --git a/Globals/GameEvents.gd b/Globals/GameEvents.gd index 9048cb4..d58749b 100644 --- a/Globals/GameEvents.gd +++ b/Globals/GameEvents.gd @@ -4,5 +4,9 @@ signal insect_selected(insect_resource, is_black) signal insect_placed(insect_resource, is_black, position) signal insect_placement_cancelled +signal insect_tile_selected(tile) +signal insect_tile_deselected(tile) +signal insect_tile_moved(tile, from, to) + signal turn_started signal turn_ended diff --git a/HexGrid3D/HexGrid3D.gd b/HexGrid3D/HexGrid3D.gd index eac287d..174ae2b 100644 --- a/HexGrid3D/HexGrid3D.gd +++ b/HexGrid3D/HexGrid3D.gd @@ -175,9 +175,9 @@ func _on_insect_selected(insect_resource: TileResource, is_black: bool) -> void: if not used_cells.has(neighbour): continue - #if used_cells[neighbour].is_black != is_black: - # eligible = false - # break + if used_cells[neighbour].is_black != is_black: + eligible = false + break if eligible: var outline = HEX_OUTLINE.instantiate() diff --git a/InsectTiles/Assets/Roughness/ant_roughness.png.import b/InsectTiles/Assets/Roughness/ant_roughness.png.import index db6e396..c4ccce4 100644 --- a/InsectTiles/Assets/Roughness/ant_roughness.png.import +++ b/InsectTiles/Assets/Roughness/ant_roughness.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://sxdcdtxhsaor" -path.s3tc="res://.godot/imported/ant_roughness.png-df5df478bf7a5864669373b064c01394.s3tc.ctex" -path.etc2="res://.godot/imported/ant_roughness.png-df5df478bf7a5864669373b064c01394.etc2.ctex" +path="res://.godot/imported/ant_roughness.png-df5df478bf7a5864669373b064c01394.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Roughness/ant_roughness.png" -dest_files=["res://.godot/imported/ant_roughness.png-df5df478bf7a5864669373b064c01394.s3tc.ctex", "res://.godot/imported/ant_roughness.png-df5df478bf7a5864669373b064c01394.etc2.ctex"] +dest_files=["res://.godot/imported/ant_roughness.png-df5df478bf7a5864669373b064c01394.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Roughness/bee_roughness.png.import b/InsectTiles/Assets/Roughness/bee_roughness.png.import index 97b0e44..26b58d2 100644 --- a/InsectTiles/Assets/Roughness/bee_roughness.png.import +++ b/InsectTiles/Assets/Roughness/bee_roughness.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://bhk2ison1sige" -path.s3tc="res://.godot/imported/bee_roughness.png-8ea7592e70fdeecb10719c13733fea23.s3tc.ctex" -path.etc2="res://.godot/imported/bee_roughness.png-8ea7592e70fdeecb10719c13733fea23.etc2.ctex" +path="res://.godot/imported/bee_roughness.png-8ea7592e70fdeecb10719c13733fea23.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Roughness/bee_roughness.png" -dest_files=["res://.godot/imported/bee_roughness.png-8ea7592e70fdeecb10719c13733fea23.s3tc.ctex", "res://.godot/imported/bee_roughness.png-8ea7592e70fdeecb10719c13733fea23.etc2.ctex"] +dest_files=["res://.godot/imported/bee_roughness.png-8ea7592e70fdeecb10719c13733fea23.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Roughness/beetle_roughness.png.import b/InsectTiles/Assets/Roughness/beetle_roughness.png.import index 370c042..ed54525 100644 --- a/InsectTiles/Assets/Roughness/beetle_roughness.png.import +++ b/InsectTiles/Assets/Roughness/beetle_roughness.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://dtld0rnjue23" -path.s3tc="res://.godot/imported/beetle_roughness.png-edab7e7dfc9c253221de307f9cff5c18.s3tc.ctex" -path.etc2="res://.godot/imported/beetle_roughness.png-edab7e7dfc9c253221de307f9cff5c18.etc2.ctex" +path="res://.godot/imported/beetle_roughness.png-edab7e7dfc9c253221de307f9cff5c18.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Roughness/beetle_roughness.png" -dest_files=["res://.godot/imported/beetle_roughness.png-edab7e7dfc9c253221de307f9cff5c18.s3tc.ctex", "res://.godot/imported/beetle_roughness.png-edab7e7dfc9c253221de307f9cff5c18.etc2.ctex"] +dest_files=["res://.godot/imported/beetle_roughness.png-edab7e7dfc9c253221de307f9cff5c18.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Roughness/grasshopper_roughness.png.import b/InsectTiles/Assets/Roughness/grasshopper_roughness.png.import index 5bea371..a8c8b82 100644 --- a/InsectTiles/Assets/Roughness/grasshopper_roughness.png.import +++ b/InsectTiles/Assets/Roughness/grasshopper_roughness.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://bx8lx8mswnchc" -path.s3tc="res://.godot/imported/grasshopper_roughness.png-0d8249e63ca6275efb822d8372213684.s3tc.ctex" -path.etc2="res://.godot/imported/grasshopper_roughness.png-0d8249e63ca6275efb822d8372213684.etc2.ctex" +path="res://.godot/imported/grasshopper_roughness.png-0d8249e63ca6275efb822d8372213684.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Roughness/grasshopper_roughness.png" -dest_files=["res://.godot/imported/grasshopper_roughness.png-0d8249e63ca6275efb822d8372213684.s3tc.ctex", "res://.godot/imported/grasshopper_roughness.png-0d8249e63ca6275efb822d8372213684.etc2.ctex"] +dest_files=["res://.godot/imported/grasshopper_roughness.png-0d8249e63ca6275efb822d8372213684.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Roughness/ladybug_roughness.png.import b/InsectTiles/Assets/Roughness/ladybug_roughness.png.import index b47d2cf..3189801 100644 --- a/InsectTiles/Assets/Roughness/ladybug_roughness.png.import +++ b/InsectTiles/Assets/Roughness/ladybug_roughness.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://dqua2juudiwm4" -path.s3tc="res://.godot/imported/ladybug_roughness.png-56424b0725b00721417c59f400361102.s3tc.ctex" -path.etc2="res://.godot/imported/ladybug_roughness.png-56424b0725b00721417c59f400361102.etc2.ctex" +path="res://.godot/imported/ladybug_roughness.png-56424b0725b00721417c59f400361102.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Roughness/ladybug_roughness.png" -dest_files=["res://.godot/imported/ladybug_roughness.png-56424b0725b00721417c59f400361102.s3tc.ctex", "res://.godot/imported/ladybug_roughness.png-56424b0725b00721417c59f400361102.etc2.ctex"] +dest_files=["res://.godot/imported/ladybug_roughness.png-56424b0725b00721417c59f400361102.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Roughness/mosquito_roughness.png.import b/InsectTiles/Assets/Roughness/mosquito_roughness.png.import index d57e2c6..60c5f89 100644 --- a/InsectTiles/Assets/Roughness/mosquito_roughness.png.import +++ b/InsectTiles/Assets/Roughness/mosquito_roughness.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://dvlotqiu1n5nx" -path.s3tc="res://.godot/imported/mosquito_roughness.png-473dace209cb040fc11ba5cc80d6a5bb.s3tc.ctex" -path.etc2="res://.godot/imported/mosquito_roughness.png-473dace209cb040fc11ba5cc80d6a5bb.etc2.ctex" +path="res://.godot/imported/mosquito_roughness.png-473dace209cb040fc11ba5cc80d6a5bb.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Roughness/mosquito_roughness.png" -dest_files=["res://.godot/imported/mosquito_roughness.png-473dace209cb040fc11ba5cc80d6a5bb.s3tc.ctex", "res://.godot/imported/mosquito_roughness.png-473dace209cb040fc11ba5cc80d6a5bb.etc2.ctex"] +dest_files=["res://.godot/imported/mosquito_roughness.png-473dace209cb040fc11ba5cc80d6a5bb.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Roughness/pillbug_roughness.png.import b/InsectTiles/Assets/Roughness/pillbug_roughness.png.import index 5000bff..68cf1c2 100644 --- a/InsectTiles/Assets/Roughness/pillbug_roughness.png.import +++ b/InsectTiles/Assets/Roughness/pillbug_roughness.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://bcuptx3dqepgw" -path.s3tc="res://.godot/imported/pillbug_roughness.png-6b5bbf875ba655ceb998fa59af135840.s3tc.ctex" -path.etc2="res://.godot/imported/pillbug_roughness.png-6b5bbf875ba655ceb998fa59af135840.etc2.ctex" +path="res://.godot/imported/pillbug_roughness.png-6b5bbf875ba655ceb998fa59af135840.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Roughness/pillbug_roughness.png" -dest_files=["res://.godot/imported/pillbug_roughness.png-6b5bbf875ba655ceb998fa59af135840.s3tc.ctex", "res://.godot/imported/pillbug_roughness.png-6b5bbf875ba655ceb998fa59af135840.etc2.ctex"] +dest_files=["res://.godot/imported/pillbug_roughness.png-6b5bbf875ba655ceb998fa59af135840.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Roughness/spider_roughness.png.import b/InsectTiles/Assets/Roughness/spider_roughness.png.import index 782bc1a..45e318c 100644 --- a/InsectTiles/Assets/Roughness/spider_roughness.png.import +++ b/InsectTiles/Assets/Roughness/spider_roughness.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://baqdef5vcjoct" -path.s3tc="res://.godot/imported/spider_roughness.png-939aefc4a46d7b421ec15b95e2224f9d.s3tc.ctex" -path.etc2="res://.godot/imported/spider_roughness.png-939aefc4a46d7b421ec15b95e2224f9d.etc2.ctex" +path="res://.godot/imported/spider_roughness.png-939aefc4a46d7b421ec15b95e2224f9d.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Roughness/spider_roughness.png" -dest_files=["res://.godot/imported/spider_roughness.png-939aefc4a46d7b421ec15b95e2224f9d.s3tc.ctex", "res://.godot/imported/spider_roughness.png-939aefc4a46d7b421ec15b95e2224f9d.etc2.ctex"] +dest_files=["res://.godot/imported/spider_roughness.png-939aefc4a46d7b421ec15b95e2224f9d.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=1 diff --git a/InsectTiles/Assets/Textures/ant_black.png.import b/InsectTiles/Assets/Textures/ant_black.png.import index 7faee9c..61767c3 100644 --- a/InsectTiles/Assets/Textures/ant_black.png.import +++ b/InsectTiles/Assets/Textures/ant_black.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://bp5lbofkicsqq" -path.s3tc="res://.godot/imported/ant_black.png-b707d2922be6bd49acc931eca530e996.s3tc.ctex" -path.etc2="res://.godot/imported/ant_black.png-b707d2922be6bd49acc931eca530e996.etc2.ctex" +path="res://.godot/imported/ant_black.png-b707d2922be6bd49acc931eca530e996.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/ant_black.png" -dest_files=["res://.godot/imported/ant_black.png-b707d2922be6bd49acc931eca530e996.s3tc.ctex", "res://.godot/imported/ant_black.png-b707d2922be6bd49acc931eca530e996.etc2.ctex"] +dest_files=["res://.godot/imported/ant_black.png-b707d2922be6bd49acc931eca530e996.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/ant_white.png.import b/InsectTiles/Assets/Textures/ant_white.png.import index da1ea3b..58146e5 100644 --- a/InsectTiles/Assets/Textures/ant_white.png.import +++ b/InsectTiles/Assets/Textures/ant_white.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://dr36631neiknu" -path.s3tc="res://.godot/imported/ant_white.png-a608578d15c5e9fb3aff6a6dbaae6c6e.s3tc.ctex" -path.etc2="res://.godot/imported/ant_white.png-a608578d15c5e9fb3aff6a6dbaae6c6e.etc2.ctex" +path="res://.godot/imported/ant_white.png-a608578d15c5e9fb3aff6a6dbaae6c6e.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/ant_white.png" -dest_files=["res://.godot/imported/ant_white.png-a608578d15c5e9fb3aff6a6dbaae6c6e.s3tc.ctex", "res://.godot/imported/ant_white.png-a608578d15c5e9fb3aff6a6dbaae6c6e.etc2.ctex"] +dest_files=["res://.godot/imported/ant_white.png-a608578d15c5e9fb3aff6a6dbaae6c6e.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/bee_black.png.import b/InsectTiles/Assets/Textures/bee_black.png.import index 45a564d..6ec129b 100644 --- a/InsectTiles/Assets/Textures/bee_black.png.import +++ b/InsectTiles/Assets/Textures/bee_black.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://dqvg2bmc361yl" -path.s3tc="res://.godot/imported/bee_black.png-eb8f1ee64e7173c464c70dc8d482c4b0.s3tc.ctex" -path.etc2="res://.godot/imported/bee_black.png-eb8f1ee64e7173c464c70dc8d482c4b0.etc2.ctex" +path="res://.godot/imported/bee_black.png-eb8f1ee64e7173c464c70dc8d482c4b0.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/bee_black.png" -dest_files=["res://.godot/imported/bee_black.png-eb8f1ee64e7173c464c70dc8d482c4b0.s3tc.ctex", "res://.godot/imported/bee_black.png-eb8f1ee64e7173c464c70dc8d482c4b0.etc2.ctex"] +dest_files=["res://.godot/imported/bee_black.png-eb8f1ee64e7173c464c70dc8d482c4b0.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/bee_white.png.import b/InsectTiles/Assets/Textures/bee_white.png.import index 10733e4..7eaae6d 100644 --- a/InsectTiles/Assets/Textures/bee_white.png.import +++ b/InsectTiles/Assets/Textures/bee_white.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://rm4ysjfnx20t" -path.s3tc="res://.godot/imported/bee_white.png-5c36d14d4b43d0c06f7a0b3a7e022d3f.s3tc.ctex" -path.etc2="res://.godot/imported/bee_white.png-5c36d14d4b43d0c06f7a0b3a7e022d3f.etc2.ctex" +path="res://.godot/imported/bee_white.png-5c36d14d4b43d0c06f7a0b3a7e022d3f.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/bee_white.png" -dest_files=["res://.godot/imported/bee_white.png-5c36d14d4b43d0c06f7a0b3a7e022d3f.s3tc.ctex", "res://.godot/imported/bee_white.png-5c36d14d4b43d0c06f7a0b3a7e022d3f.etc2.ctex"] +dest_files=["res://.godot/imported/bee_white.png-5c36d14d4b43d0c06f7a0b3a7e022d3f.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/beetle_black.png.import b/InsectTiles/Assets/Textures/beetle_black.png.import index 8caaa76..9bc3394 100644 --- a/InsectTiles/Assets/Textures/beetle_black.png.import +++ b/InsectTiles/Assets/Textures/beetle_black.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://b5wsm1j3e33xy" -path.s3tc="res://.godot/imported/beetle_black.png-c788c2e1e9cf6e7679975a608bfd231e.s3tc.ctex" -path.etc2="res://.godot/imported/beetle_black.png-c788c2e1e9cf6e7679975a608bfd231e.etc2.ctex" +path="res://.godot/imported/beetle_black.png-c788c2e1e9cf6e7679975a608bfd231e.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/beetle_black.png" -dest_files=["res://.godot/imported/beetle_black.png-c788c2e1e9cf6e7679975a608bfd231e.s3tc.ctex", "res://.godot/imported/beetle_black.png-c788c2e1e9cf6e7679975a608bfd231e.etc2.ctex"] +dest_files=["res://.godot/imported/beetle_black.png-c788c2e1e9cf6e7679975a608bfd231e.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/beetle_white.png.import b/InsectTiles/Assets/Textures/beetle_white.png.import index f2996dd..d7b2046 100644 --- a/InsectTiles/Assets/Textures/beetle_white.png.import +++ b/InsectTiles/Assets/Textures/beetle_white.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://boxdyplaeyib4" -path.s3tc="res://.godot/imported/beetle_white.png-1fafb308b4fbe4601f6387c69e7eb308.s3tc.ctex" -path.etc2="res://.godot/imported/beetle_white.png-1fafb308b4fbe4601f6387c69e7eb308.etc2.ctex" +path="res://.godot/imported/beetle_white.png-1fafb308b4fbe4601f6387c69e7eb308.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/beetle_white.png" -dest_files=["res://.godot/imported/beetle_white.png-1fafb308b4fbe4601f6387c69e7eb308.s3tc.ctex", "res://.godot/imported/beetle_white.png-1fafb308b4fbe4601f6387c69e7eb308.etc2.ctex"] +dest_files=["res://.godot/imported/beetle_white.png-1fafb308b4fbe4601f6387c69e7eb308.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/grasshopper_black.png.import b/InsectTiles/Assets/Textures/grasshopper_black.png.import index e21c005..6aea899 100644 --- a/InsectTiles/Assets/Textures/grasshopper_black.png.import +++ b/InsectTiles/Assets/Textures/grasshopper_black.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://d4b7so1ioq66t" -path.s3tc="res://.godot/imported/grasshopper_black.png-6091d274e772d022492013dc866d2ff0.s3tc.ctex" -path.etc2="res://.godot/imported/grasshopper_black.png-6091d274e772d022492013dc866d2ff0.etc2.ctex" +path="res://.godot/imported/grasshopper_black.png-6091d274e772d022492013dc866d2ff0.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/grasshopper_black.png" -dest_files=["res://.godot/imported/grasshopper_black.png-6091d274e772d022492013dc866d2ff0.s3tc.ctex", "res://.godot/imported/grasshopper_black.png-6091d274e772d022492013dc866d2ff0.etc2.ctex"] +dest_files=["res://.godot/imported/grasshopper_black.png-6091d274e772d022492013dc866d2ff0.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/grasshopper_white.png.import b/InsectTiles/Assets/Textures/grasshopper_white.png.import index 2aea6dc..e6b3a9f 100644 --- a/InsectTiles/Assets/Textures/grasshopper_white.png.import +++ b/InsectTiles/Assets/Textures/grasshopper_white.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://bbcnyge85wpu7" -path.s3tc="res://.godot/imported/grasshopper_white.png-0575c51bae9f1e7d981ba76a5c895fd4.s3tc.ctex" -path.etc2="res://.godot/imported/grasshopper_white.png-0575c51bae9f1e7d981ba76a5c895fd4.etc2.ctex" +path="res://.godot/imported/grasshopper_white.png-0575c51bae9f1e7d981ba76a5c895fd4.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/grasshopper_white.png" -dest_files=["res://.godot/imported/grasshopper_white.png-0575c51bae9f1e7d981ba76a5c895fd4.s3tc.ctex", "res://.godot/imported/grasshopper_white.png-0575c51bae9f1e7d981ba76a5c895fd4.etc2.ctex"] +dest_files=["res://.godot/imported/grasshopper_white.png-0575c51bae9f1e7d981ba76a5c895fd4.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/ladybug_black.png.import b/InsectTiles/Assets/Textures/ladybug_black.png.import index 2f1cfb5..83c296c 100644 --- a/InsectTiles/Assets/Textures/ladybug_black.png.import +++ b/InsectTiles/Assets/Textures/ladybug_black.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://c0gt6mo7rj7nk" -path.s3tc="res://.godot/imported/ladybug_black.png-d03152b2e9c820ed52595dd5a73feb40.s3tc.ctex" -path.etc2="res://.godot/imported/ladybug_black.png-d03152b2e9c820ed52595dd5a73feb40.etc2.ctex" +path="res://.godot/imported/ladybug_black.png-d03152b2e9c820ed52595dd5a73feb40.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/ladybug_black.png" -dest_files=["res://.godot/imported/ladybug_black.png-d03152b2e9c820ed52595dd5a73feb40.s3tc.ctex", "res://.godot/imported/ladybug_black.png-d03152b2e9c820ed52595dd5a73feb40.etc2.ctex"] +dest_files=["res://.godot/imported/ladybug_black.png-d03152b2e9c820ed52595dd5a73feb40.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/ladybug_white.png.import b/InsectTiles/Assets/Textures/ladybug_white.png.import index 929a709..613ce8b 100644 --- a/InsectTiles/Assets/Textures/ladybug_white.png.import +++ b/InsectTiles/Assets/Textures/ladybug_white.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://cdt2rmwyk7wdj" -path.s3tc="res://.godot/imported/ladybug_white.png-ccf9f5b3e05854232872691eadb6ac61.s3tc.ctex" -path.etc2="res://.godot/imported/ladybug_white.png-ccf9f5b3e05854232872691eadb6ac61.etc2.ctex" +path="res://.godot/imported/ladybug_white.png-ccf9f5b3e05854232872691eadb6ac61.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/ladybug_white.png" -dest_files=["res://.godot/imported/ladybug_white.png-ccf9f5b3e05854232872691eadb6ac61.s3tc.ctex", "res://.godot/imported/ladybug_white.png-ccf9f5b3e05854232872691eadb6ac61.etc2.ctex"] +dest_files=["res://.godot/imported/ladybug_white.png-ccf9f5b3e05854232872691eadb6ac61.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/mosquito_black.png.import b/InsectTiles/Assets/Textures/mosquito_black.png.import index 2ff2f3b..17da130 100644 --- a/InsectTiles/Assets/Textures/mosquito_black.png.import +++ b/InsectTiles/Assets/Textures/mosquito_black.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://bbi5xlbfl564o" -path.s3tc="res://.godot/imported/mosquito_black.png-af84066e2be23328d5a5970de9b04aeb.s3tc.ctex" -path.etc2="res://.godot/imported/mosquito_black.png-af84066e2be23328d5a5970de9b04aeb.etc2.ctex" +path="res://.godot/imported/mosquito_black.png-af84066e2be23328d5a5970de9b04aeb.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/mosquito_black.png" -dest_files=["res://.godot/imported/mosquito_black.png-af84066e2be23328d5a5970de9b04aeb.s3tc.ctex", "res://.godot/imported/mosquito_black.png-af84066e2be23328d5a5970de9b04aeb.etc2.ctex"] +dest_files=["res://.godot/imported/mosquito_black.png-af84066e2be23328d5a5970de9b04aeb.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/mosquito_white.png.import b/InsectTiles/Assets/Textures/mosquito_white.png.import index 2248593..9ec4bd7 100644 --- a/InsectTiles/Assets/Textures/mosquito_white.png.import +++ b/InsectTiles/Assets/Textures/mosquito_white.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://cb1bjgm7xd4ab" -path.s3tc="res://.godot/imported/mosquito_white.png-75588653ae9e372a8576462f2ea27844.s3tc.ctex" -path.etc2="res://.godot/imported/mosquito_white.png-75588653ae9e372a8576462f2ea27844.etc2.ctex" +path="res://.godot/imported/mosquito_white.png-75588653ae9e372a8576462f2ea27844.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/mosquito_white.png" -dest_files=["res://.godot/imported/mosquito_white.png-75588653ae9e372a8576462f2ea27844.s3tc.ctex", "res://.godot/imported/mosquito_white.png-75588653ae9e372a8576462f2ea27844.etc2.ctex"] +dest_files=["res://.godot/imported/mosquito_white.png-75588653ae9e372a8576462f2ea27844.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/pillbug_black.png.import b/InsectTiles/Assets/Textures/pillbug_black.png.import index 124901a..fae11da 100644 --- a/InsectTiles/Assets/Textures/pillbug_black.png.import +++ b/InsectTiles/Assets/Textures/pillbug_black.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://dcirih4udlsv1" -path.s3tc="res://.godot/imported/pillbug_black.png-8e4be95bc9b4e4edc7e4cdc63c7bd00f.s3tc.ctex" -path.etc2="res://.godot/imported/pillbug_black.png-8e4be95bc9b4e4edc7e4cdc63c7bd00f.etc2.ctex" +path="res://.godot/imported/pillbug_black.png-8e4be95bc9b4e4edc7e4cdc63c7bd00f.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/pillbug_black.png" -dest_files=["res://.godot/imported/pillbug_black.png-8e4be95bc9b4e4edc7e4cdc63c7bd00f.s3tc.ctex", "res://.godot/imported/pillbug_black.png-8e4be95bc9b4e4edc7e4cdc63c7bd00f.etc2.ctex"] +dest_files=["res://.godot/imported/pillbug_black.png-8e4be95bc9b4e4edc7e4cdc63c7bd00f.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/pillbug_white.png.import b/InsectTiles/Assets/Textures/pillbug_white.png.import index e00dad9..dc3fe1a 100644 --- a/InsectTiles/Assets/Textures/pillbug_white.png.import +++ b/InsectTiles/Assets/Textures/pillbug_white.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://bbyviem1qm647" -path.s3tc="res://.godot/imported/pillbug_white.png-5b6e70e15c114e48e430d3f0b6b1c6d6.s3tc.ctex" -path.etc2="res://.godot/imported/pillbug_white.png-5b6e70e15c114e48e430d3f0b6b1c6d6.etc2.ctex" +path="res://.godot/imported/pillbug_white.png-5b6e70e15c114e48e430d3f0b6b1c6d6.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/pillbug_white.png" -dest_files=["res://.godot/imported/pillbug_white.png-5b6e70e15c114e48e430d3f0b6b1c6d6.s3tc.ctex", "res://.godot/imported/pillbug_white.png-5b6e70e15c114e48e430d3f0b6b1c6d6.etc2.ctex"] +dest_files=["res://.godot/imported/pillbug_white.png-5b6e70e15c114e48e430d3f0b6b1c6d6.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/spider_black.png.import b/InsectTiles/Assets/Textures/spider_black.png.import index fb8e829..23e661d 100644 --- a/InsectTiles/Assets/Textures/spider_black.png.import +++ b/InsectTiles/Assets/Textures/spider_black.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://dwubstbacbaos" -path.s3tc="res://.godot/imported/spider_black.png-36f5299647677af72532b8930951d9b0.s3tc.ctex" -path.etc2="res://.godot/imported/spider_black.png-36f5299647677af72532b8930951d9b0.etc2.ctex" +path="res://.godot/imported/spider_black.png-36f5299647677af72532b8930951d9b0.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/spider_black.png" -dest_files=["res://.godot/imported/spider_black.png-36f5299647677af72532b8930951d9b0.s3tc.ctex", "res://.godot/imported/spider_black.png-36f5299647677af72532b8930951d9b0.etc2.ctex"] +dest_files=["res://.godot/imported/spider_black.png-36f5299647677af72532b8930951d9b0.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/Textures/spider_white.png.import b/InsectTiles/Assets/Textures/spider_white.png.import index 930b0f0..c875f74 100644 --- a/InsectTiles/Assets/Textures/spider_white.png.import +++ b/InsectTiles/Assets/Textures/spider_white.png.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://clfjxt0itp8on" -path.s3tc="res://.godot/imported/spider_white.png-b9b5a6fb2a9274fe2a8e109d4310dbd0.s3tc.ctex" -path.etc2="res://.godot/imported/spider_white.png-b9b5a6fb2a9274fe2a8e109d4310dbd0.etc2.ctex" +path="res://.godot/imported/spider_white.png-b9b5a6fb2a9274fe2a8e109d4310dbd0.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/Textures/spider_white.png" -dest_files=["res://.godot/imported/spider_white.png-b9b5a6fb2a9274fe2a8e109d4310dbd0.s3tc.ctex", "res://.godot/imported/spider_white.png-b9b5a6fb2a9274fe2a8e109d4310dbd0.etc2.ctex"] +dest_files=["res://.godot/imported/spider_white.png-b9b5a6fb2a9274fe2a8e109d4310dbd0.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/UI/ant.png.import b/InsectTiles/Assets/UI/ant.png.import index 6d557b5..a8d48d1 100644 --- a/InsectTiles/Assets/UI/ant.png.import +++ b/InsectTiles/Assets/UI/ant.png.import @@ -16,12 +16,12 @@ dest_files=["res://.godot/imported/ant.png-6d4e8666aaf8c5d28ab92943e3f291f5.ctex [params] compress/mode=0 -compress/high_quality=false +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" diff --git a/InsectTiles/Assets/UI/bee.png.import b/InsectTiles/Assets/UI/bee.png.import index f4422c1..4d454fe 100644 --- a/InsectTiles/Assets/UI/bee.png.import +++ b/InsectTiles/Assets/UI/bee.png.import @@ -16,12 +16,12 @@ dest_files=["res://.godot/imported/bee.png-91c55940cc3a516a0a5bc57049d8c2e6.ctex [params] compress/mode=0 -compress/high_quality=false +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" diff --git a/InsectTiles/Assets/UI/beetle.png.import b/InsectTiles/Assets/UI/beetle.png.import index 915c5d9..c1fad6d 100644 --- a/InsectTiles/Assets/UI/beetle.png.import +++ b/InsectTiles/Assets/UI/beetle.png.import @@ -16,12 +16,12 @@ dest_files=["res://.godot/imported/beetle.png-b3ce09c0235cd8c5da1261fb58cd89af.c [params] compress/mode=0 -compress/high_quality=false +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" diff --git a/InsectTiles/Assets/UI/grasshopper.png.import b/InsectTiles/Assets/UI/grasshopper.png.import index 2d39e97..3acfd7e 100644 --- a/InsectTiles/Assets/UI/grasshopper.png.import +++ b/InsectTiles/Assets/UI/grasshopper.png.import @@ -16,12 +16,12 @@ dest_files=["res://.godot/imported/grasshopper.png-8aa2b3590112594c67e21c41bfde2 [params] compress/mode=0 -compress/high_quality=false +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" diff --git a/InsectTiles/Assets/UI/hex_black.svg.import b/InsectTiles/Assets/UI/hex_black.svg.import index f65d4b4..1aeffb5 100644 --- a/InsectTiles/Assets/UI/hex_black.svg.import +++ b/InsectTiles/Assets/UI/hex_black.svg.import @@ -16,12 +16,12 @@ dest_files=["res://.godot/imported/hex_black.svg-9288ca7d4cd09c260c5cfb784b45486 [params] compress/mode=0 -compress/high_quality=false +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" diff --git a/InsectTiles/Assets/UI/hex_white.svg.import b/InsectTiles/Assets/UI/hex_white.svg.import index 88c23aa..b766969 100644 --- a/InsectTiles/Assets/UI/hex_white.svg.import +++ b/InsectTiles/Assets/UI/hex_white.svg.import @@ -3,22 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://wywgi6sr8mwg" -path.s3tc="res://.godot/imported/hex_white.svg-5a22f91bb5b92620e099d74551e7c722.s3tc.ctex" -path.etc2="res://.godot/imported/hex_white.svg-5a22f91bb5b92620e099d74551e7c722.etc2.ctex" +path="res://.godot/imported/hex_white.svg-5a22f91bb5b92620e099d74551e7c722.ctex" metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true +"vram_texture": false } [deps] source_file="res://InsectTiles/Assets/UI/hex_white.svg" -dest_files=["res://.godot/imported/hex_white.svg-5a22f91bb5b92620e099d74551e7c722.s3tc.ctex", "res://.godot/imported/hex_white.svg-5a22f91bb5b92620e099d74551e7c722.etc2.ctex"] +dest_files=["res://.godot/imported/hex_white.svg-5a22f91bb5b92620e099d74551e7c722.ctex"] [params] -compress/mode=2 -compress/high_quality=false +compress/mode=0 +compress/high_quality=true compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 diff --git a/InsectTiles/Assets/UI/ladybug.png.import b/InsectTiles/Assets/UI/ladybug.png.import index 22d7cb4..5ac0945 100644 --- a/InsectTiles/Assets/UI/ladybug.png.import +++ b/InsectTiles/Assets/UI/ladybug.png.import @@ -21,7 +21,7 @@ compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" diff --git a/InsectTiles/Assets/UI/mosquito.png.import b/InsectTiles/Assets/UI/mosquito.png.import index 33c8a4b..c8526d4 100644 --- a/InsectTiles/Assets/UI/mosquito.png.import +++ b/InsectTiles/Assets/UI/mosquito.png.import @@ -21,7 +21,7 @@ compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" diff --git a/InsectTiles/Assets/UI/pillbug.png.import b/InsectTiles/Assets/UI/pillbug.png.import index 4735b7b..9d30cd3 100644 --- a/InsectTiles/Assets/UI/pillbug.png.import +++ b/InsectTiles/Assets/UI/pillbug.png.import @@ -21,7 +21,7 @@ compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" diff --git a/InsectTiles/Assets/UI/spider.png.import b/InsectTiles/Assets/UI/spider.png.import index f25cf01..e8d2457 100644 --- a/InsectTiles/Assets/UI/spider.png.import +++ b/InsectTiles/Assets/UI/spider.png.import @@ -21,7 +21,7 @@ compress/lossy_quality=0.7 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" diff --git a/WebLightChecker.gd b/WebLightChecker.gd new file mode 100644 index 0000000..346bef0 --- /dev/null +++ b/WebLightChecker.gd @@ -0,0 +1,12 @@ +extends DirectionalLight3D + + +# Called when the node enters the scene tree for the first time. +func _ready(): + if OS.has_feature("web"): + light_color /= PI + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + pass diff --git a/export_presets.cfg b/export_presets.cfg index 0078c93..f29e133 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -20,7 +20,7 @@ custom_template/debug="" custom_template/release="" variant/extensions_support=false vram_texture_compression/for_desktop=true -vram_texture_compression/for_mobile=true +vram_texture_compression/for_mobile=false html/export_icon=true html/custom_html_shell="" html/head_include="" diff --git a/node_3d.tscn b/node_3d.tscn index 2ea09ef..9ad1d53 100644 --- a/node_3d.tscn +++ b/node_3d.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=17 format=3 uid="uid://bx0bbrwdr0h40"] +[gd_scene load_steps=18 format=3 uid="uid://bx0bbrwdr0h40"] [ext_resource type="Script" path="res://HexGrid3D/HexGrid3D.gd" id="2_xcbqy"] +[ext_resource type="Script" path="res://WebLightChecker.gd" id="6_uu0ab"] [ext_resource type="Texture2D" uid="uid://cilgpyanfb3a8" path="res://Testbed/textures/wood_table_001_diff_4k.jpg" id="6_x76sf"] [ext_resource type="Texture2D" uid="uid://diamo44e2x4if" path="res://Testbed/textures/wood_table_001_disp_4k.png" id="7_xr322"] [ext_resource type="Script" path="res://BuildMenu.gd" id="8_lxt1e"] @@ -40,9 +41,6 @@ tonemap_mode = 1 ssao_enabled = true [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_41x5h"] -dof_blur_far_distance = 15.0 -dof_blur_far_transition = 10.0 -dof_blur_near_distance = 1.2 [sub_resource type="Gradient" id="Gradient_pctcs"] interpolation_mode = 2 @@ -84,7 +82,9 @@ camera_attributes = SubResource("CameraAttributesPractical_41x5h") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] transform = Transform3D(0.843961, -0.46784, 0.262404, -0.0775016, 0.377705, 0.922677, -0.530777, -0.79904, 0.28251, 0.262159, 3.27869, -0.104568) +light_bake_mode = 0 shadow_enabled = true +script = ExtResource("6_uu0ab") [node name="BuildMenu" type="Control" parent="."] layout_mode = 3 @@ -94,6 +94,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 0 +mouse_filter = 2 script = ExtResource("8_lxt1e") [node name="PanelContainer" type="PanelContainer" parent="BuildMenu"] @@ -104,10 +105,12 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 0 +mouse_filter = 2 theme_override_styles/panel = SubResource("StyleBoxTexture_sfja1") [node name="MarginContainer" type="MarginContainer" parent="BuildMenu/PanelContainer"] layout_mode = 2 +mouse_filter = 2 theme_override_constants/margin_left = 15 theme_override_constants/margin_top = 15 theme_override_constants/margin_right = 15 @@ -115,9 +118,11 @@ theme_override_constants/margin_bottom = 15 [node name="VBoxContainer" type="VBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer"] layout_mode = 2 +mouse_filter = 2 [node name="HBoxContainer" type="HBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 +mouse_filter = 2 [node name="Label" type="Label" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 @@ -127,6 +132,7 @@ text = "You" self_modulate = Color(1, 1, 1, 0) layout_mode = 2 size_flags_horizontal = 3 +mouse_filter = 2 [node name="Label2" type="Label" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 @@ -135,10 +141,12 @@ horizontal_alignment = 2 [node name="HBoxContainer2" type="HBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 +mouse_filter = 2 alignment = 1 [node name="LocalPlayerInsects" type="HBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2"] layout_mode = 2 +mouse_filter = 0 [node name="InsectButton" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2/LocalPlayerInsects" instance=ExtResource("11_pmmaq")] layout_mode = 2 @@ -151,9 +159,11 @@ layout_mode = 2 modulate = Color(1, 1, 1, 0) layout_mode = 2 size_flags_horizontal = 3 +mouse_filter = 2 [node name="RemotePlayerInsects" type="HBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2"] layout_mode = 2 +mouse_filter = 0 [node name="VSeparator" type="VSeparator" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2/RemotePlayerInsects"] layout_mode = 2 diff --git a/project.godot b/project.godot index ca3861d..b19cc9d 100644 --- a/project.godot +++ b/project.godot @@ -71,7 +71,3 @@ deselect_tile={ "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"echo":false,"script":null) ] } - -[rendering] - -textures/vram_compression/import_etc2_astc=true