diff --git a/addons/enhanced_gridmap/meshlibrary/tile_normal.tres b/addons/enhanced_gridmap/meshlibrary/tile_normal.tres index 7d8028b..6fba22a 100644 --- a/addons/enhanced_gridmap/meshlibrary/tile_normal.tres +++ b/addons/enhanced_gridmap/meshlibrary/tile_normal.tres @@ -2,7 +2,7 @@ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_n7oje"] transparency = 1 -albedo_color = Color(0.30980393, 0.30980393, 0.30980393, 0) +albedo_color = Color(0.30980393, 0.30980393, 0.30980393, 1) [resource] material = SubResource("StandardMaterial3D_n7oje") diff --git a/assets/models/arena/stop_n_go/Grass only.glb b/assets/models/arena/stop_n_go/Grass only.glb new file mode 100644 index 0000000..c734306 Binary files /dev/null and b/assets/models/arena/stop_n_go/Grass only.glb differ diff --git a/assets/models/arena/stop_n_go/Grass only.glb.import b/assets/models/arena/stop_n_go/Grass only.glb.import new file mode 100644 index 0000000..8190ca7 --- /dev/null +++ b/assets/models/arena/stop_n_go/Grass only.glb.import @@ -0,0 +1,42 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cb1atdpit37w" +path="res://.godot/imported/Grass only.glb-cc0d20fc21bd6e30d38e530c4cdf5b79.scn" + +[deps] + +source_file="res://assets/models/arena/stop_n_go/Grass only.glb" +dest_files=["res://.godot/imported/Grass only.glb-cc0d20fc21bd6e30d38e530c4cdf5b79.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 diff --git a/assets/models/arena/stop_n_go/Grass only.glb776327065.tmp b/assets/models/arena/stop_n_go/Grass only.glb776327065.tmp new file mode 100644 index 0000000..c734306 Binary files /dev/null and b/assets/models/arena/stop_n_go/Grass only.glb776327065.tmp differ diff --git a/assets/models/arena/stop_n_go/Grass only_Terrain ground tex.png b/assets/models/arena/stop_n_go/Grass only_Terrain ground tex.png new file mode 100644 index 0000000..c8f9430 Binary files /dev/null and b/assets/models/arena/stop_n_go/Grass only_Terrain ground tex.png differ diff --git a/assets/models/arena/stop_n_go/Grass only_Terrain ground tex.png.import b/assets/models/arena/stop_n_go/Grass only_Terrain ground tex.png.import new file mode 100644 index 0000000..a4ae3c4 --- /dev/null +++ b/assets/models/arena/stop_n_go/Grass only_Terrain ground tex.png.import @@ -0,0 +1,44 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dc6yu7a3q3wn6" +path.s3tc="res://.godot/imported/Grass only_Terrain ground tex.png-933ffd38863604b075d0bfd5951724d1.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={ +"md5": "a184576b3eca9e728a947f07525a1557" +} + +[deps] + +source_file="res://assets/models/arena/stop_n_go/Grass only_Terrain ground tex.png" +dest_files=["res://.godot/imported/Grass only_Terrain ground tex.png-933ffd38863604b075d0bfd5951724d1.s3tc.ctex"] + +[params] + +compress/mode=2 +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=true +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=0 diff --git a/scenes/arena/stop_n_go.scn b/scenes/arena/stop_n_go.scn index f207f39..6462970 100644 Binary files a/scenes/arena/stop_n_go.scn and b/scenes/arena/stop_n_go.scn differ diff --git a/scenes/main.gd b/scenes/main.gd index 77a8dfc..8ece44a 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -108,6 +108,19 @@ func _apply_arena_background(): "Stop N Go Arena": texture_path = "res://assets/graphics/level_bg/placeholder_stop_n_go.jpg" _instantiate_3d_arena("res://scenes/arena/stop_n_go.scn") + + # Make normal, non-walkable, and Tekton floors invisible + # by shrinking their scale to 0. This hides them visually while + # avoiding "Parameter 'mesh' is null" or material override errors. + var em = $EnhancedGridMap + if em and em.mesh_library: + var ml = em.mesh_library.duplicate() + for id in [0, 4, 6]: + # Scale to 0 to hide it without triggering invalid mesh errors + ml.set_item_mesh_transform(id, Transform3D().scaled(Vector3.ZERO)) + + em.mesh_library = ml + print("[Main] Hide tiles 0, 4, 6 via zero-scale transform.") "Tekton Doors Arena": texture_path = "res://assets/graphics/level_bg/placeholder_tekton_doors.jpg" "Classic", _: diff --git a/scenes/main.tscn b/scenes/main.tscn index 588741b..68db87c 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -76,11 +76,11 @@ script = ExtResource("1_xcpe3") mesh_library = ExtResource("1_110wo") cell_size = Vector3(1, 0.2, 1) data = { -"cells": PackedInt32Array(0, 12, 0, 0, 13, 0, 1, 12, 0, 1, 13, 0, 2, 12, 0, 2, 13, 0, 3, 12, 0, 3, 13, 0, 4, 12, 0, 4, 13, 0, 5, 12, 0, 5, 13, 0, 6, 12, 0, 6, 13, 0, 7, 12, 0, 7, 13, 0, 8, 12, 0, 8, 13, 0, 9, 12, 0, 9, 13, 0, 10, 12, 0, 10, 13, 0, 11, 12, 0, 11, 13, 0, 12, 13, 0, 13, 12, 0, 13, 13, 0, 65537, 12, 10, 65537, 13, 10, 65538, 12, 10, 65538, 13, 10, 65539, 12, 8, 65539, 13, 8, 65540, 12, 12, 65540, 13, 12, 65541, 12, 11, 65541, 13, 11, 65542, 12, 11, 65542, 13, 9, 65543, 12, 9, 65543, 13, 9, 65544, 5, 7, 65544, 12, 9, 65544, 13, 11, 65545, 5, 7, 65545, 6, 7, 65545, 12, 8, 65545, 13, 12, 65546, 5, 7, 65546, 6, 7, 65546, 12, 12, 65546, 13, 10, 65547, 5, 7, 65547, 6, 7, 65547, 12, 8, 65547, 13, 10, 65548, 5, 7, 65548, 6, 7, 65548, 12, 11, 65548, 13, 10, 65536, 12, 2031626, 65536, 13, 2031624, 65549, 3, 7, 65549, 4, 7, 65549, 5, 7, 65549, 12, 2031625, 65549, 13, 2031626, 65544, 3, 7, 65544, 4, 7, 65544, 6, 7, 65545, 3, 7, 65545, 4, 7, 65546, 3, 7, 65546, 4, 7, 65547, 3, 7, 65547, 4, 7, 65548, 3, 7, 65548, 4, 7, 65549, 6, 7, 65542, 1, 7, 65542, 2, 7, 65542, 3, 7, 65542, 4, 7, 65543, 1, 7, 65543, 2, 7, 65543, 3, 7, 65543, 4, 7, 65544, 1, 7, 65544, 2, 7, 65545, 1, 7, 65546, 1, 7, 65547, 1, 7, 65548, 1, 7, 65549, 1, 7, 65549, 2, 7, 65550, 1, 7, 65550, 2, 7, 65550, 3, 7, 65550, 4, 7, 65550, 5, 7, 65551, 1, 7, 65551, 2, 7, 65551, 3, 7, 65551, 4, 7, 65551, 5, 7, 65552, 1, 7, 65552, 2, 7, 65552, 3, 7, 65552, 4, 7, 65552, 5, 7, 65552, 6, 7, 65552, 7, 7, 65553, 1, 7, 65553, 2, 7, 65553, 3, 7, 65553, 4, 7, 65553, 5, 7, 65553, 6, 7, 65553, 7, 7, 65554, 1, 7, 65554, 2, 7, 65554, 3, 7, 65554, 4, 7, 65554, 5, 7, 65554, 6, 7, 65554, 7, 7, 65555, 3, 7, 65555, 4, 7, 65555, 5, 7, 65555, 6, 7, 65555, 7, 7, 65556, 3, 7, 65556, 4, 7, 65556, 5, 7, 65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, 0, 12, 10, 0, 13, 10, 0, 14, 10, 0, 15, 10, 0, 16, 10, 0, 17, 10, 0, 18, 10, 0, 19, 10, 0, 20, 10, 0, 21, 10, 0, 0, 11, 0, 1, 11, 0, 2, 11, 0, 3, 11, 0, 4, 11, 0, 5, 11, 0, 6, 11, 0, 7, 11, 0, 8, 11, 0, 9, 11, 0, 10, 11, 0, 11, 11, 0, 12, 11, 0, 13, 11, 0, 14, 11, 0, 15, 11, 0, 16, 11, 0, 17, 11, 0, 18, 11, 0, 19, 11, 0, 20, 11, 0, 21, 11, 0, 65537, 1, 7, 65537, 2, 7, 65537, 3, 7, 65537, 4, 7, 65537, 5, 7, 65537, 6, 7, 65537, 7, 7, 65537, 8, 7, 65537, 9, 7, 65537, 10, 7, 65538, 1, 7, 65538, 2, 7, 65538, 3, 7, 65538, 4, 7, 65538, 5, 7, 65538, 6, 7, 65538, 7, 7, 65538, 8, 7, 65538, 9, 7, 65538, 10, 7, 65539, 1, 7, 65539, 2, 7, 65539, 3, 7, 65539, 4, 7, 65539, 5, 7, 65539, 6, 7, 65539, 7, 7, 65539, 8, 7, 65539, 9, 7, 65539, 10, 7, 65540, 1, 7, 65540, 2, 7, 65540, 3, 7, 65540, 4, 7, 65540, 5, 7, 65540, 6, 7, 65540, 7, 7, 65540, 8, 7, 65540, 9, 7, 65540, 10, 7, 65541, 1, 7, 65541, 2, 7, 65541, 3, 7, 65541, 4, 7, 65541, 5, 7, 65541, 6, 7, 65541, 7, 7, 65541, 8, 7, 65541, 9, 7, 65541, 10, 7, 65542, 5, 7, 65542, 6, 7, 65542, 7, 7, 65542, 8, 7, 65542, 9, 7, 65542, 10, 7, 65543, 5, 7, 65543, 6, 7, 65543, 7, 7, 65543, 8, 7, 65543, 9, 7, 65543, 10, 7, 65544, 7, 7, 65544, 8, 7, 65544, 9, 7, 65544, 10, 7, 65545, 2, 7, 65545, 7, 7, 65545, 8, 7, 65545, 9, 7, 65545, 10, 7, 65546, 2, 7, 65546, 7, 7, 65546, 8, 7, 65546, 9, 7, 65546, 10, 7, 65547, 2, 7, 65547, 7, 7, 65547, 8, 7, 65547, 9, 7, 65547, 10, 7, 65548, 2, 7, 65548, 7, 7, 65548, 8, 7, 65548, 9, 7, 65548, 10, 7, 65549, 7, 7, 65549, 8, 7, 65549, 9, 7, 65549, 10, 7, 65550, 6, 7, 65550, 7, 7, 65550, 8, 7, 65550, 9, 7, 65550, 10, 7, 65551, 6, 7, 65551, 7, 7, 65551, 8, 7, 65551, 9, 7, 65551, 10, 7, 65552, 8, 7, 65552, 9, 7, 65552, 10, 7, 65553, 8, 7, 65553, 9, 7, 65553, 10, 7, 65554, 8, 7, 65554, 9, 7, 65554, 10, 7, 65555, 1, 7, 65555, 2, 7, 65555, 8, 7, 65555, 9, 7, 65555, 10, 7, 65556, 1, 7, 65556, 2, 7, 65556, 8, 7, 65556, 9, 7, 65556, 10, 7, 22, 0, 0, 22, 1, 0, 22, 2, 0, 8, 3, 0, 22, 3, 0, 8, 4, 0, 22, 4, 0, 22, 5, 0, 22, 6, 0, 22, 7, 0, 22, 8, 0, 22, 9, 0, 22, 10, 0, 22, 11, 0, 65557, 1, 7, 65557, 2, 7, 65557, 3, 7, 65557, 4, 7, 65557, 5, 7, 65557, 6, 7, 65557, 7, 7, 65557, 8, 7, 65557, 9, 7, 65557, 10, 7) +"cells": PackedInt32Array(0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 7, 0, 0, 8, 0, 0, 9, 0, 0, 10, 0, 0, 11, 0, 0, 12, 0, 0, 13, 0, 0, 0, 1, 0, 1, 1, 0, 2, 1, 0, 3, 1, 0, 4, 1, 0, 5, 1, 0, 6, 1, 0, 7, 1, 0, 8, 1, 0, 9, 1, 0, 10, 1, 0, 11, 1, 0, 12, 1, 0, 13, 1, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 3, 2, 0, 4, 2, 0, 5, 2, 0, 6, 2, 0, 7, 2, 0, 8,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10, 10, 0, 11, 10, 0, 12, 10, 0, 13, 10, 0, 65537, 1, 7, 65537, 2, 7, 65537, 3, 7, 65537, 4, 7, 65537, 5, 7, 65537, 6, 7, 65537, 7, 7, 65537, 8, 7, 65537, 9, 7, 65537, 10, 7, 65537, 11, 7, 65538, 1, 7, 65538, 2, 7, 65538, 3, 7, 65538, 4, 7, 65538, 5, 7, 65538, 6, 7, 65538, 7, 7, 65538, 8, 7, 65538, 9, 7, 65538, 10, 7, 65538, 11, 7, 65539, 1, 7, 65539, 2, 7, 65539, 3, 7, 65539, 4, 7, 65539, 5, 7, 65539, 6, 7, 65539, 7, 7, 65539, 8, 7, 65539, 9, 7, 65539, 10, 7, 65539, 11, 7, 65540, 1, 7, 65540, 2, 7, 65540, 3, 7, 65540, 4, 7, 65540, 5, 7, 65540, 6, 7, 65540, 7, 7, 65540, 8, 7, 65540, 9, 7, 65540, 10, 7, 65540, 11, 7, 65541, 1, 7, 65541, 2, 7, 65541, 3, 7, 65541, 4, 7, 65541, 5, 7, 65541, 6, 7, 65541, 7, 7, 65541, 8, 7, 65541, 9, 7, 65541, 10, 7, 65541, 11, 7, 65542, 1, 7, 65542, 2, 7, 65542, 3, 7, 65542, 4, 7, 65542, 5, 7, 65542, 6, 7, 65542, 7, 7, 65542, 8, 7, 65542, 9, 7, 65542, 10, 7, 65542, 11, 7, 65543, 1, 7, 65543, 2, 7, 65543, 3, 7, 65543, 4, 7, 65543, 5, 7, 65543, 6, 7, 65543, 7, 7, 65543, 8, 7, 65543, 9, 7, 65543, 10, 7, 65543, 11, 7, 65544, 1, 7, 65544, 2, 7, 65544, 3, 7, 65544, 4, 7, 65544, 5, 7, 65544, 6, 7, 65544, 7, 7, 65544, 8, 7, 65544, 9, 7, 65544, 10, 7, 65544, 11, 7, 65545, 1, 7, 65545, 2, 7, 65545, 3, 7, 65545, 4, 7, 65545, 5, 7, 65545, 6, 7, 65545, 7, 7, 65545, 8, 7, 65545, 9, 7, 65545, 10, 7, 65545, 11, 7, 65545, 12, 7, 65546, 1, 7, 65546, 2, 7, 65546, 3, 7, 65546, 4, 7, 65546, 5, 7, 65546, 6, 7, 65546, 7, 7, 65546, 8, 7, 65546, 9, 7, 65546, 10, 7, 65546, 11, 7, 65546, 12, 7, 65547, 1, 7, 65547, 2, 7, 65547, 3, 7, 65547, 4, 7, 65547, 5, 7, 65547, 6, 7, 65547, 7, 7, 65547, 8, 7, 65547, 9, 7, 65547, 10, 7, 65547, 11, 7, 65547, 12, 7, 65548, 1, 7, 65548, 2, 7, 65548, 3, 7, 65548, 4, 7, 65548, 5, 7, 65548, 6, 7, 65548, 7, 7, 65548, 8, 7, 65548, 9, 7, 65548, 10, 7, 65548, 11, 7, 65548, 12, 7, 65537, 12, 10, 65538, 12, 10, 65539, 12, 10, 65540, 12, 10, 65541, 12, 10, 65542, 12, 10, 65543, 12, 10, 65544, 12, 10, 0, 11, 524288, 0, 12, 524288, 0, 13, 524288, 1, 11, 524288, 1, 12, 524288, 1, 13, 524288, 2, 11, 524288, 2, 12, 524288, 2, 13, 524288, 3, 11, 524288, 3, 12, 524288, 3, 13, 524288, 4, 11, 524288, 4, 12, 524288, 4, 13, 524288, 5, 11, 524288, 5, 12, 524288, 5, 13, 524288, 6, 11, 524288, 6, 12, 524288, 6, 13, 524288, 7, 11, 524288, 7, 12, 524288, 7, 13, 524288, 8, 11, 524288, 8, 12, 524288, 8, 13, 524288, 9, 11, 524288, 9, 12, 524288, 9, 13, 524288, 10, 11, 524288, 10, 12, 524288, 10, 13, 524288, 11, 11, 524288, 11, 12, 524288, 11, 13, 524288, 12, 11, 524288, 12, 12, 524288, 12, 13, 524288, 13, 11, 524288, 13, 12, 524288, 13, 13, 524288) } script = ExtResource("2_hbe1v") -columns = 23 -rows = 12 +columns = 14 +rows = 14 floors = 2 auto_randomize = true start_item = 2 diff --git a/scripts/managers/player_movement_manager.gd b/scripts/managers/player_movement_manager.gd index fee8c12..094908e 100644 --- a/scripts/managers/player_movement_manager.gd +++ b/scripts/managers/player_movement_manager.gd @@ -90,6 +90,20 @@ func simple_move_to(grid_position: Vector2i) -> bool: # Allow passing through Walls (Item 4 or 16) if Invisible var is_wall_passable = player.get("is_invisible") and (cell_floor == 4 or cell_item == 16 or cell_item == 4) + # NEW: Impenetrable wall check (User request) - Certain coordinates are "Hard" walls even for Ghost + # These generally correspond to the arena borders and environmental static obstacles. + if is_wall_passable: + var impenetrable_coords = [ + Vector2i(0,0), Vector2i(1,0), Vector2i(2,0), Vector2i(3,0), Vector2i(4,0), Vector2i(5,0), Vector2i(6,0), Vector2i(7,0), Vector2i(8,0), Vector2i(9,0), Vector2i(10,0), Vector2i(13,0), Vector2i(19,0), Vector2i(20,0), Vector2i(21,0), Vector2i(22,0), + Vector2i(0,1), Vector2i(1,1), Vector2i(2,1), Vector2i(3,1), Vector2i(6,1), + Vector2i(0,2), Vector2i(1,2), Vector2i(2,2), Vector2i(3,2), + Vector2i(17,9), Vector2i(18,9), Vector2i(19,9), Vector2i(20,9), Vector2i(21,9), Vector2i(22,9), + Vector2i(11,10), Vector2i(12,10), Vector2i(13,10), Vector2i(15,10), Vector2i(16,10), Vector2i(17,10), Vector2i(18,10), Vector2i(19,10), Vector2i(20,10), Vector2i(21,10), Vector2i(22,10), + Vector2i(0,11), Vector2i(4,11), Vector2i(5,11), Vector2i(6,11), Vector2i(10,11), Vector2i(12,11), Vector2i(13,11), Vector2i(14,11), Vector2i(15,11), Vector2i(16,11), Vector2i(17,11), Vector2i(18,11), Vector2i(19,11), Vector2i(20,11), Vector2i(21,11), Vector2i(22,11) + ] + if grid_position in impenetrable_coords: + is_wall_passable = false + # Check Floor 0 (Basic Walkability/Void) if (cell_floor == -1 or cell_floor in enhanced_gridmap.non_walkable_items) and not is_wall_passable: print("[Move] Failed: Floor Item %d is non-walkable" % cell_floor)